data-structure-typed 1.49.2 → 1.49.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/README.md +69 -66
  3. package/README_zh-CN.md +43 -48
  4. package/benchmark/report.html +16 -16
  5. package/benchmark/report.json +187 -187
  6. package/dist/cjs/data-structures/binary-tree/binary-tree.d.ts +1 -1
  7. package/dist/cjs/data-structures/binary-tree/binary-tree.js +1 -1
  8. package/dist/cjs/data-structures/binary-tree/binary-tree.js.map +1 -1
  9. package/dist/cjs/data-structures/graph/abstract-graph.d.ts +8 -17
  10. package/dist/cjs/data-structures/graph/abstract-graph.js +43 -29
  11. package/dist/cjs/data-structures/graph/abstract-graph.js.map +1 -1
  12. package/dist/cjs/data-structures/graph/directed-graph.d.ts +2 -2
  13. package/dist/cjs/data-structures/graph/directed-graph.js +6 -2
  14. package/dist/cjs/data-structures/graph/directed-graph.js.map +1 -1
  15. package/dist/cjs/data-structures/graph/undirected-graph.d.ts +1 -1
  16. package/dist/cjs/data-structures/graph/undirected-graph.js +1 -1
  17. package/dist/cjs/data-structures/graph/undirected-graph.js.map +1 -1
  18. package/dist/cjs/data-structures/linked-list/doubly-linked-list.d.ts +43 -43
  19. package/dist/cjs/data-structures/linked-list/doubly-linked-list.js +49 -49
  20. package/dist/cjs/data-structures/linked-list/doubly-linked-list.js.map +1 -1
  21. package/dist/cjs/data-structures/linked-list/singly-linked-list.js.map +1 -1
  22. package/dist/cjs/data-structures/linked-list/skip-linked-list.d.ts +25 -25
  23. package/dist/cjs/data-structures/linked-list/skip-linked-list.js +36 -36
  24. package/dist/cjs/data-structures/linked-list/skip-linked-list.js.map +1 -1
  25. package/dist/cjs/data-structures/queue/queue.d.ts +33 -33
  26. package/dist/cjs/data-structures/queue/queue.js +40 -40
  27. package/dist/cjs/data-structures/queue/queue.js.map +1 -1
  28. package/dist/mjs/data-structures/binary-tree/binary-tree.d.ts +1 -1
  29. package/dist/mjs/data-structures/binary-tree/binary-tree.js +1 -1
  30. package/dist/mjs/data-structures/graph/abstract-graph.d.ts +8 -17
  31. package/dist/mjs/data-structures/graph/abstract-graph.js +43 -29
  32. package/dist/mjs/data-structures/graph/directed-graph.d.ts +2 -2
  33. package/dist/mjs/data-structures/graph/directed-graph.js +6 -2
  34. package/dist/mjs/data-structures/graph/undirected-graph.d.ts +1 -1
  35. package/dist/mjs/data-structures/graph/undirected-graph.js +1 -1
  36. package/dist/mjs/data-structures/linked-list/doubly-linked-list.d.ts +43 -43
  37. package/dist/mjs/data-structures/linked-list/doubly-linked-list.js +47 -47
  38. package/dist/mjs/data-structures/linked-list/skip-linked-list.d.ts +25 -25
  39. package/dist/mjs/data-structures/linked-list/skip-linked-list.js +36 -36
  40. package/dist/mjs/data-structures/queue/queue.d.ts +33 -33
  41. package/dist/mjs/data-structures/queue/queue.js +39 -39
  42. package/dist/umd/data-structure-typed.js +176 -158
  43. package/dist/umd/data-structure-typed.min.js +2 -2
  44. package/dist/umd/data-structure-typed.min.js.map +1 -1
  45. package/package.json +1 -1
  46. package/src/data-structures/binary-tree/binary-tree.ts +1 -1
  47. package/src/data-structures/graph/abstract-graph.ts +56 -27
  48. package/src/data-structures/graph/directed-graph.ts +10 -5
  49. package/src/data-structures/graph/undirected-graph.ts +2 -2
  50. package/src/data-structures/linked-list/doubly-linked-list.ts +53 -53
  51. package/src/data-structures/linked-list/singly-linked-list.ts +2 -3
  52. package/src/data-structures/linked-list/skip-linked-list.ts +40 -40
  53. package/src/data-structures/queue/queue.ts +45 -45
  54. package/test/performance/data-structures/comparison/comparison.test.ts +12 -12
  55. package/test/performance/data-structures/linked-list/doubly-linked-list.test.ts +16 -27
  56. package/test/performance/data-structures/linked-list/singly-linked-list.test.ts +4 -12
  57. package/test/performance/data-structures/queue/deque.test.ts +8 -8
  58. package/test/performance/data-structures/queue/queue.test.ts +5 -5
  59. package/test/performance/data-structures/stack/stack.test.ts +11 -11
  60. package/test/unit/data-structures/binary-tree/binary-tree.test.ts +15 -0
  61. package/test/unit/data-structures/graph/abstract-graph.test.ts +12 -1
  62. package/test/unit/data-structures/graph/directed-graph.test.ts +63 -5
  63. package/test/unit/data-structures/graph/undirected-graph.test.ts +61 -4
  64. package/test/unit/data-structures/hash/hash-map.test.ts +21 -0
  65. package/test/unit/data-structures/heap/heap.test.ts +6 -1
  66. package/test/unit/data-structures/linked-list/doubly-linked-list.test.ts +27 -0
  67. package/test/utils/big-o.ts +14 -14
@@ -3,27 +3,27 @@
3
3
  "benchmarks": [
4
4
  {
5
5
  "test name": "10,000 add randomly",
6
- "time taken (ms)": "50.74",
7
- "executions per sec": "19.71",
6
+ "time taken (ms)": "48.42",
7
+ "executions per sec": "20.65",
8
8
  "sample deviation": "0.00"
9
9
  },
10
10
  {
11
11
  "test name": "10,000 add & delete randomly",
12
- "time taken (ms)": "127.76",
13
- "executions per sec": "7.83",
12
+ "time taken (ms)": "107.72",
13
+ "executions per sec": "9.28",
14
14
  "sample deviation": "0.02"
15
15
  },
16
16
  {
17
17
  "test name": "10,000 addMany",
18
- "time taken (ms)": "57.14",
19
- "executions per sec": "17.50",
20
- "sample deviation": "0.00"
18
+ "time taken (ms)": "55.40",
19
+ "executions per sec": "18.05",
20
+ "sample deviation": "6.22e-4"
21
21
  },
22
22
  {
23
23
  "test name": "10,000 get",
24
- "time taken (ms)": "52.22",
25
- "executions per sec": "19.15",
26
- "sample deviation": "0.01"
24
+ "time taken (ms)": "53.89",
25
+ "executions per sec": "18.56",
26
+ "sample deviation": "0.02"
27
27
  }
28
28
  ],
29
29
  "testName": "avl-tree"
@@ -32,51 +32,51 @@
32
32
  "benchmarks": [
33
33
  {
34
34
  "test name": "1,000 add randomly",
35
- "time taken (ms)": "18.32",
36
- "executions per sec": "54.59",
37
- "sample deviation": "0.00"
35
+ "time taken (ms)": "17.75",
36
+ "executions per sec": "56.35",
37
+ "sample deviation": "2.23e-4"
38
38
  },
39
39
  {
40
40
  "test name": "1,000 add & delete randomly",
41
- "time taken (ms)": "26.54",
42
- "executions per sec": "37.69",
41
+ "time taken (ms)": "25.58",
42
+ "executions per sec": "39.10",
43
43
  "sample deviation": "0.01"
44
44
  },
45
45
  {
46
46
  "test name": "1,000 addMany",
47
- "time taken (ms)": "18.79",
48
- "executions per sec": "53.22",
47
+ "time taken (ms)": "19.65",
48
+ "executions per sec": "50.89",
49
49
  "sample deviation": "0.00"
50
50
  },
51
51
  {
52
52
  "test name": "1,000 get",
53
- "time taken (ms)": "18.95",
54
- "executions per sec": "52.78",
55
- "sample deviation": "0.00"
53
+ "time taken (ms)": "21.03",
54
+ "executions per sec": "47.55",
55
+ "sample deviation": "0.01"
56
56
  },
57
57
  {
58
58
  "test name": "1,000 has",
59
- "time taken (ms)": "19.76",
60
- "executions per sec": "50.60",
59
+ "time taken (ms)": "19.81",
60
+ "executions per sec": "50.48",
61
61
  "sample deviation": "0.01"
62
62
  },
63
63
  {
64
64
  "test name": "1,000 dfs",
65
- "time taken (ms)": "159.96",
66
- "executions per sec": "6.25",
67
- "sample deviation": "0.01"
65
+ "time taken (ms)": "183.37",
66
+ "executions per sec": "5.45",
67
+ "sample deviation": "0.03"
68
68
  },
69
69
  {
70
70
  "test name": "1,000 bfs",
71
- "time taken (ms)": "73.63",
72
- "executions per sec": "13.58",
73
- "sample deviation": "0.08"
71
+ "time taken (ms)": "65.61",
72
+ "executions per sec": "15.24",
73
+ "sample deviation": "0.02"
74
74
  },
75
75
  {
76
76
  "test name": "1,000 morris",
77
- "time taken (ms)": "225.93",
78
- "executions per sec": "4.43",
79
- "sample deviation": "0.05"
77
+ "time taken (ms)": "231.00",
78
+ "executions per sec": "4.33",
79
+ "sample deviation": "0.06"
80
80
  }
81
81
  ],
82
82
  "testName": "binary-tree"
@@ -85,27 +85,27 @@
85
85
  "benchmarks": [
86
86
  {
87
87
  "test name": "10,000 add randomly",
88
- "time taken (ms)": "48.80",
89
- "executions per sec": "20.49",
90
- "sample deviation": "2.79e-4"
88
+ "time taken (ms)": "49.96",
89
+ "executions per sec": "20.02",
90
+ "sample deviation": "7.65e-4"
91
91
  },
92
92
  {
93
93
  "test name": "10,000 add & delete randomly",
94
- "time taken (ms)": "110.72",
95
- "executions per sec": "9.03",
96
- "sample deviation": "0.00"
94
+ "time taken (ms)": "116.77",
95
+ "executions per sec": "8.56",
96
+ "sample deviation": "0.02"
97
97
  },
98
98
  {
99
99
  "test name": "10,000 addMany",
100
- "time taken (ms)": "46.19",
101
- "executions per sec": "21.65",
102
- "sample deviation": "0.00"
100
+ "time taken (ms)": "49.06",
101
+ "executions per sec": "20.38",
102
+ "sample deviation": "0.01"
103
103
  },
104
104
  {
105
105
  "test name": "10,000 get",
106
- "time taken (ms)": "49.28",
107
- "executions per sec": "20.29",
108
- "sample deviation": "7.92e-4"
106
+ "time taken (ms)": "49.06",
107
+ "executions per sec": "20.38",
108
+ "sample deviation": "7.13e-4"
109
109
  }
110
110
  ],
111
111
  "testName": "bst"
@@ -114,27 +114,27 @@
114
114
  "benchmarks": [
115
115
  {
116
116
  "test name": "100,000 add",
117
- "time taken (ms)": "80.84",
118
- "executions per sec": "12.37",
119
- "sample deviation": "0.00"
117
+ "time taken (ms)": "83.42",
118
+ "executions per sec": "11.99",
119
+ "sample deviation": "0.01"
120
120
  },
121
121
  {
122
122
  "test name": "100,000 add & delete randomly",
123
- "time taken (ms)": "206.65",
124
- "executions per sec": "4.84",
125
- "sample deviation": "0.01"
123
+ "time taken (ms)": "243.05",
124
+ "executions per sec": "4.11",
125
+ "sample deviation": "0.07"
126
126
  },
127
127
  {
128
128
  "test name": "100,000 getNode",
129
- "time taken (ms)": "57.42",
130
- "executions per sec": "17.42",
131
- "sample deviation": "0.00"
129
+ "time taken (ms)": "218.87",
130
+ "executions per sec": "4.57",
131
+ "sample deviation": "0.05"
132
132
  },
133
133
  {
134
134
  "test name": "100,000 add & iterator",
135
- "time taken (ms)": "109.59",
136
- "executions per sec": "9.12",
137
- "sample deviation": "0.00"
135
+ "time taken (ms)": "124.22",
136
+ "executions per sec": "8.05",
137
+ "sample deviation": "0.01"
138
138
  }
139
139
  ],
140
140
  "testName": "rb-tree"
@@ -143,39 +143,39 @@
143
143
  "benchmarks": [
144
144
  {
145
145
  "test name": "SRC PQ 10,000 add",
146
- "time taken (ms)": "0.14",
147
- "executions per sec": "6917.74",
148
- "sample deviation": "1.81e-6"
146
+ "time taken (ms)": "0.15",
147
+ "executions per sec": "6710.40",
148
+ "sample deviation": "1.90e-5"
149
149
  },
150
150
  {
151
151
  "test name": "CJS PQ 10,000 add",
152
- "time taken (ms)": "0.15",
153
- "executions per sec": "6883.53",
154
- "sample deviation": "3.84e-6"
152
+ "time taken (ms)": "0.16",
153
+ "executions per sec": "6407.42",
154
+ "sample deviation": "4.25e-5"
155
155
  },
156
156
  {
157
157
  "test name": "MJS PQ 10,000 add",
158
- "time taken (ms)": "0.57",
159
- "executions per sec": "1761.70",
160
- "sample deviation": "5.07e-6"
158
+ "time taken (ms)": "0.62",
159
+ "executions per sec": "1602.37",
160
+ "sample deviation": "1.51e-4"
161
161
  },
162
162
  {
163
163
  "test name": "SRC PQ 10,000 add & poll",
164
- "time taken (ms)": "3.45",
165
- "executions per sec": "289.74",
166
- "sample deviation": "3.63e-4"
164
+ "time taken (ms)": "3.67",
165
+ "executions per sec": "272.42",
166
+ "sample deviation": "0.00"
167
167
  },
168
168
  {
169
169
  "test name": "CJS PQ 10,000 add & poll",
170
- "time taken (ms)": "3.53",
171
- "executions per sec": "283.14",
172
- "sample deviation": "4.73e-5"
170
+ "time taken (ms)": "3.95",
171
+ "executions per sec": "252.90",
172
+ "sample deviation": "0.00"
173
173
  },
174
174
  {
175
175
  "test name": "MJS PQ 10,000 add & poll",
176
- "time taken (ms)": "3.31",
177
- "executions per sec": "302.38",
178
- "sample deviation": "3.64e-5"
176
+ "time taken (ms)": "3.33",
177
+ "executions per sec": "300.28",
178
+ "sample deviation": "8.65e-5"
179
179
  }
180
180
  ],
181
181
  "testName": "comparison"
@@ -184,45 +184,45 @@
184
184
  "benchmarks": [
185
185
  {
186
186
  "test name": "1,000 addVertex",
187
- "time taken (ms)": "0.10",
188
- "executions per sec": "9860.53",
189
- "sample deviation": "9.32e-7"
187
+ "time taken (ms)": "0.11",
188
+ "executions per sec": "8958.10",
189
+ "sample deviation": "3.30e-5"
190
190
  },
191
191
  {
192
192
  "test name": "1,000 addEdge",
193
- "time taken (ms)": "6.34",
194
- "executions per sec": "157.71",
195
- "sample deviation": "8.55e-4"
193
+ "time taken (ms)": "6.37",
194
+ "executions per sec": "156.98",
195
+ "sample deviation": "1.96e-4"
196
196
  },
197
197
  {
198
198
  "test name": "1,000 getVertex",
199
199
  "time taken (ms)": "0.05",
200
- "executions per sec": "2.16e+4",
201
- "sample deviation": "4.61e-7"
200
+ "executions per sec": "2.04e+4",
201
+ "sample deviation": "8.22e-6"
202
202
  },
203
203
  {
204
204
  "test name": "1,000 getEdge",
205
- "time taken (ms)": "22.67",
206
- "executions per sec": "44.12",
205
+ "time taken (ms)": "24.49",
206
+ "executions per sec": "40.83",
207
207
  "sample deviation": "0.00"
208
208
  },
209
209
  {
210
210
  "test name": "tarjan",
211
- "time taken (ms)": "217.59",
212
- "executions per sec": "4.60",
213
- "sample deviation": "0.01"
211
+ "time taken (ms)": "235.54",
212
+ "executions per sec": "4.25",
213
+ "sample deviation": "0.04"
214
214
  },
215
215
  {
216
216
  "test name": "tarjan all",
217
- "time taken (ms)": "6489.86",
217
+ "time taken (ms)": "6766.74",
218
218
  "executions per sec": "0.15",
219
- "sample deviation": "0.09"
219
+ "sample deviation": "0.32"
220
220
  },
221
221
  {
222
222
  "test name": "topologicalSort",
223
- "time taken (ms)": "179.22",
224
- "executions per sec": "5.58",
225
- "sample deviation": "0.00"
223
+ "time taken (ms)": "197.52",
224
+ "executions per sec": "5.06",
225
+ "sample deviation": "0.04"
226
226
  }
227
227
  ],
228
228
  "testName": "directed-graph"
@@ -231,57 +231,57 @@
231
231
  "benchmarks": [
232
232
  {
233
233
  "test name": "1,000,000 set",
234
- "time taken (ms)": "108.75",
235
- "executions per sec": "9.20",
236
- "sample deviation": "0.04"
234
+ "time taken (ms)": "117.82",
235
+ "executions per sec": "8.49",
236
+ "sample deviation": "0.05"
237
237
  },
238
238
  {
239
239
  "test name": "Native Map 1,000,000 set",
240
- "time taken (ms)": "217.55",
241
- "executions per sec": "4.60",
242
- "sample deviation": "0.02"
240
+ "time taken (ms)": "220.92",
241
+ "executions per sec": "4.53",
242
+ "sample deviation": "0.03"
243
243
  },
244
244
  {
245
245
  "test name": "Native Set 1,000,000 add",
246
- "time taken (ms)": "179.67",
247
- "executions per sec": "5.57",
248
- "sample deviation": "0.03"
246
+ "time taken (ms)": "187.44",
247
+ "executions per sec": "5.34",
248
+ "sample deviation": "0.02"
249
249
  },
250
250
  {
251
251
  "test name": "1,000,000 set & get",
252
- "time taken (ms)": "122.66",
253
- "executions per sec": "8.15",
254
- "sample deviation": "0.03"
252
+ "time taken (ms)": "125.44",
253
+ "executions per sec": "7.97",
254
+ "sample deviation": "0.04"
255
255
  },
256
256
  {
257
257
  "test name": "Native Map 1,000,000 set & get",
258
- "time taken (ms)": "282.47",
259
- "executions per sec": "3.54",
260
- "sample deviation": "0.04"
258
+ "time taken (ms)": "300.10",
259
+ "executions per sec": "3.33",
260
+ "sample deviation": "0.06"
261
261
  },
262
262
  {
263
263
  "test name": "Native Set 1,000,000 add & has",
264
- "time taken (ms)": "174.48",
265
- "executions per sec": "5.73",
264
+ "time taken (ms)": "200.88",
265
+ "executions per sec": "4.98",
266
266
  "sample deviation": "0.02"
267
267
  },
268
268
  {
269
269
  "test name": "1,000,000 ObjKey set & get",
270
- "time taken (ms)": "336.83",
271
- "executions per sec": "2.97",
270
+ "time taken (ms)": "361.00",
271
+ "executions per sec": "2.77",
272
272
  "sample deviation": "0.06"
273
273
  },
274
274
  {
275
275
  "test name": "Native Map 1,000,000 ObjKey set & get",
276
- "time taken (ms)": "314.00",
277
- "executions per sec": "3.18",
278
- "sample deviation": "0.06"
276
+ "time taken (ms)": "335.34",
277
+ "executions per sec": "2.98",
278
+ "sample deviation": "0.09"
279
279
  },
280
280
  {
281
281
  "test name": "Native Set 1,000,000 ObjKey add & has",
282
- "time taken (ms)": "267.84",
283
- "executions per sec": "3.73",
284
- "sample deviation": "0.03"
282
+ "time taken (ms)": "261.28",
283
+ "executions per sec": "3.83",
284
+ "sample deviation": "0.07"
285
285
  }
286
286
  ],
287
287
  "testName": "hash-map"
@@ -290,21 +290,21 @@
290
290
  "benchmarks": [
291
291
  {
292
292
  "test name": "100,000 add & poll",
293
- "time taken (ms)": "80.49",
294
- "executions per sec": "12.42",
293
+ "time taken (ms)": "80.43",
294
+ "executions per sec": "12.43",
295
295
  "sample deviation": "0.00"
296
296
  },
297
297
  {
298
298
  "test name": "100,000 add & dfs",
299
- "time taken (ms)": "34.01",
300
- "executions per sec": "29.40",
301
- "sample deviation": "3.88e-4"
299
+ "time taken (ms)": "36.95",
300
+ "executions per sec": "27.07",
301
+ "sample deviation": "0.00"
302
302
  },
303
303
  {
304
304
  "test name": "10,000 fib add & pop",
305
- "time taken (ms)": "359.70",
306
- "executions per sec": "2.78",
307
- "sample deviation": "0.00"
305
+ "time taken (ms)": "386.63",
306
+ "executions per sec": "2.59",
307
+ "sample deviation": "0.05"
308
308
  }
309
309
  ],
310
310
  "testName": "heap"
@@ -313,26 +313,26 @@
313
313
  "benchmarks": [
314
314
  {
315
315
  "test name": "1,000,000 push",
316
- "time taken (ms)": "229.17",
317
- "executions per sec": "4.36",
318
- "sample deviation": "0.06"
316
+ "time taken (ms)": "235.15",
317
+ "executions per sec": "4.25",
318
+ "sample deviation": "0.07"
319
319
  },
320
320
  {
321
321
  "test name": "1,000,000 unshift",
322
- "time taken (ms)": "220.53",
323
- "executions per sec": "4.53",
324
- "sample deviation": "0.06"
322
+ "time taken (ms)": "245.36",
323
+ "executions per sec": "4.08",
324
+ "sample deviation": "0.08"
325
325
  },
326
326
  {
327
327
  "test name": "1,000,000 unshift & shift",
328
- "time taken (ms)": "172.12",
329
- "executions per sec": "5.81",
328
+ "time taken (ms)": "175.53",
329
+ "executions per sec": "5.70",
330
330
  "sample deviation": "0.03"
331
331
  },
332
332
  {
333
333
  "test name": "1,000,000 addBefore",
334
- "time taken (ms)": "309.58",
335
- "executions per sec": "3.23",
334
+ "time taken (ms)": "319.21",
335
+ "executions per sec": "3.13",
336
336
  "sample deviation": "0.06"
337
337
  }
338
338
  ],
@@ -342,21 +342,21 @@
342
342
  "benchmarks": [
343
343
  {
344
344
  "test name": "1,000,000 push & shift",
345
- "time taken (ms)": "211.62",
346
- "executions per sec": "4.73",
347
- "sample deviation": "0.06"
345
+ "time taken (ms)": "202.02",
346
+ "executions per sec": "4.95",
347
+ "sample deviation": "0.04"
348
348
  },
349
349
  {
350
350
  "test name": "10,000 push & pop",
351
- "time taken (ms)": "219.72",
352
- "executions per sec": "4.55",
353
- "sample deviation": "0.03"
351
+ "time taken (ms)": "228.77",
352
+ "executions per sec": "4.37",
353
+ "sample deviation": "0.04"
354
354
  },
355
355
  {
356
356
  "test name": "10,000 addBefore",
357
- "time taken (ms)": "249.09",
358
- "executions per sec": "4.01",
359
- "sample deviation": "0.01"
357
+ "time taken (ms)": "274.25",
358
+ "executions per sec": "3.65",
359
+ "sample deviation": "0.05"
360
360
  }
361
361
  ],
362
362
  "testName": "singly-linked-list"
@@ -365,9 +365,9 @@
365
365
  "benchmarks": [
366
366
  {
367
367
  "test name": "10,000 refill & poll",
368
- "time taken (ms)": "8.96",
369
- "executions per sec": "111.61",
370
- "sample deviation": "1.80e-4"
368
+ "time taken (ms)": "9.39",
369
+ "executions per sec": "106.51",
370
+ "sample deviation": "0.00"
371
371
  }
372
372
  ],
373
373
  "testName": "max-priority-queue"
@@ -376,9 +376,9 @@
376
376
  "benchmarks": [
377
377
  {
378
378
  "test name": "100,000 add & poll",
379
- "time taken (ms)": "106.14",
380
- "executions per sec": "9.42",
381
- "sample deviation": "0.00"
379
+ "time taken (ms)": "114.36",
380
+ "executions per sec": "8.74",
381
+ "sample deviation": "0.02"
382
382
  }
383
383
  ],
384
384
  "testName": "priority-queue"
@@ -387,39 +387,39 @@
387
387
  "benchmarks": [
388
388
  {
389
389
  "test name": "1,000,000 push",
390
- "time taken (ms)": "13.91",
391
- "executions per sec": "71.89",
392
- "sample deviation": "4.15e-4"
390
+ "time taken (ms)": "14.81",
391
+ "executions per sec": "67.51",
392
+ "sample deviation": "0.00"
393
393
  },
394
394
  {
395
395
  "test name": "1,000,000 push & pop",
396
- "time taken (ms)": "22.82",
397
- "executions per sec": "43.83",
398
- "sample deviation": "2.45e-4"
396
+ "time taken (ms)": "25.34",
397
+ "executions per sec": "39.47",
398
+ "sample deviation": "0.01"
399
399
  },
400
400
  {
401
401
  "test name": "100,000 push & shift",
402
- "time taken (ms)": "2.38",
403
- "executions per sec": "420.49",
404
- "sample deviation": "3.61e-5"
402
+ "time taken (ms)": "2.49",
403
+ "executions per sec": "400.86",
404
+ "sample deviation": "7.97e-4"
405
405
  },
406
406
  {
407
407
  "test name": "Native Array 100,000 push & shift",
408
- "time taken (ms)": "2718.62",
409
- "executions per sec": "0.37",
410
- "sample deviation": "0.35"
408
+ "time taken (ms)": "2390.92",
409
+ "executions per sec": "0.42",
410
+ "sample deviation": "0.17"
411
411
  },
412
412
  {
413
413
  "test name": "100,000 unshift & shift",
414
- "time taken (ms)": "2.28",
415
- "executions per sec": "438.78",
416
- "sample deviation": "4.18e-4"
414
+ "time taken (ms)": "2.48",
415
+ "executions per sec": "403.14",
416
+ "sample deviation": "6.46e-4"
417
417
  },
418
418
  {
419
419
  "test name": "Native Array 100,000 unshift & shift",
420
- "time taken (ms)": "4065.01",
421
- "executions per sec": "0.25",
422
- "sample deviation": "0.21"
420
+ "time taken (ms)": "4462.41",
421
+ "executions per sec": "0.22",
422
+ "sample deviation": "0.34"
423
423
  }
424
424
  ],
425
425
  "testName": "deque"
@@ -428,27 +428,27 @@
428
428
  "benchmarks": [
429
429
  {
430
430
  "test name": "1,000,000 push",
431
- "time taken (ms)": "44.46",
432
- "executions per sec": "22.49",
433
- "sample deviation": "0.01"
431
+ "time taken (ms)": "51.99",
432
+ "executions per sec": "19.24",
433
+ "sample deviation": "0.03"
434
434
  },
435
435
  {
436
436
  "test name": "100,000 push & shift",
437
- "time taken (ms)": "5.16",
438
- "executions per sec": "193.83",
439
- "sample deviation": "0.00"
437
+ "time taken (ms)": "5.23",
438
+ "executions per sec": "191.34",
439
+ "sample deviation": "7.00e-4"
440
440
  },
441
441
  {
442
442
  "test name": "Native Array 100,000 push & shift",
443
- "time taken (ms)": "2195.56",
444
- "executions per sec": "0.46",
445
- "sample deviation": "0.29"
443
+ "time taken (ms)": "2400.96",
444
+ "executions per sec": "0.42",
445
+ "sample deviation": "0.28"
446
446
  },
447
447
  {
448
448
  "test name": "Native Array 100,000 push & pop",
449
- "time taken (ms)": "4.40",
450
- "executions per sec": "227.04",
451
- "sample deviation": "0.00"
449
+ "time taken (ms)": "4.36",
450
+ "executions per sec": "229.52",
451
+ "sample deviation": "1.14e-4"
452
452
  }
453
453
  ],
454
454
  "testName": "queue"
@@ -457,14 +457,14 @@
457
457
  "benchmarks": [
458
458
  {
459
459
  "test name": "1,000,000 push",
460
- "time taken (ms)": "44.05",
461
- "executions per sec": "22.70",
460
+ "time taken (ms)": "43.55",
461
+ "executions per sec": "22.96",
462
462
  "sample deviation": "0.01"
463
463
  },
464
464
  {
465
465
  "test name": "1,000,000 push & pop",
466
- "time taken (ms)": "49.72",
467
- "executions per sec": "20.11",
466
+ "time taken (ms)": "55.29",
467
+ "executions per sec": "18.09",
468
468
  "sample deviation": "0.01"
469
469
  }
470
470
  ],
@@ -474,14 +474,14 @@
474
474
  "benchmarks": [
475
475
  {
476
476
  "test name": "100,000 push",
477
- "time taken (ms)": "44.33",
478
- "executions per sec": "22.56",
477
+ "time taken (ms)": "48.66",
478
+ "executions per sec": "20.55",
479
479
  "sample deviation": "0.00"
480
480
  },
481
481
  {
482
482
  "test name": "100,000 getWords",
483
- "time taken (ms)": "88.47",
484
- "executions per sec": "11.30",
483
+ "time taken (ms)": "95.09",
484
+ "executions per sec": "10.52",
485
485
  "sample deviation": "0.01"
486
486
  }
487
487
  ],