avl-tree
test nametime taken (ms)executions per secsample deviation
10,000 add randomly30.1833.132.75e-4
10,000 add & delete randomly65.6515.230.00
10,000 addMany39.5625.283.25e-4
10,000 get26.5737.631.92e-4
binary-tree
test nametime taken (ms)executions per secsample deviation
1,000 add randomly13.0076.933.84e-4
1,000 add & delete randomly16.1162.063.76e-4
1,000 addMany10.6394.041.30e-4
1,000 get18.2454.845.04e-4
1,000 dfs69.7714.334.07e-4
1,000 bfs54.4918.354.96e-4
1,000 morris37.1026.962.35e-4
bst
test nametime taken (ms)executions per secsample deviation
10,000 add randomly31.8831.373.10e-4
10,000 add & delete randomly73.0813.680.01
10,000 addMany28.8034.730.00
10,000 get27.5936.252.19e-4
rb-tree
test nametime taken (ms)executions per secsample deviation
100,000 add randomly70.9714.090.00
100,000 add & 1000 delete randomly82.0312.190.01
100,000 getNode59.7516.740.00
directed-graph
test nametime taken (ms)executions per secsample deviation
1,000 addVertex0.109894.621.57e-6
1,000 addEdge6.17162.150.00
1,000 getVertex0.052.17e+44.06e-7
1,000 getEdge23.5042.560.00
tarjan223.184.480.01
tarjan all226.104.420.01
topologicalSort186.205.370.02
heap
test nametime taken (ms)executions per secsample deviation
10,000 add & pop4.64215.304.51e-5
10,000 fib add & pop351.832.840.00
doubly-linked-list
test nametime taken (ms)executions per secsample deviation
1,000,000 unshift216.194.630.04
1,000,000 unshift & shift164.846.070.02
1,000,000 insertBefore325.143.080.07
singly-linked-list
test nametime taken (ms)executions per secsample deviation
10,000 push & pop213.244.690.01
10,000 insertBefore247.694.040.01
max-priority-queue
test nametime taken (ms)executions per secsample deviation
10,000 refill & poll11.5086.971.99e-4
deque
test nametime taken (ms)executions per secsample deviation
1,000,000 push223.304.480.08
1,000,000 shift24.8640.230.00
queue
test nametime taken (ms)executions per secsample deviation
1,000,000 push42.2623.660.01
1,000,000 push & shift79.2212.620.00
trie
test nametime taken (ms)executions per secsample deviation
100,000 push52.9218.900.00
100,000 getWords83.3711.990.00