Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvanassche committed Jan 19, 2024
1 parent 3e53091 commit 253d8ca
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions benchmarks/DataBench.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public function setupObjectCreation()
Revs(500),
Iterations(5),
BeforeMethods(['setupCache', 'setupCollectionTransformation']),
Assert('mode(variant.time.avg) < 580 microseconds +/- 5%')
Assert('mode(variant.time.avg) < 590 microseconds +/- 5%')
]
public function benchCollectionTransformation()
{
Expand All @@ -194,7 +194,7 @@ public function benchCollectionTransformation()
Revs(5000),
Iterations(5),
BeforeMethods(['setupCache', 'setupObjectTransformation']),
Assert('mode(variant.time.avg) < 38 microseconds +/- 5%')
Assert('mode(variant.time.avg) < 39 microseconds +/- 5%')
]
public function benchObjectTransformation()
{
Expand All @@ -205,7 +205,7 @@ public function benchObjectTransformation()
Revs(500),
Iterations(5),
BeforeMethods(['setupCache', 'setupCollectionCreation']),
Assert('mode(variant.time.avg) < 1.86 milliseconds +/- 5%')
Assert('mode(variant.time.avg) < 1.335 milliseconds +/- 5%')
]
public function benchCollectionCreation()
{
Expand All @@ -216,7 +216,7 @@ public function benchCollectionCreation()
Revs(5000),
Iterations(5),
BeforeMethods(['setupCache', 'setupObjectCreation']),
Assert('mode(variant.time.avg) < 129 microseconds +/- 5%')
Assert('mode(variant.time.avg) < 90 microseconds +/- 5%')
]
public function benchObjectCreation()
{
Expand All @@ -227,7 +227,7 @@ public function benchObjectCreation()
Revs(500),
Iterations(5),
BeforeMethods(['setupCollectionTransformation']),
Assert('mode(variant.time.avg) < 774 microseconds +/- 10%')
Assert('mode(variant.time.avg) < 791 microseconds +/- 10%')
]
public function benchCollectionTransformationWithoutCache()
{
Expand All @@ -240,7 +240,7 @@ public function benchCollectionTransformationWithoutCache()
Revs(5000),
Iterations(5),
BeforeMethods(['setupObjectTransformation']),
Assert('mode(variant.time.avg) < 217 microseconds +/- 10%')
Assert('mode(variant.time.avg) < 226 microseconds +/- 10%')
]
public function benchObjectTransformationWithoutCache()
{
Expand All @@ -253,7 +253,7 @@ public function benchObjectTransformationWithoutCache()
Revs(500),
Iterations(5),
BeforeMethods(['setupCollectionCreation']),
Assert('mode(variant.time.avg) < 2.15 milliseconds +/- 10%')
Assert('mode(variant.time.avg) < 1.62 milliseconds +/- 10%')
]
public function benchCollectionCreationWithoutCache()
{
Expand All @@ -266,7 +266,7 @@ public function benchCollectionCreationWithoutCache()
Revs(5000),
Iterations(5),
BeforeMethods(['setupObjectCreation']),
Assert('mode(variant.time.avg) < 367 microseconds +/- 10%')
Assert('mode(variant.time.avg) < 347 microseconds +/- 10%')
]
public function benchObjectCreationWithoutCache()
{
Expand Down

0 comments on commit 253d8ca

Please sign in to comment.