Skip to content

Commit

Permalink
Merge pull request #19 from boesing/bugfix/missing-template-type
Browse files Browse the repository at this point in the history
Add missing template type to benchmars
  • Loading branch information
boesing authored Jun 21, 2024
2 parents 602130d + 3be7980 commit a932162
Show file tree
Hide file tree
Showing 5 changed files with 111 additions and 100 deletions.
11 changes: 6 additions & 5 deletions benchmark/MemoryStorageAdapterBench.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@

use Laminas\Cache\Storage\Adapter\Benchmark\AbstractStorageAdapterBenchmark;
use Laminas\Cache\Storage\Adapter\Memory;
use PhpBench\Attributes\Iterations;
use PhpBench\Attributes\Revs;
use PhpBench\Attributes\Warmup;

/**
* @Revs(100)
* @Iterations(10)
* @Warmup(1)
*/
#[Revs(100)]
#[Iterations(10)]
#[Warmup(1)]
class MemoryStorageAdapterBench extends AbstractStorageAdapterBenchmark
{
public function __construct()
Expand Down
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@
"license": "BSD-3-Clause",
"require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"laminas/laminas-cache": "^4.0",
"laminas/laminas-cache": "^4.0.1",
"laminas/laminas-serializer": "^3.0",
"phpbench/phpbench": "^1.2.15"
},
"require-dev": {
"laminas/laminas-cache": "4.0.x-dev || ^4.0",
"laminas/laminas-coding-standard": "~2.5.0",
"vimeo/psalm": "^5.24.0"
},
Expand Down
Loading

0 comments on commit a932162

Please sign in to comment.