Skip to content

Instantly share code, notes, and snippets.

@samm-git
Last active September 9, 2015 18:02
Show Gist options
  • Save samm-git/cd9ba45ec1edc9c137b4 to your computer and use it in GitHub Desktop.
Save samm-git/cd9ba45ec1edc9c137b4 to your computer and use it in GitHub Desktop.
DB:
Generating cache data...
Total Keys: 10000
Smallest Key Data: 1
Largest Key Data: 1024
Average Key Data: 513.3336
Total Key Data: 5133336
Total Tags: 2000
Least Tags/key: 0
Most Tags/key: 15
Average Tags/key: 7.3806
Total Tags/key: 73806
Generating operations...
Completed generation of test data for test 'default'.
Run your test like so:
Redis test:
Cache Backend: Cm_Cache_Backend_Redis
Loading default test data...
Loaded 10000 cache records in 11.85 seconds (11.6811 seconds cache time). Data size is 4989.1K
Benchmarking 4 concurrent clients, each with 50000 operations...
4 concurrent clients completed in 24 seconds
| reads| writes| cleans
------------------------------------
Client 0| 2209.75| 342.47| 441.86
Client 3| 2206.01| 331.48| 450.88
Client 2| 2195.37| 338.60| 451.96
Client 1| 2192.30| 319.76| 455.99
------------------------------------
ops/sec | 8803.43| 1332.31| 1800.69
Couch test:
Cache Backend: couchbase (Varien_Cache_Backend_Couchbase)
Loading default test data...
Loaded 10000 cache records in 46.82 seconds (46.6483 seconds cache time). Data size is 5013.0K
Benchmarking 4 concurrent clients, each with 50000 operations...
4 concurrent clients completed in 26 seconds
| reads| writes| cleans
------------------------------------
Client 1| 2430.62| 115.38| 21.17
Client 2| 2430.37| 111.69| 24.06
Client 3| 2411.11| 150.59| 18.15
Client 0| 2431.28| 118.56| 14.33
------------------------------------
ops/sec | 9703.38| 496.22| 77.71
Filesystem cache test
Cache Backend: (Zend_Cache_Backend_File)
Loading default test data...
Loaded 10000 cache records in 3.54 seconds (3.3660 seconds cache time). Data size is 4992.9K
Benchmarking 4 concurrent clients, each with 50000 operations...
4 concurrent clients completed in 44 seconds
| reads| writes| cleans
------------------------------------
Client 3| 8196.75| 2328.99| 1.25
Client 1| 8732.93| 2281.13| 1.36
Client 0| 8710.90| 2357.89| 1.39
Client 2| 8967.24| 2236.69| 1.40
------------------------------------
ops/sec |34607.82| 9204.70| 5.40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment