avl-tree
test nametime taken (ms)executions per secsample deviation
10,000 add randomly30.2933.013.64e-4
10,000 add & delete randomly68.1014.680.00
10,000 addMany39.5425.294.07e-4
10,000 get26.7237.423.77e-4
binary-tree
test nametime taken (ms)executions per secsample deviation
1,000 add randomly12.8877.631.02e-4
1,000 add & delete randomly15.9062.881.08e-4
1,000 addMany10.5994.418.39e-5
1,000 get18.0155.531.95e-4
1,000 dfs69.1114.476.47e-4
1,000 bfs54.4218.384.20e-4
1,000 morris37.1426.922.27e-4
bst
test nametime taken (ms)executions per secsample deviation
10,000 add randomly28.4835.112.29e-4
10,000 add & delete randomly64.8215.430.01
10,000 addMany28.7434.809.06e-4
10,000 get27.3836.521.82e-4
rb-tree
test nametime taken (ms)executions per secsample deviation
100,000 add randomly72.3013.830.00
100,000 add & 1000 delete randomly81.3712.290.01
100,000 getNode59.4816.819.29e-4
directed-graph
test nametime taken (ms)executions per secsample deviation
1,000 addVertex0.109786.775.56e-7
1,000 addEdge6.02166.041.27e-4
1,000 getVertex0.052.18e+43.02e-7
1,000 getEdge23.4142.710.00
tarjan223.514.470.01
tarjan all224.894.450.00
topologicalSort181.905.500.00
heap
test nametime taken (ms)executions per secsample deviation
10,000 add & pop4.62216.333.06e-5
10,000 fib add & pop351.412.850.00
doubly-linked-list
test nametime taken (ms)executions per secsample deviation
1,000,000 unshift214.844.650.04
1,000,000 unshift & shift167.115.980.04
1,000,000 insertBefore335.782.980.07
singly-linked-list
test nametime taken (ms)executions per secsample deviation
10,000 push & pop212.534.710.01
10,000 insertBefore243.944.100.00
max-priority-queue
test nametime taken (ms)executions per secsample deviation
10,000 refill & poll11.4387.501.84e-4
deque
test nametime taken (ms)executions per secsample deviation
1,000,000 push216.074.630.05
1,000,000 shift24.9740.050.00
queue
test nametime taken (ms)executions per secsample deviation
1,000,000 push42.5723.490.01
1,000,000 push & shift79.9412.519.99e-4
trie
test nametime taken (ms)executions per secsample deviation
100,000 push54.0218.510.00
100,000 getWords82.8312.070.00