Skip to content

Latest commit

History

26 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

logo [] kbench

kbench is a test suite to benchmark several hash table implementations.

Heavily based on [Heng Li's kudb] (https://github.com/rcarbone/kudb), originally written by Heng Li in 2009 and updated by Rocco Carbone in 2016.

kbench aims to extend kudb in both the number of test cases and hash table implementations under test.

Results for the impatients

Data sorted by CPU time (char * keys, unsigned values)

Linux nuc 3.2.0-4-amd64 #1 SMP Debian 3.2.81-1 x86_64 GNU/Linux

Tue Oct 25 13:25:20 CEST 2016

RankImplementationCPU (secs)Memory (Mb)#Notes
1rigtorp-hashmap0.760347.100625792
2rdestl0.850290.004625792
3ulib1.010240.724625792
4libevent1.110504.988625792
5khash1.140240.716625792
6ccan1.210227.240625792
7hashit-overflow1.290415.924636452Bug here!
8hashit-open1.300346.448625792
9mct-closed1.380339.140625792
10amtl1.410332.428625792
11sys-apr1.410256.584625792**
12sys-glib1.440228.968625792**
13oddou-hashmap1.460299.112625792
14google-dense1.470380.128625792**
15gcc-libiberty1.500240.180625792
16uthash1.540618.028625792
17tommyds-fixed1.570944.988625792
18python1.610264.492625792
19Qt-hash1.700255.456625792**
20cfu1.710272.376625792
21ghthash1.720362.476625792
22tommyds-dynamic1.760903.452625792
23generic-c-hashmap1.770502.416698396Bug here!
24hashit-chain1.830300.464625792
25CDS1.870252.236625792
26tommyds-linear1.900889.244625792
27eastl1.910263.584625792
28c-hashtable1.940257.360625792
29sys-tcl1.960256.976625792**
30apr1.970253.012625792
31c-algoritms2.000266.996625792
32sys-boost2.080263.516625792**
33sys-python2.160834.312625792**
34redis2.280253.212625792
35htable2.380541.268625792
36gcc-unordered_map2.550263.592625792**
37ruby-st2.950255.504625792
38sys-judy3.040259.372625792**
39mct-linked3.110363.708625792
40sglib3.220450.572625792
41sys-perl3.300301.240625792**
42stb3.390282.116625792
43st3.530245.784625792
44google-sparse4.430251.376625792**
45sys-LuaHashMap6.110354.948625792**
46google-c-sparse6.140244.408625792
47google-c-dense6.480244.408625792
48gcc-map7.730264.996625792**
49Qt-map8.560266.776625792**
50lua-table102.350264.744625792

** Pre-installation of Debian System Libraries is required

About

kbench is a test suite to benchmark several hash table implementations heavily based on Heng Li's udb

Resources

Stars

12 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages