PHP CLI application for PHP libraries benchmark tests with use PHPBench.
Check simple website with benchmark results: https://bench.smartint.pl
List of benchmarks
The basic benchmark of cache libraries with division into several groups.
- Each benchmark is preceded by injection of 100 elements of cache storage.
- Each value saved and read from the cache is an example Book object.
- Each task in the benchmark is performed by multiple iteration with multiple revs.
- PHP Cache [write, write with tags, read, invalidate tags]
- PhpFastCache [write, write with tags, read, invalidate tags]
- Scrapbook [write, read]
- Stash [write, read]
- Symfony Cache Component [write, write with tags, read, invalidate tags]
- Filesystem [PHP Cache, PhpFastCache, Scrapbook, Stash, Symfony Cache Component]
- Memcached [PHP Cache, PhpFastCache, Scrapbook, Stash, Symfony Cache Component]
- Redis (PhpRedis) [PHP Cache, PhpFastCache, Scrapbook, Stash, Symfony Cache Component]
- Redis (Predis) [PHP Cache, PhpFastCache, Symfony Cache Component]
Each of the tested libraries has a lot of own functionalities that have not been tested but may be crucial for choose them to your project.
The basic benchmark of serializer libraries with division into several groups.
- Each value serialized and deserialized is an example Book object.
- Each task in the benchmark is performed by multiple iteration with multiple revs.
- Better Serializer [serialize, deserialize]
- JMS Serializer [serialize, deserialize]
- Serializard [serialize, deserialize]
- Symfony Serializer [serialize, deserialize]
- JSON [Better Serializer, JMS Serializer, Serializard, Symfony Serializer]
- XML [JMS Serializer, Serializard, Symfony Serializer]
Each of the tested libraries has a lot of own functionalities that have not been tested but may be crucial for choose them to your project.