@fjell/registry 4.4.5 → 4.4.7

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 (52) hide show
  1. package/README.md +546 -0
  2. package/dist/Coordinate.cjs +8 -5
  3. package/dist/Coordinate.d.ts +1 -1
  4. package/dist/Coordinate.js +8 -5
  5. package/dist/Instance.cjs +1 -1
  6. package/dist/Instance.d.ts +1 -1
  7. package/dist/Instance.js +1 -1
  8. package/dist/Registry.cjs +99 -90
  9. package/dist/Registry.d.ts +3 -42
  10. package/dist/Registry.js +99 -90
  11. package/dist/RegistryHub.cjs +78 -0
  12. package/dist/RegistryHub.d.ts +3 -0
  13. package/dist/RegistryHub.js +74 -0
  14. package/dist/errors/CoordinateError.cjs +70 -0
  15. package/dist/errors/CoordinateError.d.ts +28 -0
  16. package/dist/errors/CoordinateError.js +63 -0
  17. package/dist/errors/InstanceError.cjs +101 -0
  18. package/dist/errors/InstanceError.d.ts +42 -0
  19. package/dist/errors/InstanceError.js +92 -0
  20. package/dist/errors/RegistryError.cjs +82 -0
  21. package/dist/errors/RegistryError.d.ts +31 -0
  22. package/dist/errors/RegistryError.js +75 -0
  23. package/dist/errors/RegistryHubError.cjs +92 -0
  24. package/dist/errors/RegistryHubError.d.ts +39 -0
  25. package/dist/errors/RegistryHubError.js +84 -0
  26. package/dist/errors/index.d.ts +4 -0
  27. package/dist/index.cjs +501 -101
  28. package/dist/index.cjs.map +1 -1
  29. package/dist/index.d.ts +3 -0
  30. package/dist/index.js +6 -1
  31. package/dist/types.d.ts +90 -0
  32. package/docs/TIMING_NODE_OPTIMIZATION.md +207 -0
  33. package/docs/TIMING_README.md +170 -0
  34. package/docs/memory-data/scaling-10-instances.json +526 -0
  35. package/docs/memory-data/scaling-100-instances.json +526 -0
  36. package/docs/memory-data/scaling-1000-instances.json +276 -0
  37. package/docs/memory-data/scaling-10000-instances.json +126 -0
  38. package/docs/memory-data/scaling-20-instances.json +526 -0
  39. package/docs/memory-data/scaling-200-instances.json +526 -0
  40. package/docs/memory-data/scaling-2000-instances.json +276 -0
  41. package/docs/memory-data/scaling-50-instances.json +526 -0
  42. package/docs/memory-data/scaling-500-instances.json +276 -0
  43. package/docs/memory-data/scaling-5000-instances.json +126 -0
  44. package/docs/memory-overhead.svg +120 -0
  45. package/docs/memory.md +430 -0
  46. package/docs/timing-range.svg +174 -0
  47. package/docs/timing.md +483 -0
  48. package/examples/README.md +187 -0
  49. package/examples/multi-level-keys.ts +374 -0
  50. package/examples/registry-hub-types.ts +437 -0
  51. package/examples/simple-example.ts +250 -0
  52. package/package.json +6 -4
@@ -0,0 +1,526 @@
1
+ {
2
+ "instanceCount": 20,
3
+ "iterations": 50,
4
+ "timestamp": "2025-07-19T19:08:19.343Z",
5
+ "measurements": [
6
+ {
7
+ "instanceCount": 20,
8
+ "memoryPerInstance": 2282,
9
+ "time": 0.0625840000000153
10
+ },
11
+ {
12
+ "instanceCount": 20,
13
+ "memoryPerInstance": 2122.8,
14
+ "time": 0.02816699999999628
15
+ },
16
+ {
17
+ "instanceCount": 20,
18
+ "memoryPerInstance": 2125.6,
19
+ "time": 0.025417000000004464
20
+ },
21
+ {
22
+ "instanceCount": 20,
23
+ "memoryPerInstance": 2201.6,
24
+ "time": 0.032667000000003554
25
+ },
26
+ {
27
+ "instanceCount": 20,
28
+ "memoryPerInstance": 8014.8,
29
+ "time": 0.03837500000003047
30
+ },
31
+ {
32
+ "instanceCount": 20,
33
+ "memoryPerInstance": 2122.8,
34
+ "time": 0.024208999999984826
35
+ },
36
+ {
37
+ "instanceCount": 20,
38
+ "memoryPerInstance": 2122.8,
39
+ "time": 0.025792000000024018
40
+ },
41
+ {
42
+ "instanceCount": 20,
43
+ "memoryPerInstance": 2122.8,
44
+ "time": 0.025040999999987434
45
+ },
46
+ {
47
+ "instanceCount": 20,
48
+ "memoryPerInstance": 2122.8,
49
+ "time": 0.024916999999959444
50
+ },
51
+ {
52
+ "instanceCount": 20,
53
+ "memoryPerInstance": 6028.8,
54
+ "time": 0.09899999999998954
55
+ },
56
+ {
57
+ "instanceCount": 20,
58
+ "memoryPerInstance": 2123.6,
59
+ "time": 0.028916999999978543
60
+ },
61
+ {
62
+ "instanceCount": 20,
63
+ "memoryPerInstance": 2122.8,
64
+ "time": 0.025832999999977346
65
+ },
66
+ {
67
+ "instanceCount": 20,
68
+ "memoryPerInstance": 2122.8,
69
+ "time": 0.02420799999998735
70
+ },
71
+ {
72
+ "instanceCount": 20,
73
+ "memoryPerInstance": 2122.8,
74
+ "time": 0.025041000000044278
75
+ },
76
+ {
77
+ "instanceCount": 20,
78
+ "memoryPerInstance": 6708,
79
+ "time": 0.038792000000000826
80
+ },
81
+ {
82
+ "instanceCount": 20,
83
+ "memoryPerInstance": 2122.8,
84
+ "time": 0.024249999999994998
85
+ },
86
+ {
87
+ "instanceCount": 20,
88
+ "memoryPerInstance": 2122.8,
89
+ "time": 0.025250000000028194
90
+ },
91
+ {
92
+ "instanceCount": 20,
93
+ "memoryPerInstance": 2122.8,
94
+ "time": 0.02383300000002464
95
+ },
96
+ {
97
+ "instanceCount": 20,
98
+ "memoryPerInstance": 2122.8,
99
+ "time": 0.026332999999965523
100
+ },
101
+ {
102
+ "instanceCount": 20,
103
+ "memoryPerInstance": 2169.6,
104
+ "time": 0.028250000000014097
105
+ },
106
+ {
107
+ "instanceCount": 20,
108
+ "memoryPerInstance": 2122.8,
109
+ "time": 0.03470799999996643
110
+ },
111
+ {
112
+ "instanceCount": 20,
113
+ "memoryPerInstance": 2122.8,
114
+ "time": 0.02404100000001108
115
+ },
116
+ {
117
+ "instanceCount": 20,
118
+ "memoryPerInstance": 2122.8,
119
+ "time": 0.034667000000013104
120
+ },
121
+ {
122
+ "instanceCount": 20,
123
+ "memoryPerInstance": 2122.8,
124
+ "time": 0.02391699999998309
125
+ },
126
+ {
127
+ "instanceCount": 20,
128
+ "memoryPerInstance": 2122.8,
129
+ "time": 0.02420799999998735
130
+ },
131
+ {
132
+ "instanceCount": 20,
133
+ "memoryPerInstance": 2123.2,
134
+ "time": 0.024666000000024724
135
+ },
136
+ {
137
+ "instanceCount": 20,
138
+ "memoryPerInstance": 2122.8,
139
+ "time": 0.1577909999999747
140
+ },
141
+ {
142
+ "instanceCount": 20,
143
+ "memoryPerInstance": 2122.8,
144
+ "time": 0.06712500000003274
145
+ },
146
+ {
147
+ "instanceCount": 20,
148
+ "memoryPerInstance": 2122.8,
149
+ "time": 0.09825000000000728
150
+ },
151
+ {
152
+ "instanceCount": 20,
153
+ "memoryPerInstance": 200,
154
+ "time": 2.6533749999999827
155
+ },
156
+ {
157
+ "instanceCount": 20,
158
+ "memoryPerInstance": 2124.4,
159
+ "time": 0.02495899999996709
160
+ },
161
+ {
162
+ "instanceCount": 20,
163
+ "memoryPerInstance": 2122.8,
164
+ "time": 0.022333000000003267
165
+ },
166
+ {
167
+ "instanceCount": 20,
168
+ "memoryPerInstance": 2122.8,
169
+ "time": 0.022041999999999007
170
+ },
171
+ {
172
+ "instanceCount": 20,
173
+ "memoryPerInstance": 2122.8,
174
+ "time": 0.02191699999997354
175
+ },
176
+ {
177
+ "instanceCount": 20,
178
+ "memoryPerInstance": 2693.6,
179
+ "time": 0.10887500000001182
180
+ },
181
+ {
182
+ "instanceCount": 20,
183
+ "memoryPerInstance": 2122.8,
184
+ "time": 0.0322500000000332
185
+ },
186
+ {
187
+ "instanceCount": 20,
188
+ "memoryPerInstance": 2122.8,
189
+ "time": 0.02800000000002001
190
+ },
191
+ {
192
+ "instanceCount": 20,
193
+ "memoryPerInstance": 2122.8,
194
+ "time": 0.020833000000038737
195
+ },
196
+ {
197
+ "instanceCount": 20,
198
+ "memoryPerInstance": 2122.8,
199
+ "time": 0.02095800000000736
200
+ },
201
+ {
202
+ "instanceCount": 20,
203
+ "memoryPerInstance": 2122.8,
204
+ "time": 0.03362499999997226
205
+ },
206
+ {
207
+ "instanceCount": 20,
208
+ "memoryPerInstance": 2124,
209
+ "time": 0.022208999999975276
210
+ },
211
+ {
212
+ "instanceCount": 20,
213
+ "memoryPerInstance": 2122.8,
214
+ "time": 0.02087499999998954
215
+ },
216
+ {
217
+ "instanceCount": 20,
218
+ "memoryPerInstance": 8014.8,
219
+ "time": 0.029374999999959073
220
+ },
221
+ {
222
+ "instanceCount": 20,
223
+ "memoryPerInstance": 2122.8,
224
+ "time": 0.02137500000003456
225
+ },
226
+ {
227
+ "instanceCount": 20,
228
+ "memoryPerInstance": 2124.4,
229
+ "time": 0.020916999999997188
230
+ },
231
+ {
232
+ "instanceCount": 20,
233
+ "memoryPerInstance": 2122.8,
234
+ "time": 0.021459000000049855
235
+ },
236
+ {
237
+ "instanceCount": 20,
238
+ "memoryPerInstance": 2122.8,
239
+ "time": 0.021374999999977717
240
+ },
241
+ {
242
+ "instanceCount": 20,
243
+ "memoryPerInstance": 9186.4,
244
+ "time": 0.029250000000047294
245
+ },
246
+ {
247
+ "instanceCount": 20,
248
+ "memoryPerInstance": 2122.8,
249
+ "time": 0.021292000000016742
250
+ },
251
+ {
252
+ "instanceCount": 20,
253
+ "memoryPerInstance": 2122.8,
254
+ "time": 0.02154200000001083
255
+ }
256
+ ],
257
+ "stats": {
258
+ "instanceCount": 20,
259
+ "iterations": 50,
260
+ "memoryPerInstance": {
261
+ "min": 200,
262
+ "max": 9186.4,
263
+ "average": 2648.400000000001,
264
+ "stdDev": 1707.9264152767237
265
+ },
266
+ "time": {
267
+ "min": 0.020833000000038737,
268
+ "max": 2.6533749999999827,
269
+ "average": 0.08730170000000158,
270
+ "stdDev": 0.3675316655163851
271
+ },
272
+ "status": "PASS",
273
+ "measurements": [
274
+ {
275
+ "instanceCount": 20,
276
+ "memoryPerInstance": 2282,
277
+ "time": 0.0625840000000153
278
+ },
279
+ {
280
+ "instanceCount": 20,
281
+ "memoryPerInstance": 2122.8,
282
+ "time": 0.02816699999999628
283
+ },
284
+ {
285
+ "instanceCount": 20,
286
+ "memoryPerInstance": 2125.6,
287
+ "time": 0.025417000000004464
288
+ },
289
+ {
290
+ "instanceCount": 20,
291
+ "memoryPerInstance": 2201.6,
292
+ "time": 0.032667000000003554
293
+ },
294
+ {
295
+ "instanceCount": 20,
296
+ "memoryPerInstance": 8014.8,
297
+ "time": 0.03837500000003047
298
+ },
299
+ {
300
+ "instanceCount": 20,
301
+ "memoryPerInstance": 2122.8,
302
+ "time": 0.024208999999984826
303
+ },
304
+ {
305
+ "instanceCount": 20,
306
+ "memoryPerInstance": 2122.8,
307
+ "time": 0.025792000000024018
308
+ },
309
+ {
310
+ "instanceCount": 20,
311
+ "memoryPerInstance": 2122.8,
312
+ "time": 0.025040999999987434
313
+ },
314
+ {
315
+ "instanceCount": 20,
316
+ "memoryPerInstance": 2122.8,
317
+ "time": 0.024916999999959444
318
+ },
319
+ {
320
+ "instanceCount": 20,
321
+ "memoryPerInstance": 6028.8,
322
+ "time": 0.09899999999998954
323
+ },
324
+ {
325
+ "instanceCount": 20,
326
+ "memoryPerInstance": 2123.6,
327
+ "time": 0.028916999999978543
328
+ },
329
+ {
330
+ "instanceCount": 20,
331
+ "memoryPerInstance": 2122.8,
332
+ "time": 0.025832999999977346
333
+ },
334
+ {
335
+ "instanceCount": 20,
336
+ "memoryPerInstance": 2122.8,
337
+ "time": 0.02420799999998735
338
+ },
339
+ {
340
+ "instanceCount": 20,
341
+ "memoryPerInstance": 2122.8,
342
+ "time": 0.025041000000044278
343
+ },
344
+ {
345
+ "instanceCount": 20,
346
+ "memoryPerInstance": 6708,
347
+ "time": 0.038792000000000826
348
+ },
349
+ {
350
+ "instanceCount": 20,
351
+ "memoryPerInstance": 2122.8,
352
+ "time": 0.024249999999994998
353
+ },
354
+ {
355
+ "instanceCount": 20,
356
+ "memoryPerInstance": 2122.8,
357
+ "time": 0.025250000000028194
358
+ },
359
+ {
360
+ "instanceCount": 20,
361
+ "memoryPerInstance": 2122.8,
362
+ "time": 0.02383300000002464
363
+ },
364
+ {
365
+ "instanceCount": 20,
366
+ "memoryPerInstance": 2122.8,
367
+ "time": 0.026332999999965523
368
+ },
369
+ {
370
+ "instanceCount": 20,
371
+ "memoryPerInstance": 2169.6,
372
+ "time": 0.028250000000014097
373
+ },
374
+ {
375
+ "instanceCount": 20,
376
+ "memoryPerInstance": 2122.8,
377
+ "time": 0.03470799999996643
378
+ },
379
+ {
380
+ "instanceCount": 20,
381
+ "memoryPerInstance": 2122.8,
382
+ "time": 0.02404100000001108
383
+ },
384
+ {
385
+ "instanceCount": 20,
386
+ "memoryPerInstance": 2122.8,
387
+ "time": 0.034667000000013104
388
+ },
389
+ {
390
+ "instanceCount": 20,
391
+ "memoryPerInstance": 2122.8,
392
+ "time": 0.02391699999998309
393
+ },
394
+ {
395
+ "instanceCount": 20,
396
+ "memoryPerInstance": 2122.8,
397
+ "time": 0.02420799999998735
398
+ },
399
+ {
400
+ "instanceCount": 20,
401
+ "memoryPerInstance": 2123.2,
402
+ "time": 0.024666000000024724
403
+ },
404
+ {
405
+ "instanceCount": 20,
406
+ "memoryPerInstance": 2122.8,
407
+ "time": 0.1577909999999747
408
+ },
409
+ {
410
+ "instanceCount": 20,
411
+ "memoryPerInstance": 2122.8,
412
+ "time": 0.06712500000003274
413
+ },
414
+ {
415
+ "instanceCount": 20,
416
+ "memoryPerInstance": 2122.8,
417
+ "time": 0.09825000000000728
418
+ },
419
+ {
420
+ "instanceCount": 20,
421
+ "memoryPerInstance": 200,
422
+ "time": 2.6533749999999827
423
+ },
424
+ {
425
+ "instanceCount": 20,
426
+ "memoryPerInstance": 2124.4,
427
+ "time": 0.02495899999996709
428
+ },
429
+ {
430
+ "instanceCount": 20,
431
+ "memoryPerInstance": 2122.8,
432
+ "time": 0.022333000000003267
433
+ },
434
+ {
435
+ "instanceCount": 20,
436
+ "memoryPerInstance": 2122.8,
437
+ "time": 0.022041999999999007
438
+ },
439
+ {
440
+ "instanceCount": 20,
441
+ "memoryPerInstance": 2122.8,
442
+ "time": 0.02191699999997354
443
+ },
444
+ {
445
+ "instanceCount": 20,
446
+ "memoryPerInstance": 2693.6,
447
+ "time": 0.10887500000001182
448
+ },
449
+ {
450
+ "instanceCount": 20,
451
+ "memoryPerInstance": 2122.8,
452
+ "time": 0.0322500000000332
453
+ },
454
+ {
455
+ "instanceCount": 20,
456
+ "memoryPerInstance": 2122.8,
457
+ "time": 0.02800000000002001
458
+ },
459
+ {
460
+ "instanceCount": 20,
461
+ "memoryPerInstance": 2122.8,
462
+ "time": 0.020833000000038737
463
+ },
464
+ {
465
+ "instanceCount": 20,
466
+ "memoryPerInstance": 2122.8,
467
+ "time": 0.02095800000000736
468
+ },
469
+ {
470
+ "instanceCount": 20,
471
+ "memoryPerInstance": 2122.8,
472
+ "time": 0.03362499999997226
473
+ },
474
+ {
475
+ "instanceCount": 20,
476
+ "memoryPerInstance": 2124,
477
+ "time": 0.022208999999975276
478
+ },
479
+ {
480
+ "instanceCount": 20,
481
+ "memoryPerInstance": 2122.8,
482
+ "time": 0.02087499999998954
483
+ },
484
+ {
485
+ "instanceCount": 20,
486
+ "memoryPerInstance": 8014.8,
487
+ "time": 0.029374999999959073
488
+ },
489
+ {
490
+ "instanceCount": 20,
491
+ "memoryPerInstance": 2122.8,
492
+ "time": 0.02137500000003456
493
+ },
494
+ {
495
+ "instanceCount": 20,
496
+ "memoryPerInstance": 2124.4,
497
+ "time": 0.020916999999997188
498
+ },
499
+ {
500
+ "instanceCount": 20,
501
+ "memoryPerInstance": 2122.8,
502
+ "time": 0.021459000000049855
503
+ },
504
+ {
505
+ "instanceCount": 20,
506
+ "memoryPerInstance": 2122.8,
507
+ "time": 0.021374999999977717
508
+ },
509
+ {
510
+ "instanceCount": 20,
511
+ "memoryPerInstance": 9186.4,
512
+ "time": 0.029250000000047294
513
+ },
514
+ {
515
+ "instanceCount": 20,
516
+ "memoryPerInstance": 2122.8,
517
+ "time": 0.021292000000016742
518
+ },
519
+ {
520
+ "instanceCount": 20,
521
+ "memoryPerInstance": 2122.8,
522
+ "time": 0.02154200000001083
523
+ }
524
+ ]
525
+ }
526
+ }