forked from fbmarc/facebook-memcached-old
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: cost: slot-seconds benefit: hits additional tweaks: 1) merged calls for size-buckets and cost-benefit stat collection 2) removed \r\n from consideration in stat bytecounting 3) removed the number of STAT_LOCK() and STAT_UNLOCK() calls by merging stat gathering blocks of code together 4) "lifetime" -> "avrg lifetime" for size buckets 5) reduced references to current_time, which is volatile Reviewed By: marc Test Plan: libmcc/test/test.py -a passes test/prefix_stats.py passes test/cost_benefit_stats.py passes Revert: OK
- Loading branch information
ttung
committed
May 7, 2008
1 parent
65fefa7
commit b6c7202
Showing
6 changed files
with
321 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.