avl-tree
test nametime taken (ms)executions per secsample deviation
10,000 add randomly33.3429.990.00
10,000 add & delete randomly72.3013.830.00
10,000 addMany49.5020.200.00
10,000 get27.2336.737.19e-4
binary-tree
test nametime taken (ms)executions per secsample deviation
1,000 add randomly12.2081.978.36e-5
1,000 add & delete randomly15.9362.772.09e-4
1,000 addMany10.3696.562.01e-4
1,000 get18.4354.264.67e-4
1,000 dfs154.616.470.00
1,000 bfs57.7317.320.01
1,000 morris258.473.870.00
bst
test nametime taken (ms)executions per secsample deviation
10,000 add randomly29.4433.963.99e-4
10,000 add & delete randomly72.3513.820.00
10,000 addMany29.7633.600.00
10,000 get28.5335.055.76e-4
rb-tree
test nametime taken (ms)executions per secsample deviation
100,000 add90.4211.060.01
100,000 add & delete randomly223.524.470.02
100,000 getNode38.6725.860.00
directed-graph
test nametime taken (ms)executions per secsample deviation
1,000 addVertex0.119499.565.09e-6
1,000 addEdge6.37157.048.13e-4
1,000 getVertex0.052.15e+41.20e-6
1,000 getEdge22.4444.560.00
tarjan213.534.680.01
tarjan all215.754.630.00
topologicalSort175.515.700.01
hash-map
test nametime taken (ms)executions per secsample deviation
10,000 set0.761308.631.65e-5
10,000 set & get1.03966.592.21e-5
heap
test nametime taken (ms)executions per secsample deviation
10,000 add & pop4.65214.921.18e-4
10,000 fib add & pop367.352.720.01
doubly-linked-list
test nametime taken (ms)executions per secsample deviation
1,000,000 unshift222.804.490.06
1,000,000 unshift & shift174.605.730.04
1,000,000 insertBefore309.213.230.07
singly-linked-list
test nametime taken (ms)executions per secsample deviation
10,000 push & pop214.754.660.01
10,000 insertBefore250.453.990.01
max-priority-queue
test nametime taken (ms)executions per secsample deviation
10,000 refill & poll11.4487.431.80e-4
priority-queue
test nametime taken (ms)executions per secsample deviation
10,000 add & pop12.4180.571.56e-4
deque
test nametime taken (ms)executions per secsample deviation
1,000,000 push219.154.560.04
1,000,000 shift26.7637.370.00
queue
test nametime taken (ms)executions per secsample deviation
1,000,000 push45.1722.140.01
1,000,000 push & shift80.4112.440.00
stack
test nametime taken (ms)executions per secsample deviation
1,000,000 push43.6722.900.01
1,000,000 push & pop48.1820.760.00
trie
test nametime taken (ms)executions per secsample deviation
100,000 push60.4616.540.00
100,000 getWords83.1312.030.00