avl-tree
test nametime taken (ms)executions per secsample deviation
10,000 add randomly34.1029.320.00
10,000 add & delete randomly74.4413.430.00
10,000 addMany44.6522.390.00
10,000 get30.7632.510.00
binary-tree
test nametime taken (ms)executions per secsample deviation
1,000 add randomly13.2375.582.94e-4
1,000 add & delete randomly16.2961.387.50e-4
1,000 addMany10.5894.511.17e-4
1,000 get18.0955.283.74e-4
1,000 dfs71.9713.890.00
1,000 bfs57.4917.395.01e-4
1,000 morris37.3526.782.94e-4
bst
test nametime taken (ms)executions per secsample deviation
10,000 add randomly33.5429.813.61e-4
10,000 add & delete randomly75.0513.330.00
10,000 addMany31.5031.744.90e-4
10,000 get34.9228.640.01
rb-tree
test nametime taken (ms)executions per secsample deviation
100,000 add randomly80.6112.410.01
100,000 add & 1000 delete randomly86.7211.530.01
100,000 getNode75.0913.320.03
directed-graph
test nametime taken (ms)executions per secsample deviation
1,000 addVertex0.128506.543.38e-5
1,000 addEdge6.96143.610.00
1,000 getVertex0.051.85e+42.60e-5
1,000 getEdge23.9941.690.01
tarjan205.074.880.04
tarjan all211.454.730.04
topologicalSort186.955.350.06
heap
test nametime taken (ms)executions per secsample deviation
10,000 add & pop5.03198.770.00
10,000 fib add & pop373.812.680.03
doubly-linked-list
test nametime taken (ms)executions per secsample deviation
1,000,000 unshift231.554.320.03
1,000,000 unshift & shift163.446.120.01
1,000,000 insertBefore301.213.320.03
singly-linked-list
test nametime taken (ms)executions per secsample deviation
10,000 push & pop216.274.620.01
10,000 insertBefore252.183.970.01
max-priority-queue
test nametime taken (ms)executions per secsample deviation
10,000 refill & poll11.5686.522.35e-4
deque
test nametime taken (ms)executions per secsample deviation
1,000,000 push222.984.480.05
1,000,000 shift26.0138.440.00
queue
test nametime taken (ms)executions per secsample deviation
1,000,000 push44.9322.260.01
1,000,000 push & shift80.8712.370.00
trie
test nametime taken (ms)executions per secsample deviation
100,000 push57.2217.480.01
100,000 getWords99.3210.070.01