comparation
test nametime taken (ms)executions per secsample deviation
SRC 10,000 add0.591701.783.28e-5
CJS 10,000 add0.611648.706.98e-5
MJS 10,000 add0.591691.862.44e-5
SRC PQ 10,000 add & pop4.97201.191.37e-4
CJS PQ 10,000 add & pop4.93202.705.60e-5
MJS PQ 10,000 add & pop4.98200.744.39e-4
avl-tree
test nametime taken (ms)executions per secsample deviation
10,000 add randomly32.2730.990.00
10,000 add & delete randomly73.6713.570.00
10,000 addMany41.8123.920.00
10,000 get29.2134.240.00
binary-tree
test nametime taken (ms)executions per secsample deviation
1,000 add randomly13.8272.380.00
1,000 add & delete randomly16.0162.455.80e-4
1,000 addMany12.3081.330.01
1,000 get19.7550.630.01
1,000 dfs157.126.360.00
1,000 bfs56.7217.634.27e-4
1,000 morris334.972.990.03
bst
test nametime taken (ms)executions per secsample deviation
10,000 add randomly28.3035.340.00
10,000 add & delete randomly67.4714.820.00
10,000 addMany29.2534.180.00
10,000 get30.5332.750.01
rb-tree
test nametime taken (ms)executions per secsample deviation
100,000 add96.6710.340.01
100,000 add & delete randomly224.854.450.01
100,000 getNode40.8324.492.73e-4
directed-graph
test nametime taken (ms)executions per secsample deviation
1,000 addVertex0.119364.631.25e-5
1,000 addEdge6.18161.781.26e-4
1,000 getVertex0.052.12e+44.19e-6
1,000 getEdge25.9838.500.01
tarjan240.234.160.02
tarjan all227.364.400.00
topologicalSort185.855.380.00
hash-map
test nametime taken (ms)executions per secsample deviation
10,000 set1.001001.311.82e-5
10,000 set & get1.54650.144.87e-5
heap
test nametime taken (ms)executions per secsample deviation
10,000 add & pop6.97143.495.27e-4
10,000 fib add & pop378.402.640.05
doubly-linked-list
test nametime taken (ms)executions per secsample deviation
1,000,000 unshift224.554.450.07
1,000,000 unshift & shift182.175.490.06
1,000,000 insertBefore342.632.920.08
singly-linked-list
test nametime taken (ms)executions per secsample deviation
10,000 push & pop222.424.500.01
10,000 insertBefore248.394.030.00
max-priority-queue
test nametime taken (ms)executions per secsample deviation
10,000 refill & poll11.8384.551.45e-4
priority-queue
test nametime taken (ms)executions per secsample deviation
10,000 add & pop10.7992.722.01e-4
deque
test nametime taken (ms)executions per secsample deviation
1,000,000 push231.334.320.06
1,000,000 shift27.6436.170.01
queue
test nametime taken (ms)executions per secsample deviation
1,000,000 push46.1621.660.01
1,000,000 push & shift82.1812.170.00
stack
test nametime taken (ms)executions per secsample deviation
1,000,000 push45.4522.000.01
1,000,000 push & pop50.1019.960.01
trie
test nametime taken (ms)executions per secsample deviation
100,000 push46.2521.620.00
100,000 getWords65.1715.340.00