| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 6.42 | 155.87 | 1.90e-4 |
| 100,000 add & poll | 31.50 | 31.74 | 8.72e-4 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 6.42 | 155.87 | 1.90e-4 |
| 100,000 add & poll | 31.50 | 31.74 | 8.72e-4 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add orderly | 42.46 | 23.55 | 0.01 |
| 100,000 delete orderly | 176.04 | 5.68 | 0.01 |
| 100,000 add randomly | 98.02 | 10.20 | 0.00 |
| 100,000 delete randomly | 182.58 | 5.48 | 0.00 |
| 100,000 add orderly | 42.10 | 23.76 | 8.79e-4 |
| 100,000 delete randomly | 182.16 | 5.49 | 5.65e-4 |
| 100,000 getNode randomly | 180.63 | 5.54 | 0.00 |
| 100,000 add & iterator | 129.92 | 7.70 | 0.00 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push | 44.33 | 22.56 | 0.01 |
| 100,000 push & shift | 4.68 | 213.63 | 1.41e-4 |
| Native JS Array 100,000 push & shift | 2633.11 | 0.38 | 0.44 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push | 24.62 | 40.62 | 0.00 |
| 1,000,000 push & pop | 30.71 | 32.56 | 0.00 |
| 1,000,000 push & shift | 31.93 | 31.32 | 0.01 |
| 100,000 push & shift | 3.25 | 307.22 | 2.74e-4 |
| Native JS Array 100,000 push & shift | 2455.51 | 0.41 | 0.29 |
| 100,000 unshift & shift | 2.94 | 340.31 | 2.39e-4 |
| Native JS Array 100,000 unshift & shift | 4314.20 | 0.23 | 0.41 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 set | 116.60 | 8.58 | 0.02 |
| Native JS Map 1,000,000 set | 202.39 | 4.94 | 0.01 |
| Native JS Set 1,000,000 add | 167.89 | 5.96 | 0.01 |
| 1,000,000 set & get | 125.21 | 7.99 | 0.03 |
| Native JS Map 1,000,000 set & get | 272.20 | 3.67 | 0.03 |
| Native JS Set 1,000,000 add & has | 168.51 | 5.93 | 0.01 |
| 1,000,000 ObjKey set & get | 309.10 | 3.24 | 0.01 |
| Native JS Map 1,000,000 ObjKey set & get | 299.43 | 3.34 | 0.03 |
| Native JS Set 1,000,000 ObjKey add & has | 260.93 | 3.83 | 0.02 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 push | 43.32 | 23.08 | 6.16e-4 |
| 100,000 getWords | 84.84 | 11.79 | 0.00 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 10,000 add randomly | 129.04 | 7.75 | 0.00 |
| 10,000 get | 51.31 | 19.49 | 5.76e-4 |
| 10,000 add & delete randomly | 190.44 | 5.25 | 0.00 |
| 10,000 addMany | 137.94 | 7.25 | 0.00 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 10,000 RBTree add | 8.13 | 122.97 | 1.87e-4 |
| 10,000 RBTree add & delete randomly | 58.30 | 17.15 | 5.24e-4 |
| 10,000 RBTree get | 18.16 | 55.06 | 2.06e-4 |
| 10,000 AVLTree add | 129.10 | 7.75 | 0.00 |
| 10,000 AVLTree get | 51.37 | 19.47 | 7.26e-4 |
| 10,000 AVLTree add & delete randomly | 189.84 | 5.27 | 8.96e-4 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000 addVertex | 0.10 | 9882.73 | 1.12e-6 |
| 1,000 addEdge | 6.18 | 161.76 | 7.54e-4 |
| 1,000 getVertex | 0.05 | 2.17e+4 | 3.35e-7 |
| 1,000 getEdge | 23.36 | 42.81 | 0.00 |
| tarjan | 208.84 | 4.79 | 0.01 |
| topologicalSort | 178.78 | 5.59 | 0.00 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push | 217.73 | 4.59 | 0.05 |
| 1,000,000 unshift | 200.41 | 4.99 | 0.04 |
| 1,000,000 unshift & shift | 168.75 | 5.93 | 0.04 |
| 1,000,000 addBefore | 298.21 | 3.35 | 0.06 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push & shift | 196.65 | 5.09 | 0.04 |
| 10,000 push & pop | 221.63 | 4.51 | 0.02 |
| 10,000 addBefore | 249.40 | 4.01 | 0.01 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 100,000 add | 28.95 | 34.55 | 0.00 |
| 100,000 add & poll | 76.25 | 13.11 | 6.57e-4 |
| test name | time taken (ms) | executions per sec | sample deviation |
|---|---|---|---|
| 1,000,000 push | 39.72 | 25.18 | 0.01 |
| 1,000,000 push & pop | 49.18 | 20.33 | 0.01 |