drush dis -y entitycache
ab -c5 -n1000

Concurrency Level:      5
Time taken for tests:   34.084 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      78838000 bytes
HTML transferred:       78438000 bytes
Requests per second:    29.34 [#/sec] (mean)
Time per request:       170.418 [ms] (mean)
Time per request:       34.084 [ms] (mean, across all concurrent requests)
Transfer rate:          2258.86 [Kbytes/sec] received

drush en -y entitycache
ab -c5 -n1000

Concurrency Level:      5
Time taken for tests:   33.664 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      78798000 bytes
HTML transferred:       78398000 bytes
Requests per second:    29.71 [#/sec] (mean)
Time per request:       168.318 [ms] (mean)
Time per request:       33.664 [ms] (mean, across all concurrent requests)
Transfer rate:          2285.89 [Kbytes/sec] received

This module fills cache_entity_node and other tables with a data
but how can I test speed-up-down with it?

Comments

andypost’s picture

It seems you have page cache enabled, so no nodes are loaded

andb’s picture

A post about testing speed of this module can be found at http://www.lullabot.com/articles/module-monday-entity-cache.

catch’s picture

Status: Active » Fixed

Marking fixed. I would recommend profiling with xhprof over benchmarks with ab since you can both see the actual effect of changes, and the results are more reliable. See http://drupal.org/project/xhprof

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.