| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 6.34 | 157.68 | 1.57e-4 |
| 100,000 add & poll | 31.54 | 31.70 | 9.20e-4 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 6.34 | 157.68 | 1.57e-4 |
| 100,000 add & poll | 31.54 | 31.70 | 9.20e-4 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add orderly | 57.90 | 17.27 | 0.00 |
| 100,000 delete orderly | 10.65 | 93.90 | 9.11e-5 |
| 100,000 add randomly | 114.65 | 8.72 | 0.00 |
| 100,000 delete randomly | 10.24 | 97.62 | 5.53e-5 |
| 100,000 add orderly | 58.51 | 17.09 | 0.00 |
| 100,000 delete randomly | 10.25 | 97.56 | 6.25e-5 |
| 100,000 getNode randomly | 9.53 | 104.98 | 6.20e-5 |
| 100,000 add & iterator | 146.46 | 6.83 | 0.02 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push | 41.59 | 24.05 | 0.01 |
| 100,000 push & shift | 4.54 | 220.29 | 1.10e-4 |
| Native JS Array 100,000 push & shift | 2243.54 | 0.45 | 0.10 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push | 23.20 | 43.10 | 0.00 |
| 1,000,000 push & pop | 30.14 | 33.18 | 0.00 |
| 1,000,000 push & shift | 29.94 | 33.40 | 0.00 |
| 100,000 push & shift | 3.18 | 314.70 | 3.27e-4 |
| Native JS Array 100,000 push & shift | 2238.52 | 0.45 | 0.09 |
| 100,000 unshift & shift | 2.85 | 350.27 | 2.85e-4 |
| Native JS Array 100,000 unshift & shift | 4149.34 | 0.24 | 0.10 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 set | 113.24 | 8.83 | 0.03 |
| Native JS Map 1,000,000 set | 205.14 | 4.87 | 0.00 |
| Native JS Set 1,000,000 add | 174.38 | 5.73 | 0.01 |
| 1,000,000 set & get | 114.96 | 8.70 | 0.03 |
| Native JS Map 1,000,000 set & get | 267.57 | 3.74 | 0.00 |
| Native JS Set 1,000,000 add & has | 172.94 | 5.78 | 0.01 |
| 1,000,000 ObjKey set & get | 327.38 | 3.05 | 0.03 |
| Native JS Map 1,000,000 ObjKey set & get | 297.64 | 3.36 | 0.03 |
| Native JS Set 1,000,000 ObjKey add & has | 263.30 | 3.80 | 0.04 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 push | 43.65 | 22.91 | 0.00 |
| 100,000 getWords | 82.64 | 12.10 | 0.00 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 10,000 add randomly | 133.02 | 7.52 | 0.00 |
| 10,000 get | 61.42 | 16.28 | 5.07e-4 |
| 10,000 add & delete randomly | 204.19 | 4.90 | 0.00 |
| 10,000 addMany | 142.69 | 7.01 | 0.00 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 10,000 RBTree add | 9.28 | 107.79 | 1.15e-4 |
| 10,000 RBTree add & delete randomly | 60.56 | 16.51 | 6.63e-4 |
| 10,000 RBTree get | 1.11 | 902.48 | 8.41e-6 |
| 10,000 AVLTree add | 134.17 | 7.45 | 0.01 |
| 10,000 AVLTree get | 60.97 | 16.40 | 4.05e-4 |
| 10,000 AVLTree add & delete randomly | 201.72 | 4.96 | 0.00 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000 addVertex | 0.10 | 1.00e+4 | 7.24e-7 |
| 1,000 addEdge | 6.20 | 161.25 | 8.47e-4 |
| 1,000 getVertex | 0.05 | 2.17e+4 | 3.59e-7 |
| 1,000 getEdge | 22.60 | 44.24 | 0.00 |
| tarjan | 207.15 | 4.83 | 0.02 |
| topologicalSort | 175.86 | 5.69 | 0.00 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push | 235.16 | 4.25 | 0.06 |
| 1,000,000 unshift | 225.37 | 4.44 | 0.04 |
| 1,000,000 unshift & shift | 170.75 | 5.86 | 0.03 |
| 1,000,000 addBefore | 324.45 | 3.08 | 0.07 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push & shift | 215.08 | 4.65 | 0.07 |
| 10,000 push & pop | 212.54 | 4.71 | 0.01 |
| 10,000 addBefore | 250.10 | 4.00 | 0.01 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 26.71 | 37.44 | 2.40e-4 |
| 100,000 add & poll | 74.78 | 13.37 | 5.52e-4 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push | 37.19 | 26.89 | 0.00 |
| 1,000,000 push & pop | 46.11 | 21.69 | 0.00 |