Add a small cache to SST file

so that a HEAD which folllows a HEAD (e.g. when a GET follows a HEAD) has a chance of avoiding the binary_to_term CPU load
This commit is contained in:
Martin Sumner 2017-11-28 14:56:40 +00:00
parent 7c4e1a5ad9
commit eb90541a85
2 changed files with 52 additions and 15 deletions

View file

@ -226,10 +226,11 @@
{"SST12",
{info, "SST Timings for sample_count=~w"
++ " at timing points index_query_time=~w"
++ " lookup_cache_time=~w slot_index_time=~w slot_fetch_time=~w"
++ " lookup_cache_time=~w slot_index_time=~w "
++ " fetch_cache_time=~w slot_fetch_time=~w"
++ " noncached_block_fetch_time=~w"
++ " exiting at points slot_index=~w"
++ " slot_fetch=~w noncached_block_fetch=~w"}},
++ " fetch_cache=~w slot_fetch=~w noncached_block_fetch=~w"}},
{"I0001",