Skip to content

Commit

Permalink
⚡️ Use more revolutions in the benchmarks
Browse files Browse the repository at this point in the history
This makes the end results a bit more stable.

/cc @staabm

Closes #47
  • Loading branch information
turanct committed May 22, 2021
1 parent 8e21d10 commit 9ba2eaa
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions benchmarks/JSONBench.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,17 @@ function __construct()
}

/**
* @Revs(5)
* @Iterations(3)
* @Revs(10)
* @Iterations(10)
*/
public function bench_json_encode()
{
json_decode($this->data);
}

/**
* @Revs(5)
* @Iterations(3)
* @Revs(10)
* @Iterations(10)
*/
public function bench_Parsica_JSON()
{
Expand All @@ -74,8 +74,8 @@ public function bench_Parsica_JSON()


/**
* @Revs(5)
* @Iterations(3)
* @Revs(10)
* @Iterations(10)
*/
public function bench_basemax_jpophp()
{
Expand Down

0 comments on commit 9ba2eaa

Please sign in to comment.