| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 6.09 | 164.12 | 1.35e-4 |
| 100,000 add & poll | 34.55 | 28.94 | 6.43e-4 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 6.09 | 164.12 | 1.35e-4 |
| 100,000 add & poll | 34.55 | 28.94 | 6.43e-4 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 76.73 | 13.03 | 0.00 |
| 100,000 add randomly | 80.67 | 12.40 | 0.00 |
| 100,000 get | 110.86 | 9.02 | 0.00 |
| 100,000 iterator | 24.99 | 40.02 | 0.00 |
| 100,000 add & delete orderly | 152.66 | 6.55 | 0.00 |
| 100,000 add & delete randomly | 230.75 | 4.33 | 0.00 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push | 39.27 | 25.46 | 0.01 |
| 100,000 push & shift | 4.53 | 220.81 | 4.84e-4 |
| Native JS Array 100,000 push & shift | 1948.05 | 0.51 | 0.02 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push | 23.22 | 43.06 | 0.00 |
| 1,000,000 push & pop | 29.68 | 33.69 | 0.00 |
| 1,000,000 push & shift | 29.33 | 34.09 | 0.00 |
| 100,000 push & shift | 3.10 | 323.01 | 2.47e-4 |
| Native JS Array 100,000 push & shift | 1942.12 | 0.51 | 0.02 |
| 100,000 unshift & shift | 2.77 | 360.50 | 2.43e-4 |
| Native JS Array 100,000 unshift & shift | 3835.21 | 0.26 | 0.03 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 set | 112.38 | 8.90 | 0.02 |
| Native JS Map 1,000,000 set | 199.97 | 5.00 | 0.01 |
| Native JS Set 1,000,000 add | 163.34 | 6.12 | 0.01 |
| 1,000,000 set & get | 109.86 | 9.10 | 0.02 |
| Native JS Map 1,000,000 set & get | 255.33 | 3.92 | 0.00 |
| Native JS Set 1,000,000 add & has | 163.91 | 6.10 | 0.00 |
| 1,000,000 ObjKey set & get | 317.89 | 3.15 | 0.04 |
| Native JS Map 1,000,000 ObjKey set & get | 282.99 | 3.53 | 0.03 |
| Native JS Set 1,000,000 ObjKey add & has | 253.93 | 3.94 | 0.03 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 push | 43.71 | 22.88 | 7.33e-4 |
| 100,000 getWords | 83.63 | 11.96 | 0.00 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 271.93 | 3.68 | 0.01 |
| 100,000 add randomly | 318.27 | 3.14 | 0.00 |
| 100,000 get | 128.85 | 7.76 | 0.00 |
| 100,000 iterator | 29.09 | 34.38 | 0.00 |
| 100,000 add & delete orderly | 435.48 | 2.30 | 7.44e-4 |
| 100,000 add & delete randomly | 578.70 | 1.73 | 0.00 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 10,000 RBTree add randomly | 6.69 | 149.54 | 1.06e-4 |
| 10,000 RBTree get randomly | 9.19 | 108.82 | 1.43e-4 |
| 10,000 RBTree add & delete randomly | 18.54 | 53.94 | 1.73e-4 |
| 10,000 AVLTree add randomly | 23.70 | 42.20 | 1.88e-4 |
| 10,000 AVLTree get randomly | 9.89 | 101.11 | 0.00 |
| 10,000 AVLTree add & delete randomly | 44.44 | 22.50 | 4.30e-4 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000 addVertex | 0.10 | 9766.65 | 9.83e-7 |
| 1,000 addEdge | 6.15 | 162.57 | 7.99e-4 |
| 1,000 getVertex | 0.05 | 2.18e+4 | 4.52e-7 |
| 1,000 getEdge | 22.70 | 44.06 | 0.00 |
| tarjan | 203.00 | 4.93 | 0.01 |
| topologicalSort | 176.40 | 5.67 | 0.00 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push | 222.02 | 4.50 | 0.07 |
| 1,000,000 unshift | 220.41 | 4.54 | 0.05 |
| 1,000,000 unshift & shift | 185.31 | 5.40 | 0.01 |
| 1,000,000 addBefore | 317.20 | 3.15 | 0.07 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push & shift | 204.82 | 4.88 | 0.09 |
| 10,000 push & pop | 221.88 | 4.51 | 0.03 |
| 10,000 addBefore | 247.28 | 4.04 | 0.01 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 26.97 | 37.08 | 7.97e-4 |
| 100,000 add & poll | 74.55 | 13.41 | 5.19e-4 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push | 35.54 | 28.14 | 0.00 |
| 1,000,000 push & pop | 44.89 | 22.27 | 0.01 |