Code Monkey home page Code Monkey logo

smart-bench-cli's Introduction

SmartBench CLI tool

Build Status codecov

PHP CLI application for PHP libraries benchmark tests with use PHPBench.

Check simple website with benchmark results: https://bench.smartint.pl

List of benchmarks

Cache libraries

The basic benchmark of cache libraries with division into several groups.

Assumptions

  1. Each benchmark is preceded by injection of 100 elements of cache storage.
  2. Each value saved and read from the cache is an example Book object.
  3. Each task in the benchmark is performed by multiple iteration with multiple revs.

Tested libraries

  1. PHP Cache [write, write with tags, read, invalidate tags]
  2. PhpFastCache [write, write with tags, read, invalidate tags]
  3. Scrapbook [write, read]
  4. Stash [write, read]
  5. Symfony Cache Component [write, write with tags, read, invalidate tags]

Used adapters

  1. Filesystem [PHP Cache, PhpFastCache, Scrapbook, Stash, Symfony Cache Component]
  2. Memcached [PHP Cache, PhpFastCache, Scrapbook, Stash, Symfony Cache Component]
  3. Redis (PhpRedis) [PHP Cache, PhpFastCache, Scrapbook, Stash, Symfony Cache Component]
  4. Redis (Predis) [PHP Cache, PhpFastCache, Symfony Cache Component]

Attention

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.

Serializer libraries

The basic benchmark of serializer libraries with division into several groups.

Assumptions

  1. Each value serialized and deserialized is an example Book object.
  2. Each task in the benchmark is performed by multiple iteration with multiple revs.

Tested libraries

  1. Better Serializer [serialize, deserialize]
  2. JMS Serializer [serialize, deserialize]
  3. Serializard [serialize, deserialize]
  4. Symfony Serializer [serialize, deserialize]

Used serializer formats

  1. JSON [Better Serializer, JMS Serializer, Serializard, Symfony Serializer]
  2. XML [JMS Serializer, Serializard, Symfony Serializer]

Attention

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.

smart-bench-cli's People

Contributors

pawel-brzezinski avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.