avl-tree
| test name | time taken (ms) | executions per sec | executed times | sample mean (secs) | sample deviation |
|---|
| add 1000 randomly | 2.08 | 479.69 | 25 | 0.00 | 2.14e-5 |
| delete 1000 randomly | 0.05 | 1.82e+4 | 924 | 5.49e-5 | 4.16e-7 |
| addMany 1000 | 2.88 | 347.21 | 18 | 0.00 | 2.69e-5 |
| get 1000 | 52.72 | 18.97 | 1 | 0.05 | 0.00 |
binary-tree
| test name | time taken (ms) | executions per sec | executed times | sample mean (secs) | sample deviation |
|---|
| add 1000 | 65.05 | 15.37 | 3 | 0.07 | 0.00 |
| delete 1000 | 26.26 | 38.08 | 1104 | 0.03 | 0.04 |
| addMany 1000 | 8.81 | 113.44 | 6 | 0.01 | 9.78e-5 |
| get 1000 | 31.44 | 31.80 | 2 | 0.03 | 3.59e-4 |
bst
| test name | time taken (ms) | executions per sec | executed times | sample mean (secs) | sample deviation |
|---|
| add 1000 randomly | 2.04 | 490.04 | 25 | 0.00 | 2.37e-5 |
| delete 1000 randomly | 0.04 | 2.23e+4 | 1137 | 4.48e-5 | 6.04e-7 |
| addMany 1000 balanced | 2.67 | 375.13 | 20 | 0.00 | 2.64e-4 |
| get 1000 | 62.25 | 16.06 | 1 | 0.06 | 0.00 |
heap
| test name | time taken (ms) | executions per sec | executed times | sample mean (secs) | sample deviation |
|---|
| add & 1000 | 0.34 | 2919.71 | 149 | 3.43e-4 | 4.56e-6 |
| fib add & pop 1000 | 3.88 | 257.61 | 14 | 0.00 | 4.79e-5 |
doubly-linked-list
| test name | time taken (ms) | executions per sec | executed times | sample mean (secs) | sample deviation |
|---|
| unshift 1000000 | 202.43 | 4.94 | 1 | 0.20 | 0.02 |
| unshift & shift 1000000 | 158.09 | 6.33 | 1 | 0.16 | 0.03 |
| insertBefore 1000 | 0.03 | 3.75e+4 | 1922 | 2.67e-5 | 4.57e-7 |
singly-linked-list
| test name | time taken (ms) | executions per sec | executed times | sample mean (secs) | sample deviation |
|---|
| push & pop 1000 | 1.77 | 564.48 | 30 | 0.00 | 7.71e-5 |
| insertBefore 1000 | 2.29 | 435.77 | 22 | 0.00 | 3.74e-5 |
max-priority-queue
| test name | time taken (ms) | executions per sec | executed times | sample mean (secs) | sample deviation |
|---|
| refill & poll 1000000 | 1812.54 | 0.55 | 1 | 1.81 | 0.02 |
deque
| test name | time taken (ms) | executions per sec | executed times | sample mean (secs) | sample deviation |
|---|
| push 1000000 | 205.83 | 4.86 | 1 | 0.21 | 0.03 |
| shift 1000000 | 24.78 | 40.35 | 3 | 0.02 | 0.00 |
queue
| test name | time taken (ms) | executions per sec | executed times | sample mean (secs) | sample deviation |
|---|
| push 1000000 | 42.29 | 23.65 | 2 | 0.04 | 0.01 |
| push & shift 1000000 | 78.34 | 12.77 | 1 | 0.08 | 0.00 |