@harperfast/rocksdb-js 2.9.0 → 2.10.0
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.
- package/README.md +170 -18
- package/dist/index.cjs +85 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +66 -6
- package/dist/index.d.mts +66 -6
- package/dist/index.mjs +85 -13
- package/dist/index.mjs.map +1 -1
- package/docs/backups.md +3 -2
- package/docs/performance/mutex-contention-2026-09-16.json +684 -0
- package/docs/performance/mutex-contention-admission-2026-09-17.json +730 -0
- package/docs/performance/mutex-contention.md +204 -0
- package/docs/stats.md +47 -46
- package/docs/steady-clock-design.md +121 -0
- package/package.json +13 -13
package/docs/backups.md
CHANGED
|
@@ -202,8 +202,9 @@ The archive contains the standard RocksDB files for the snapshot (`CURRENT`, a `
|
|
|
202
202
|
consumer therefore lets obsolete SST files accumulate (transient disk pressure) until the stream
|
|
203
203
|
finishes. This is the cost of streaming with no scratch copy; a fast consumer is unaffected.
|
|
204
204
|
- **The database must stay open for the whole stream.** Closing or destroying the database while a
|
|
205
|
-
stream is in flight aborts
|
|
206
|
-
|
|
205
|
+
stream is in flight aborts the stream and makes the backup promise reject. `destroy()` waits for
|
|
206
|
+
the native producer to release its in-flight claim, then closes every handle for the path and
|
|
207
|
+
removes the database; it never tears the native database down underneath the copy.
|
|
207
208
|
- **A consumer error aborts the backup.** If `stream.write()` rejects (or the stream is aborted), the
|
|
208
209
|
backup promise rejects and the native producer stops.
|
|
209
210
|
|
|
@@ -0,0 +1,684 @@
|
|
|
1
|
+
{
|
|
2
|
+
"date": "2026-09-16",
|
|
3
|
+
"baseSource": "b4d104562e7d5353b6d7a4412e0a8b48ee805062",
|
|
4
|
+
"candidateSource": "b7a23da2",
|
|
5
|
+
"environment": {
|
|
6
|
+
"os": "macOS 26.6.2",
|
|
7
|
+
"arch": "arm64",
|
|
8
|
+
"logicalCPUs": 14,
|
|
9
|
+
"memoryGiB": 36,
|
|
10
|
+
"node": "24.16.0",
|
|
11
|
+
"rocksdb": "11.8.1",
|
|
12
|
+
"binding": "Release",
|
|
13
|
+
"storage": "local APFS"
|
|
14
|
+
},
|
|
15
|
+
"method": {
|
|
16
|
+
"repetitions": 5,
|
|
17
|
+
"seconds": 3,
|
|
18
|
+
"concurrencyPerWorker": 8,
|
|
19
|
+
"order": "alternating baseline/candidate by repetition",
|
|
20
|
+
"baseline": "supplied prebuilt main checkout Release binding",
|
|
21
|
+
"candidate": "locally rebuilt Release binding",
|
|
22
|
+
"profiled": false,
|
|
23
|
+
"warmup": false
|
|
24
|
+
},
|
|
25
|
+
"trials": [
|
|
26
|
+
{
|
|
27
|
+
"workers": 1,
|
|
28
|
+
"concurrency": 8,
|
|
29
|
+
"seconds": 3,
|
|
30
|
+
"mode": "log",
|
|
31
|
+
"count": 806801,
|
|
32
|
+
"elapsed": 3.0003562919999998,
|
|
33
|
+
"opsPerSecond": 268901.7308215074,
|
|
34
|
+
"cpu": {
|
|
35
|
+
"user": 3661678,
|
|
36
|
+
"system": 1658440
|
|
37
|
+
},
|
|
38
|
+
"label": "baseline",
|
|
39
|
+
"repeat": 0,
|
|
40
|
+
"binarySha256": "a981a3e5819e483cf3d71f07b1646de49802d00fcad427fb48c26892b19777b7"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"workers": 1,
|
|
44
|
+
"concurrency": 8,
|
|
45
|
+
"seconds": 3,
|
|
46
|
+
"mode": "log",
|
|
47
|
+
"count": 897610,
|
|
48
|
+
"elapsed": 3.000522583,
|
|
49
|
+
"opsPerSecond": 299151.222885497,
|
|
50
|
+
"cpu": {
|
|
51
|
+
"user": 3735354,
|
|
52
|
+
"system": 1654779
|
|
53
|
+
},
|
|
54
|
+
"label": "cached",
|
|
55
|
+
"repeat": 0,
|
|
56
|
+
"binarySha256": "2d547e57b775e4fa42b90f8f8abca8b36bda907700c8b0b21b1a72da7638a377"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"workers": 4,
|
|
60
|
+
"concurrency": 8,
|
|
61
|
+
"seconds": 3,
|
|
62
|
+
"mode": "log",
|
|
63
|
+
"count": 1026359,
|
|
64
|
+
"elapsed": 3.0002911250000004,
|
|
65
|
+
"opsPerSecond": 342086.47002547124,
|
|
66
|
+
"cpu": {
|
|
67
|
+
"user": 8170860,
|
|
68
|
+
"system": 4227615
|
|
69
|
+
},
|
|
70
|
+
"label": "baseline",
|
|
71
|
+
"repeat": 0,
|
|
72
|
+
"binarySha256": "a981a3e5819e483cf3d71f07b1646de49802d00fcad427fb48c26892b19777b7"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"workers": 4,
|
|
76
|
+
"concurrency": 8,
|
|
77
|
+
"seconds": 3,
|
|
78
|
+
"mode": "log",
|
|
79
|
+
"count": 988415,
|
|
80
|
+
"elapsed": 3.000413792,
|
|
81
|
+
"opsPerSecond": 329426.22868732637,
|
|
82
|
+
"cpu": {
|
|
83
|
+
"user": 8090457,
|
|
84
|
+
"system": 3728740
|
|
85
|
+
},
|
|
86
|
+
"label": "cached",
|
|
87
|
+
"repeat": 0,
|
|
88
|
+
"binarySha256": "2d547e57b775e4fa42b90f8f8abca8b36bda907700c8b0b21b1a72da7638a377"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"workers": 8,
|
|
92
|
+
"concurrency": 8,
|
|
93
|
+
"seconds": 3,
|
|
94
|
+
"mode": "log",
|
|
95
|
+
"count": 555242,
|
|
96
|
+
"elapsed": 3.0007678749999998,
|
|
97
|
+
"opsPerSecond": 185033.30585009014,
|
|
98
|
+
"cpu": {
|
|
99
|
+
"user": 7065631,
|
|
100
|
+
"system": 7683066
|
|
101
|
+
},
|
|
102
|
+
"label": "baseline",
|
|
103
|
+
"repeat": 0,
|
|
104
|
+
"binarySha256": "a981a3e5819e483cf3d71f07b1646de49802d00fcad427fb48c26892b19777b7"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"workers": 8,
|
|
108
|
+
"concurrency": 8,
|
|
109
|
+
"seconds": 3,
|
|
110
|
+
"mode": "log",
|
|
111
|
+
"count": 775744,
|
|
112
|
+
"elapsed": 3.0011731249999998,
|
|
113
|
+
"opsPerSecond": 258480.25678292054,
|
|
114
|
+
"cpu": {
|
|
115
|
+
"user": 9832018,
|
|
116
|
+
"system": 9776424
|
|
117
|
+
},
|
|
118
|
+
"label": "cached",
|
|
119
|
+
"repeat": 0,
|
|
120
|
+
"binarySha256": "2d547e57b775e4fa42b90f8f8abca8b36bda907700c8b0b21b1a72da7638a377"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"workers": 4,
|
|
124
|
+
"concurrency": 8,
|
|
125
|
+
"seconds": 3,
|
|
126
|
+
"mode": "put",
|
|
127
|
+
"count": 1425947,
|
|
128
|
+
"elapsed": 3.000233209,
|
|
129
|
+
"opsPerSecond": 475278.7202416437,
|
|
130
|
+
"cpu": {
|
|
131
|
+
"user": 12364974,
|
|
132
|
+
"system": 1849008
|
|
133
|
+
},
|
|
134
|
+
"label": "baseline",
|
|
135
|
+
"repeat": 0,
|
|
136
|
+
"binarySha256": "a981a3e5819e483cf3d71f07b1646de49802d00fcad427fb48c26892b19777b7"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"workers": 4,
|
|
140
|
+
"concurrency": 8,
|
|
141
|
+
"seconds": 3,
|
|
142
|
+
"mode": "put",
|
|
143
|
+
"count": 1523994,
|
|
144
|
+
"elapsed": 3.000297292,
|
|
145
|
+
"opsPerSecond": 507947.66374105035,
|
|
146
|
+
"cpu": {
|
|
147
|
+
"user": 12835991,
|
|
148
|
+
"system": 1550003
|
|
149
|
+
},
|
|
150
|
+
"label": "cached",
|
|
151
|
+
"repeat": 0,
|
|
152
|
+
"binarySha256": "2d547e57b775e4fa42b90f8f8abca8b36bda907700c8b0b21b1a72da7638a377"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"workers": 1,
|
|
156
|
+
"concurrency": 8,
|
|
157
|
+
"seconds": 3,
|
|
158
|
+
"mode": "log",
|
|
159
|
+
"count": 897480,
|
|
160
|
+
"elapsed": 3.00040225,
|
|
161
|
+
"opsPerSecond": 299119.8930076792,
|
|
162
|
+
"cpu": {
|
|
163
|
+
"user": 3690603,
|
|
164
|
+
"system": 1690525
|
|
165
|
+
},
|
|
166
|
+
"label": "cached",
|
|
167
|
+
"repeat": 1,
|
|
168
|
+
"binarySha256": "2d547e57b775e4fa42b90f8f8abca8b36bda907700c8b0b21b1a72da7638a377"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"workers": 1,
|
|
172
|
+
"concurrency": 8,
|
|
173
|
+
"seconds": 3,
|
|
174
|
+
"mode": "log",
|
|
175
|
+
"count": 857502,
|
|
176
|
+
"elapsed": 3.0002095419999995,
|
|
177
|
+
"opsPerSecond": 285814.0366517107,
|
|
178
|
+
"cpu": {
|
|
179
|
+
"user": 3675504,
|
|
180
|
+
"system": 1650026
|
|
181
|
+
},
|
|
182
|
+
"label": "baseline",
|
|
183
|
+
"repeat": 1,
|
|
184
|
+
"binarySha256": "a981a3e5819e483cf3d71f07b1646de49802d00fcad427fb48c26892b19777b7"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"workers": 4,
|
|
188
|
+
"concurrency": 8,
|
|
189
|
+
"seconds": 3,
|
|
190
|
+
"mode": "log",
|
|
191
|
+
"count": 1038533,
|
|
192
|
+
"elapsed": 3.000368292,
|
|
193
|
+
"opsPerSecond": 346135.1737281991,
|
|
194
|
+
"cpu": {
|
|
195
|
+
"user": 8109202,
|
|
196
|
+
"system": 3714085
|
|
197
|
+
},
|
|
198
|
+
"label": "cached",
|
|
199
|
+
"repeat": 1,
|
|
200
|
+
"binarySha256": "2d547e57b775e4fa42b90f8f8abca8b36bda907700c8b0b21b1a72da7638a377"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"workers": 4,
|
|
204
|
+
"concurrency": 8,
|
|
205
|
+
"seconds": 3,
|
|
206
|
+
"mode": "log",
|
|
207
|
+
"count": 1018450,
|
|
208
|
+
"elapsed": 3.000258917,
|
|
209
|
+
"opsPerSecond": 339454.0365264082,
|
|
210
|
+
"cpu": {
|
|
211
|
+
"user": 8105245,
|
|
212
|
+
"system": 4249170
|
|
213
|
+
},
|
|
214
|
+
"label": "baseline",
|
|
215
|
+
"repeat": 1,
|
|
216
|
+
"binarySha256": "a981a3e5819e483cf3d71f07b1646de49802d00fcad427fb48c26892b19777b7"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"workers": 8,
|
|
220
|
+
"concurrency": 8,
|
|
221
|
+
"seconds": 3,
|
|
222
|
+
"mode": "log",
|
|
223
|
+
"count": 769837,
|
|
224
|
+
"elapsed": 3.0004899999999997,
|
|
225
|
+
"opsPerSecond": 256570.4268302844,
|
|
226
|
+
"cpu": {
|
|
227
|
+
"user": 9518342,
|
|
228
|
+
"system": 9172905
|
|
229
|
+
},
|
|
230
|
+
"label": "cached",
|
|
231
|
+
"repeat": 1,
|
|
232
|
+
"binarySha256": "2d547e57b775e4fa42b90f8f8abca8b36bda907700c8b0b21b1a72da7638a377"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"workers": 8,
|
|
236
|
+
"concurrency": 8,
|
|
237
|
+
"seconds": 3,
|
|
238
|
+
"mode": "log",
|
|
239
|
+
"count": 537002,
|
|
240
|
+
"elapsed": 3.000509333,
|
|
241
|
+
"opsPerSecond": 178970.28150986924,
|
|
242
|
+
"cpu": {
|
|
243
|
+
"user": 7050614,
|
|
244
|
+
"system": 7051248
|
|
245
|
+
},
|
|
246
|
+
"label": "baseline",
|
|
247
|
+
"repeat": 1,
|
|
248
|
+
"binarySha256": "a981a3e5819e483cf3d71f07b1646de49802d00fcad427fb48c26892b19777b7"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"workers": 4,
|
|
252
|
+
"concurrency": 8,
|
|
253
|
+
"seconds": 3,
|
|
254
|
+
"mode": "put",
|
|
255
|
+
"count": 1437010,
|
|
256
|
+
"elapsed": 3.000257584,
|
|
257
|
+
"opsPerSecond": 478962.20899945236,
|
|
258
|
+
"cpu": {
|
|
259
|
+
"user": 12627014,
|
|
260
|
+
"system": 1656368
|
|
261
|
+
},
|
|
262
|
+
"label": "cached",
|
|
263
|
+
"repeat": 1,
|
|
264
|
+
"binarySha256": "2d547e57b775e4fa42b90f8f8abca8b36bda907700c8b0b21b1a72da7638a377"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"workers": 4,
|
|
268
|
+
"concurrency": 8,
|
|
269
|
+
"seconds": 3,
|
|
270
|
+
"mode": "put",
|
|
271
|
+
"count": 1458006,
|
|
272
|
+
"elapsed": 3.000226084,
|
|
273
|
+
"opsPerSecond": 485965.3770012354,
|
|
274
|
+
"cpu": {
|
|
275
|
+
"user": 12533585,
|
|
276
|
+
"system": 1734610
|
|
277
|
+
},
|
|
278
|
+
"label": "baseline",
|
|
279
|
+
"repeat": 1,
|
|
280
|
+
"binarySha256": "a981a3e5819e483cf3d71f07b1646de49802d00fcad427fb48c26892b19777b7"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"workers": 1,
|
|
284
|
+
"concurrency": 8,
|
|
285
|
+
"seconds": 3,
|
|
286
|
+
"mode": "log",
|
|
287
|
+
"count": 855947,
|
|
288
|
+
"elapsed": 3.000187375,
|
|
289
|
+
"opsPerSecond": 285297.8474386121,
|
|
290
|
+
"cpu": {
|
|
291
|
+
"user": 3653090,
|
|
292
|
+
"system": 1638252
|
|
293
|
+
},
|
|
294
|
+
"label": "baseline",
|
|
295
|
+
"repeat": 2,
|
|
296
|
+
"binarySha256": "a981a3e5819e483cf3d71f07b1646de49802d00fcad427fb48c26892b19777b7"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"workers": 1,
|
|
300
|
+
"concurrency": 8,
|
|
301
|
+
"seconds": 3,
|
|
302
|
+
"mode": "log",
|
|
303
|
+
"count": 861611,
|
|
304
|
+
"elapsed": 3.000192208,
|
|
305
|
+
"opsPerSecond": 287185.2668980734,
|
|
306
|
+
"cpu": {
|
|
307
|
+
"user": 3672752,
|
|
308
|
+
"system": 1677301
|
|
309
|
+
},
|
|
310
|
+
"label": "cached",
|
|
311
|
+
"repeat": 2,
|
|
312
|
+
"binarySha256": "2d547e57b775e4fa42b90f8f8abca8b36bda907700c8b0b21b1a72da7638a377"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"workers": 4,
|
|
316
|
+
"concurrency": 8,
|
|
317
|
+
"seconds": 3,
|
|
318
|
+
"mode": "log",
|
|
319
|
+
"count": 996461,
|
|
320
|
+
"elapsed": 3.000281208,
|
|
321
|
+
"opsPerSecond": 332122.534828742,
|
|
322
|
+
"cpu": {
|
|
323
|
+
"user": 7936989,
|
|
324
|
+
"system": 4255087
|
|
325
|
+
},
|
|
326
|
+
"label": "baseline",
|
|
327
|
+
"repeat": 2,
|
|
328
|
+
"binarySha256": "a981a3e5819e483cf3d71f07b1646de49802d00fcad427fb48c26892b19777b7"
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"workers": 4,
|
|
332
|
+
"concurrency": 8,
|
|
333
|
+
"seconds": 3,
|
|
334
|
+
"mode": "log",
|
|
335
|
+
"count": 1011155,
|
|
336
|
+
"elapsed": 3.00031425,
|
|
337
|
+
"opsPerSecond": 337016.36420251644,
|
|
338
|
+
"cpu": {
|
|
339
|
+
"user": 7895224,
|
|
340
|
+
"system": 3671403
|
|
341
|
+
},
|
|
342
|
+
"label": "cached",
|
|
343
|
+
"repeat": 2,
|
|
344
|
+
"binarySha256": "2d547e57b775e4fa42b90f8f8abca8b36bda907700c8b0b21b1a72da7638a377"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"workers": 8,
|
|
348
|
+
"concurrency": 8,
|
|
349
|
+
"seconds": 3,
|
|
350
|
+
"mode": "log",
|
|
351
|
+
"count": 557637,
|
|
352
|
+
"elapsed": 3.0006965,
|
|
353
|
+
"opsPerSecond": 185835.8551089722,
|
|
354
|
+
"cpu": {
|
|
355
|
+
"user": 7036817,
|
|
356
|
+
"system": 7319141
|
|
357
|
+
},
|
|
358
|
+
"label": "baseline",
|
|
359
|
+
"repeat": 2,
|
|
360
|
+
"binarySha256": "a981a3e5819e483cf3d71f07b1646de49802d00fcad427fb48c26892b19777b7"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"workers": 8,
|
|
364
|
+
"concurrency": 8,
|
|
365
|
+
"seconds": 3,
|
|
366
|
+
"mode": "log",
|
|
367
|
+
"count": 785491,
|
|
368
|
+
"elapsed": 3.000508292,
|
|
369
|
+
"opsPerSecond": 261785.97876042797,
|
|
370
|
+
"cpu": {
|
|
371
|
+
"user": 9913540,
|
|
372
|
+
"system": 9601346
|
|
373
|
+
},
|
|
374
|
+
"label": "cached",
|
|
375
|
+
"repeat": 2,
|
|
376
|
+
"binarySha256": "2d547e57b775e4fa42b90f8f8abca8b36bda907700c8b0b21b1a72da7638a377"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"workers": 4,
|
|
380
|
+
"concurrency": 8,
|
|
381
|
+
"seconds": 3,
|
|
382
|
+
"mode": "put",
|
|
383
|
+
"count": 1447007,
|
|
384
|
+
"elapsed": 3.000294167,
|
|
385
|
+
"opsPerSecond": 482288.37555847573,
|
|
386
|
+
"cpu": {
|
|
387
|
+
"user": 12540066,
|
|
388
|
+
"system": 1773125
|
|
389
|
+
},
|
|
390
|
+
"label": "baseline",
|
|
391
|
+
"repeat": 2,
|
|
392
|
+
"binarySha256": "a981a3e5819e483cf3d71f07b1646de49802d00fcad427fb48c26892b19777b7"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"workers": 4,
|
|
396
|
+
"concurrency": 8,
|
|
397
|
+
"seconds": 3,
|
|
398
|
+
"mode": "put",
|
|
399
|
+
"count": 1503588,
|
|
400
|
+
"elapsed": 3.000345292,
|
|
401
|
+
"opsPerSecond": 501138.3203157005,
|
|
402
|
+
"cpu": {
|
|
403
|
+
"user": 12892304,
|
|
404
|
+
"system": 1459401
|
|
405
|
+
},
|
|
406
|
+
"label": "cached",
|
|
407
|
+
"repeat": 2,
|
|
408
|
+
"binarySha256": "2d547e57b775e4fa42b90f8f8abca8b36bda907700c8b0b21b1a72da7638a377"
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"workers": 1,
|
|
412
|
+
"concurrency": 8,
|
|
413
|
+
"seconds": 3,
|
|
414
|
+
"mode": "log",
|
|
415
|
+
"count": 866136,
|
|
416
|
+
"elapsed": 3.000206875,
|
|
417
|
+
"opsPerSecond": 288692.09227447025,
|
|
418
|
+
"cpu": {
|
|
419
|
+
"user": 3674107,
|
|
420
|
+
"system": 1672001
|
|
421
|
+
},
|
|
422
|
+
"label": "cached",
|
|
423
|
+
"repeat": 3,
|
|
424
|
+
"binarySha256": "2d547e57b775e4fa42b90f8f8abca8b36bda907700c8b0b21b1a72da7638a377"
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"workers": 1,
|
|
428
|
+
"concurrency": 8,
|
|
429
|
+
"seconds": 3,
|
|
430
|
+
"mode": "log",
|
|
431
|
+
"count": 890537,
|
|
432
|
+
"elapsed": 3.0005052910000005,
|
|
433
|
+
"opsPerSecond": 296795.6772718118,
|
|
434
|
+
"cpu": {
|
|
435
|
+
"user": 3692749,
|
|
436
|
+
"system": 1668087
|
|
437
|
+
},
|
|
438
|
+
"label": "baseline",
|
|
439
|
+
"repeat": 3,
|
|
440
|
+
"binarySha256": "a981a3e5819e483cf3d71f07b1646de49802d00fcad427fb48c26892b19777b7"
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"workers": 4,
|
|
444
|
+
"concurrency": 8,
|
|
445
|
+
"seconds": 3,
|
|
446
|
+
"mode": "log",
|
|
447
|
+
"count": 960833,
|
|
448
|
+
"elapsed": 3.000368209,
|
|
449
|
+
"opsPerSecond": 320238.3617843486,
|
|
450
|
+
"cpu": {
|
|
451
|
+
"user": 7858054,
|
|
452
|
+
"system": 3637367
|
|
453
|
+
},
|
|
454
|
+
"label": "cached",
|
|
455
|
+
"repeat": 3,
|
|
456
|
+
"binarySha256": "2d547e57b775e4fa42b90f8f8abca8b36bda907700c8b0b21b1a72da7638a377"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"workers": 4,
|
|
460
|
+
"concurrency": 8,
|
|
461
|
+
"seconds": 3,
|
|
462
|
+
"mode": "log",
|
|
463
|
+
"count": 1010277,
|
|
464
|
+
"elapsed": 3.0003176249999997,
|
|
465
|
+
"opsPerSecond": 336723.3494153807,
|
|
466
|
+
"cpu": {
|
|
467
|
+
"user": 7948574,
|
|
468
|
+
"system": 4299997
|
|
469
|
+
},
|
|
470
|
+
"label": "baseline",
|
|
471
|
+
"repeat": 3,
|
|
472
|
+
"binarySha256": "a981a3e5819e483cf3d71f07b1646de49802d00fcad427fb48c26892b19777b7"
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"workers": 8,
|
|
476
|
+
"concurrency": 8,
|
|
477
|
+
"seconds": 3,
|
|
478
|
+
"mode": "log",
|
|
479
|
+
"count": 766611,
|
|
480
|
+
"elapsed": 3.0013183329999995,
|
|
481
|
+
"opsPerSecond": 255424.7550388052,
|
|
482
|
+
"cpu": {
|
|
483
|
+
"user": 9482669,
|
|
484
|
+
"system": 8655890
|
|
485
|
+
},
|
|
486
|
+
"label": "cached",
|
|
487
|
+
"repeat": 3,
|
|
488
|
+
"binarySha256": "2d547e57b775e4fa42b90f8f8abca8b36bda907700c8b0b21b1a72da7638a377"
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"workers": 8,
|
|
492
|
+
"concurrency": 8,
|
|
493
|
+
"seconds": 3,
|
|
494
|
+
"mode": "log",
|
|
495
|
+
"count": 559897,
|
|
496
|
+
"elapsed": 3.000535542,
|
|
497
|
+
"opsPerSecond": 186599.02279537803,
|
|
498
|
+
"cpu": {
|
|
499
|
+
"user": 7164733,
|
|
500
|
+
"system": 7252267
|
|
501
|
+
},
|
|
502
|
+
"label": "baseline",
|
|
503
|
+
"repeat": 3,
|
|
504
|
+
"binarySha256": "a981a3e5819e483cf3d71f07b1646de49802d00fcad427fb48c26892b19777b7"
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"workers": 4,
|
|
508
|
+
"concurrency": 8,
|
|
509
|
+
"seconds": 3,
|
|
510
|
+
"mode": "put",
|
|
511
|
+
"count": 1501350,
|
|
512
|
+
"elapsed": 3.000396292,
|
|
513
|
+
"opsPerSecond": 500383.900621085,
|
|
514
|
+
"cpu": {
|
|
515
|
+
"user": 12864045,
|
|
516
|
+
"system": 1515252
|
|
517
|
+
},
|
|
518
|
+
"label": "cached",
|
|
519
|
+
"repeat": 3,
|
|
520
|
+
"binarySha256": "2d547e57b775e4fa42b90f8f8abca8b36bda907700c8b0b21b1a72da7638a377"
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"workers": 4,
|
|
524
|
+
"concurrency": 8,
|
|
525
|
+
"seconds": 3,
|
|
526
|
+
"mode": "put",
|
|
527
|
+
"count": 1427616,
|
|
528
|
+
"elapsed": 3.0003219590000003,
|
|
529
|
+
"opsPerSecond": 475820.9350558567,
|
|
530
|
+
"cpu": {
|
|
531
|
+
"user": 12442442,
|
|
532
|
+
"system": 1793296
|
|
533
|
+
},
|
|
534
|
+
"label": "baseline",
|
|
535
|
+
"repeat": 3,
|
|
536
|
+
"binarySha256": "a981a3e5819e483cf3d71f07b1646de49802d00fcad427fb48c26892b19777b7"
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
"workers": 1,
|
|
540
|
+
"concurrency": 8,
|
|
541
|
+
"seconds": 3,
|
|
542
|
+
"mode": "log",
|
|
543
|
+
"count": 858725,
|
|
544
|
+
"elapsed": 3.0002887919999996,
|
|
545
|
+
"opsPerSecond": 286214.11455114355,
|
|
546
|
+
"cpu": {
|
|
547
|
+
"user": 3664082,
|
|
548
|
+
"system": 1667524
|
|
549
|
+
},
|
|
550
|
+
"label": "baseline",
|
|
551
|
+
"repeat": 4,
|
|
552
|
+
"binarySha256": "a981a3e5819e483cf3d71f07b1646de49802d00fcad427fb48c26892b19777b7"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"workers": 1,
|
|
556
|
+
"concurrency": 8,
|
|
557
|
+
"seconds": 3,
|
|
558
|
+
"mode": "log",
|
|
559
|
+
"count": 889239,
|
|
560
|
+
"elapsed": 3.000248917,
|
|
561
|
+
"opsPerSecond": 296388.40796221845,
|
|
562
|
+
"cpu": {
|
|
563
|
+
"user": 3701244,
|
|
564
|
+
"system": 1666236
|
|
565
|
+
},
|
|
566
|
+
"label": "cached",
|
|
567
|
+
"repeat": 4,
|
|
568
|
+
"binarySha256": "2d547e57b775e4fa42b90f8f8abca8b36bda907700c8b0b21b1a72da7638a377"
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"workers": 4,
|
|
572
|
+
"concurrency": 8,
|
|
573
|
+
"seconds": 3,
|
|
574
|
+
"mode": "log",
|
|
575
|
+
"count": 1052081,
|
|
576
|
+
"elapsed": 3.0003482089999998,
|
|
577
|
+
"opsPerSecond": 350652.9664937301,
|
|
578
|
+
"cpu": {
|
|
579
|
+
"user": 8214629,
|
|
580
|
+
"system": 4219457
|
|
581
|
+
},
|
|
582
|
+
"label": "baseline",
|
|
583
|
+
"repeat": 4,
|
|
584
|
+
"binarySha256": "a981a3e5819e483cf3d71f07b1646de49802d00fcad427fb48c26892b19777b7"
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"workers": 4,
|
|
588
|
+
"concurrency": 8,
|
|
589
|
+
"seconds": 3,
|
|
590
|
+
"mode": "log",
|
|
591
|
+
"count": 989174,
|
|
592
|
+
"elapsed": 3.0004090000000003,
|
|
593
|
+
"opsPerSecond": 329679.72033146146,
|
|
594
|
+
"cpu": {
|
|
595
|
+
"user": 7941465,
|
|
596
|
+
"system": 3669760
|
|
597
|
+
},
|
|
598
|
+
"label": "cached",
|
|
599
|
+
"repeat": 4,
|
|
600
|
+
"binarySha256": "2d547e57b775e4fa42b90f8f8abca8b36bda907700c8b0b21b1a72da7638a377"
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"workers": 8,
|
|
604
|
+
"concurrency": 8,
|
|
605
|
+
"seconds": 3,
|
|
606
|
+
"mode": "log",
|
|
607
|
+
"count": 564938,
|
|
608
|
+
"elapsed": 3.0006372499999996,
|
|
609
|
+
"opsPerSecond": 188272.6744127435,
|
|
610
|
+
"cpu": {
|
|
611
|
+
"user": 7139476,
|
|
612
|
+
"system": 7505227
|
|
613
|
+
},
|
|
614
|
+
"label": "baseline",
|
|
615
|
+
"repeat": 4,
|
|
616
|
+
"binarySha256": "a981a3e5819e483cf3d71f07b1646de49802d00fcad427fb48c26892b19777b7"
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"workers": 8,
|
|
620
|
+
"concurrency": 8,
|
|
621
|
+
"seconds": 3,
|
|
622
|
+
"mode": "log",
|
|
623
|
+
"count": 853248,
|
|
624
|
+
"elapsed": 3.001219,
|
|
625
|
+
"opsPerSecond": 284300.47923860274,
|
|
626
|
+
"cpu": {
|
|
627
|
+
"user": 10749226,
|
|
628
|
+
"system": 11635193
|
|
629
|
+
},
|
|
630
|
+
"label": "cached",
|
|
631
|
+
"repeat": 4,
|
|
632
|
+
"binarySha256": "2d547e57b775e4fa42b90f8f8abca8b36bda907700c8b0b21b1a72da7638a377"
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"workers": 4,
|
|
636
|
+
"concurrency": 8,
|
|
637
|
+
"seconds": 3,
|
|
638
|
+
"mode": "put",
|
|
639
|
+
"count": 1391885,
|
|
640
|
+
"elapsed": 3.0002652079999996,
|
|
641
|
+
"opsPerSecond": 463920.6548436568,
|
|
642
|
+
"cpu": {
|
|
643
|
+
"user": 12408785,
|
|
644
|
+
"system": 1774388
|
|
645
|
+
},
|
|
646
|
+
"label": "baseline",
|
|
647
|
+
"repeat": 4,
|
|
648
|
+
"binarySha256": "a981a3e5819e483cf3d71f07b1646de49802d00fcad427fb48c26892b19777b7"
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
"workers": 4,
|
|
652
|
+
"concurrency": 8,
|
|
653
|
+
"seconds": 3,
|
|
654
|
+
"mode": "put",
|
|
655
|
+
"count": 1477748,
|
|
656
|
+
"elapsed": 3.000391458,
|
|
657
|
+
"opsPerSecond": 492518.3999107359,
|
|
658
|
+
"cpu": {
|
|
659
|
+
"user": 12695908,
|
|
660
|
+
"system": 1584898
|
|
661
|
+
},
|
|
662
|
+
"label": "cached",
|
|
663
|
+
"repeat": 4,
|
|
664
|
+
"binarySha256": "2d547e57b775e4fa42b90f8f8abca8b36bda907700c8b0b21b1a72da7638a377"
|
|
665
|
+
}
|
|
666
|
+
],
|
|
667
|
+
"profiles": {
|
|
668
|
+
"method": "Apple sample requested interval 1 ms; attach ~1s after process launch; up to 15s, process runs 10s workload; thread samples, not CPU percentages",
|
|
669
|
+
"baseline": {
|
|
670
|
+
"mainThreadSamples": 7620,
|
|
671
|
+
"mutexWaitThreadSamples": 8081,
|
|
672
|
+
"completionWaitThreadSamples": 5192,
|
|
673
|
+
"transactionRegistryWaitThreadSamples": 2529,
|
|
674
|
+
"completedTransactions": 2958027
|
|
675
|
+
},
|
|
676
|
+
"candidate": {
|
|
677
|
+
"mainThreadSamples": 7428,
|
|
678
|
+
"mutexWaitThreadSamples": 2373,
|
|
679
|
+
"completionWaitThreadSamples": 128,
|
|
680
|
+
"transactionRegistryWaitThreadSamples": 1935,
|
|
681
|
+
"completedTransactions": 2917655
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
}
|