danielealbano / cachegrand

cachegrand - a modern data ingestion, processing and serving platform built for today's hardware
BSD 3-Clause "New" or "Revised" License
975 stars 34 forks source link

Improve benchmarks #160

Closed danielealbano closed 2 years ago

danielealbano commented 2 years ago

This PR includes a new benchmark for the storage_op_get operation, cleanup the storage_op_set and hashtable_op_set benchmarks to properly use the setup & teardown mechanisms provided by google benchmark and a few more minor fixes.

It also update some support code used by the tests to properly generate the keys now that the hashtable owns the key.

codecov[bot] commented 2 years ago

Codecov Report

Merging #160 (eec8dc9) into main (7b32041) will increase coverage by 0.04%. The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #160      +/-   ##
==========================================
+ Coverage   77.48%   77.53%   +0.04%     
==========================================
  Files          93       93              
  Lines        6117     6117              
==========================================
+ Hits         4740     4743       +3     
+ Misses       1377     1374       -3     
Impacted Files Coverage Δ
src/hugepage_cache.c 100.00% <0.00%> (+6.25%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7b32041...eec8dc9. Read the comment docs.