test name | time taken (ms) | executions per sec | sample deviation |
---|---|---|---|
100,000 add | 6.49 | 154.00 | 1.90e-4 |
100,000 add & poll | 35.79 | 27.94 | 0.01 |
diff --git a/CHANGELOG.md b/CHANGELOG.md index 80d7507..4b8d76c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ All notable changes to this project will be documented in this file. - [Semantic Versioning](https://semver.org/spec/v2.0.0.html) - [`auto-changelog`](https://github.com/CookPete/auto-changelog) -## [v1.52.8](https://github.com/zrwusa/data-structure-typed/compare/v1.51.5...main) (upcoming) +## [v1.52.9](https://github.com/zrwusa/data-structure-typed/compare/v1.51.5...main) (upcoming) ### Changes diff --git a/README.md b/README.md index cf56bb8..192e92d 100644 --- a/README.md +++ b/README.md @@ -826,43 +826,43 @@ Version 11.7.9 [//]: # (No deletion!!! Start of Replace Section)
test name | time taken (ms) | executions per sec | sample deviation |
---|---|---|---|
100,000 add | 6.49 | 154.00 | 1.90e-4 |
100,000 add & poll | 35.79 | 27.94 | 0.01 |
test name | time taken (ms) | executions per sec | sample deviation |
---|---|---|---|
100,000 add | 6.66 | 150.18 | 2.19e-4 |
100,000 add & poll | 35.35 | 28.29 | 8.55e-4 |
test name | time taken (ms) | executions per sec | sample deviation |
---|---|---|---|
100,000 add | 85.30 | 11.72 | 7.38e-4 |
100,000 add randomly | 84.77 | 11.80 | 0.00 |
100,000 get | 113.74 | 8.79 | 0.00 |
100,000 iterator | 24.51 | 40.80 | 0.00 |
100,000 add & delete orderly | 152.17 | 6.57 | 0.01 |
100,000 add & delete randomly | 240.78 | 4.15 | 0.01 |
test name | time taken (ms) | executions per sec | sample deviation |
---|---|---|---|
100,000 add | 83.70 | 11.95 | 4.47e-4 |
100,000 add randomly | 85.05 | 11.76 | 0.00 |
100,000 get | 112.86 | 8.86 | 0.00 |
100,000 iterator | 23.62 | 42.34 | 0.00 |
100,000 add & delete orderly | 153.38 | 6.52 | 0.01 |
100,000 add & delete randomly | 232.75 | 4.30 | 0.00 |
test name | time taken (ms) | executions per sec | sample deviation |
---|---|---|---|
1,000,000 push | 44.16 | 22.64 | 0.01 |
100,000 push & shift | 6.08 | 164.58 | 0.00 |
Native JS Array 100,000 push & shift | 2240.74 | 0.45 | 0.17 |
test name | time taken (ms) | executions per sec | sample deviation |
---|---|---|---|
1,000,000 push | 46.18 | 21.65 | 0.01 |
100,000 push & shift | 5.40 | 185.33 | 0.00 |
Native JS Array 100,000 push & shift | 2273.18 | 0.44 | 0.20 |
test name | time taken (ms) | executions per sec | sample deviation |
---|---|---|---|
1,000,000 push | 20.75 | 48.19 | 0.00 |
1,000,000 push & pop | 26.85 | 37.24 | 0.00 |
1,000,000 push & shift | 27.56 | 36.28 | 0.00 |
100,000 push & shift | 2.61 | 382.75 | 4.11e-4 |
Native JS Array 100,000 push & shift | 2388.65 | 0.42 | 0.15 |
100,000 unshift & shift | 2.50 | 399.53 | 3.59e-4 |
Native JS Array 100,000 unshift & shift | 4343.52 | 0.23 | 0.30 |
test name | time taken (ms) | executions per sec | sample deviation |
---|---|---|---|
1,000,000 push | 20.33 | 49.20 | 0.00 |
1,000,000 push & pop | 26.35 | 37.95 | 0.00 |
1,000,000 push & shift | 28.83 | 34.68 | 0.00 |
100,000 push & shift | 2.55 | 392.71 | 3.48e-4 |
Native JS Array 100,000 push & shift | 2285.23 | 0.44 | 0.25 |
100,000 unshift & shift | 2.53 | 395.88 | 4.03e-4 |
Native JS Array 100,000 unshift & shift | 4063.57 | 0.25 | 0.22 |
test name | time taken (ms) | executions per sec | sample deviation |
---|---|---|---|
1,000,000 set | 87.12 | 11.48 | 0.02 |
Native JS Map 1,000,000 set | 211.63 | 4.73 | 0.03 |
Native JS Set 1,000,000 add | 167.62 | 5.97 | 0.01 |
1,000,000 set & get | 78.91 | 12.67 | 0.02 |
Native JS Map 1,000,000 set & get | 295.47 | 3.38 | 0.03 |
Native JS Set 1,000,000 add & has | 267.22 | 3.74 | 0.07 |
1,000,000 ObjKey set & get | 378.26 | 2.64 | 0.06 |
Native JS Map 1,000,000 ObjKey set & get | 344.04 | 2.91 | 0.06 |
Native JS Set 1,000,000 ObjKey add & has | 277.87 | 3.60 | 0.04 |
test name | time taken (ms) | executions per sec | sample deviation |
---|---|---|---|
1,000,000 set | 210.30 | 4.76 | 0.03 |
Native JS Map 1,000,000 set | 217.28 | 4.60 | 0.03 |
Native JS Set 1,000,000 add | 175.11 | 5.71 | 0.02 |
1,000,000 set & get | 231.89 | 4.31 | 0.05 |
Native JS Map 1,000,000 set & get | 278.86 | 3.59 | 0.03 |
Native JS Set 1,000,000 add & has | 237.24 | 4.22 | 0.01 |
1,000,000 ObjKey set & get | 387.96 | 2.58 | 0.07 |
Native JS Map 1,000,000 ObjKey set & get | 348.73 | 2.87 | 0.07 |
Native JS Set 1,000,000 ObjKey add & has | 295.33 | 3.39 | 0.04 |
test name | time taken (ms) | executions per sec | sample deviation |
---|---|---|---|
100,000 push | 42.67 | 23.44 | 8.55e-4 |
100,000 getWords | 82.51 | 12.12 | 0.00 |
test name | time taken (ms) | executions per sec | sample deviation |
---|---|---|---|
100,000 push | 43.24 | 23.13 | 6.15e-4 |
100,000 getWords | 105.06 | 9.52 | 0.01 |
test name | time taken (ms) | executions per sec | sample deviation |
---|---|---|---|
100,000 add | 307.42 | 3.25 | 9.13e-4 |
100,000 add randomly | 373.75 | 2.68 | 0.01 |
100,000 get | 172.23 | 5.81 | 0.00 |
100,000 iterator | 25.90 | 38.61 | 0.00 |
100,000 add & delete orderly | 509.58 | 1.96 | 0.00 |
100,000 add & delete randomly | 690.44 | 1.45 | 0.02 |
test name | time taken (ms) | executions per sec | sample deviation |
---|---|---|---|
100,000 add | 309.91 | 3.23 | 0.01 |
100,000 add randomly | 368.42 | 2.71 | 0.00 |
100,000 get | 171.25 | 5.84 | 0.00 |
100,000 iterator | 26.14 | 38.25 | 0.00 |
100,000 add & delete orderly | 511.40 | 1.96 | 0.00 |
100,000 add & delete randomly | 687.43 | 1.45 | 0.02 |
test name | time taken (ms) | executions per sec | sample deviation |
---|---|---|---|
10,000 RBTree add randomly | 7.45 | 134.14 | 0.00 |
10,000 RBTree get randomly | 13.03 | 76.74 | 1.43e-4 |
10,000 RBTree add & delete randomly | 22.62 | 44.21 | 1.83e-4 |
10,000 AVLTree add randomly | 28.44 | 35.16 | 2.71e-4 |
10,000 AVLTree get randomly | 13.02 | 76.81 | 1.05e-4 |
10,000 AVLTree add & delete randomly | 54.46 | 18.36 | 0.00 |
test name | time taken (ms) | executions per sec | sample deviation |
---|---|---|---|
10,000 RBTree add randomly | 7.30 | 136.94 | 9.11e-5 |
10,000 RBTree get randomly | 12.92 | 77.41 | 1.62e-4 |
10,000 RBTree add & delete randomly | 22.42 | 44.60 | 3.28e-4 |
10,000 AVLTree add randomly | 28.34 | 35.29 | 3.30e-4 |
10,000 AVLTree get randomly | 12.94 | 77.27 | 8.60e-5 |
10,000 AVLTree add & delete randomly | 52.35 | 19.10 | 5.13e-4 |
test name | time taken (ms) | executions per sec | sample deviation |
---|---|---|---|
1,000 addVertex | 0.10 | 1.01e+4 | 8.01e-7 |
1,000 addEdge | 6.06 | 165.03 | 2.89e-4 |
1,000 getVertex | 0.10 | 1.05e+4 | 9.35e-7 |
1,000 getEdge | 23.80 | 42.02 | 0.00 |
tarjan | 193.59 | 5.17 | 0.01 |
topologicalSort | 148.99 | 6.71 | 0.01 |
test name | time taken (ms) | executions per sec | sample deviation |
---|---|---|---|
1,000 addVertex | 0.09 | 1.07e+4 | 8.73e-7 |
1,000 addEdge | 5.98 | 167.36 | 1.15e-4 |
1,000 getVertex | 0.09 | 1.05e+4 | 8.10e-7 |
1,000 getEdge | 23.42 | 42.69 | 0.00 |
tarjan | 210.66 | 4.75 | 0.04 |
topologicalSort | 152.36 | 6.56 | 0.01 |
test name | time taken (ms) | executions per sec | sample deviation |
---|---|---|---|
1,000,000 push | 191.05 | 5.23 | 0.04 |
1,000,000 unshift | 186.38 | 5.37 | 0.06 |
1,000,000 unshift & shift | 151.27 | 6.61 | 0.00 |
1,000,000 addBefore | 267.57 | 3.74 | 0.07 |
test name | time taken (ms) | executions per sec | sample deviation |
---|---|---|---|
1,000,000 push | 196.74 | 5.08 | 0.04 |
1,000,000 unshift | 172.87 | 5.78 | 0.01 |
1,000,000 unshift & shift | 151.32 | 6.61 | 0.01 |
1,000,000 addBefore | 262.75 | 3.81 | 0.07 |
test name | time taken (ms) | executions per sec | sample deviation |
---|---|---|---|
1,000,000 push & shift | 163.01 | 6.13 | 0.03 |
10,000 push & pop | 246.05 | 4.06 | 0.04 |
10,000 addBefore | 275.54 | 3.63 | 0.01 |
test name | time taken (ms) | executions per sec | sample deviation |
---|---|---|---|
1,000,000 push & shift | 164.52 | 6.08 | 0.03 |
10,000 push & pop | 234.45 | 4.27 | 0.01 |
10,000 addBefore | 275.79 | 3.63 | 0.00 |
test name | time taken (ms) | executions per sec | sample deviation |
---|---|---|---|
100,000 add | 30.54 | 32.75 | 0.00 |
100,000 add & poll | 89.20 | 11.21 | 0.00 |
test name | time taken (ms) | executions per sec | sample deviation |
---|---|---|---|
100,000 add | 30.74 | 32.53 | 0.00 |
100,000 add & poll | 88.16 | 11.34 | 4.14e-4 |
test name | time taken (ms) | executions per sec | sample deviation |
---|---|---|---|
1,000,000 push | 40.42 | 24.74 | 0.00 |
1,000,000 push & pop | 47.90 | 20.88 | 0.01 |
test name | time taken (ms) | executions per sec | sample deviation |
---|---|---|---|
1,000,000 push | 42.80 | 23.37 | 0.01 |
1,000,000 push & pop | 48.13 | 20.78 | 0.01 |