avl-tree
test nametime taken (ms)executions per secsample deviation
10,000 add randomly30.3332.973.56e-4
10,000 add & delete randomly66.1015.130.00
10,000 addMany39.4425.353.62e-4
10,000 get27.0636.962.52e-4
binary-tree
test nametime taken (ms)executions per secsample deviation
1,000 add randomly12.9077.521.09e-4
1,000 add & delete randomly16.1361.991.61e-4
1,000 addMany10.7493.091.00e-4
1,000 get18.0955.281.90e-4
1,000 dfs71.1214.067.83e-4
1,000 bfs57.2417.474.17e-4
1,000 morris37.2926.813.77e-4
bst
test nametime taken (ms)executions per secsample deviation
10,000 add randomly31.5831.670.00
10,000 add & delete randomly71.0914.078.99e-4
10,000 addMany29.6833.690.00
10,000 get28.5535.030.00
rb-tree
test nametime taken (ms)executions per secsample deviation
100,000 add randomly84.6411.820.01
100,000 add & 1000 delete randomly81.3212.300.01
100,000 getNode61.1816.350.00
directed-graph
test nametime taken (ms)executions per secsample deviation
1,000 addVertex0.109637.473.79e-6
1,000 addEdge6.09164.181.31e-4
1,000 getVertex0.052.14e+41.35e-6
1,000 getEdge23.9141.820.01
tarjan218.654.570.01
tarjan all221.674.510.00
topologicalSort184.345.420.02
heap
test nametime taken (ms)executions per secsample deviation
10,000 add & pop4.63215.774.49e-5
10,000 fib add & pop355.192.820.00
doubly-linked-list
test nametime taken (ms)executions per secsample deviation
1,000,000 unshift213.534.680.02
1,000,000 unshift & shift162.976.140.02
1,000,000 insertBefore335.192.980.09
singly-linked-list
test nametime taken (ms)executions per secsample deviation
10,000 push & pop231.354.320.02
10,000 insertBefore251.493.980.01
max-priority-queue
test nametime taken (ms)executions per secsample deviation
10,000 refill & poll11.4887.141.91e-4
deque
test nametime taken (ms)executions per secsample deviation
1,000,000 push215.144.650.05
1,000,000 shift25.1539.760.00
queue
test nametime taken (ms)executions per secsample deviation
1,000,000 push44.1522.650.01
1,000,000 push & shift80.8712.370.00
trie
test nametime taken (ms)executions per secsample deviation
100,000 push61.3816.290.01
100,000 getWords104.279.590.02