@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": 200,
3
+ "iterations": 50,
4
+ "timestamp": "2025-07-19T19:08:19.410Z",
5
+ "measurements": [
6
+ {
7
+ "instanceCount": 200,
8
+ "memoryPerInstance": 1816.48,
9
+ "time": 0.647625000000005
10
+ },
11
+ {
12
+ "instanceCount": 200,
13
+ "memoryPerInstance": 1758.92,
14
+ "time": 0.8854170000000181
15
+ },
16
+ {
17
+ "instanceCount": 200,
18
+ "memoryPerInstance": 9033.08,
19
+ "time": 0.7827080000000137
20
+ },
21
+ {
22
+ "instanceCount": 200,
23
+ "memoryPerInstance": 1751.88,
24
+ "time": 0.20829199999997172
25
+ },
26
+ {
27
+ "instanceCount": 200,
28
+ "memoryPerInstance": 1802.2,
29
+ "time": 0.19020799999998417
30
+ },
31
+ {
32
+ "instanceCount": 200,
33
+ "memoryPerInstance": 1751.84,
34
+ "time": 0.18979099999995697
35
+ },
36
+ {
37
+ "instanceCount": 200,
38
+ "memoryPerInstance": 1751.84,
39
+ "time": 0.19404199999996763
40
+ },
41
+ {
42
+ "instanceCount": 200,
43
+ "memoryPerInstance": 1751.96,
44
+ "time": 0.18883399999998574
45
+ },
46
+ {
47
+ "instanceCount": 200,
48
+ "memoryPerInstance": 1752.16,
49
+ "time": 0.18866699999995262
50
+ },
51
+ {
52
+ "instanceCount": 200,
53
+ "memoryPerInstance": 8530.52,
54
+ "time": 0.36308300000001736
55
+ },
56
+ {
57
+ "instanceCount": 200,
58
+ "memoryPerInstance": 1751.88,
59
+ "time": 0.20800000000002683
60
+ },
61
+ {
62
+ "instanceCount": 200,
63
+ "memoryPerInstance": 766.24,
64
+ "time": 2.0701670000000263
65
+ },
66
+ {
67
+ "instanceCount": 200,
68
+ "memoryPerInstance": 200,
69
+ "time": 7.751583000000039
70
+ },
71
+ {
72
+ "instanceCount": 200,
73
+ "memoryPerInstance": 1752.08,
74
+ "time": 0.3132500000000391
75
+ },
76
+ {
77
+ "instanceCount": 200,
78
+ "memoryPerInstance": 1752.08,
79
+ "time": 0.19299999999998363
80
+ },
81
+ {
82
+ "instanceCount": 200,
83
+ "memoryPerInstance": 1752.32,
84
+ "time": 0.18954100000001972
85
+ },
86
+ {
87
+ "instanceCount": 200,
88
+ "memoryPerInstance": 1751.8,
89
+ "time": 0.18637499999999818
90
+ },
91
+ {
92
+ "instanceCount": 200,
93
+ "memoryPerInstance": 1751.76,
94
+ "time": 0.32604099999997516
95
+ },
96
+ {
97
+ "instanceCount": 200,
98
+ "memoryPerInstance": 1787.2,
99
+ "time": 0.19845800000001645
100
+ },
101
+ {
102
+ "instanceCount": 200,
103
+ "memoryPerInstance": 1752,
104
+ "time": 0.193916999999999
105
+ },
106
+ {
107
+ "instanceCount": 200,
108
+ "memoryPerInstance": 1751.8,
109
+ "time": 0.19429200000001856
110
+ },
111
+ {
112
+ "instanceCount": 200,
113
+ "memoryPerInstance": 1751.88,
114
+ "time": 0.1941669999999931
115
+ },
116
+ {
117
+ "instanceCount": 200,
118
+ "memoryPerInstance": 1751.84,
119
+ "time": 0.1890830000000392
120
+ },
121
+ {
122
+ "instanceCount": 200,
123
+ "memoryPerInstance": 1751.84,
124
+ "time": 0.22420799999997598
125
+ },
126
+ {
127
+ "instanceCount": 200,
128
+ "memoryPerInstance": 1751.88,
129
+ "time": 0.19308300000000145
130
+ },
131
+ {
132
+ "instanceCount": 200,
133
+ "memoryPerInstance": 1751.72,
134
+ "time": 0.195541999999989
135
+ },
136
+ {
137
+ "instanceCount": 200,
138
+ "memoryPerInstance": 1752.08,
139
+ "time": 0.19258300000001327
140
+ },
141
+ {
142
+ "instanceCount": 200,
143
+ "memoryPerInstance": 10785.72,
144
+ "time": 0.43708300000002964
145
+ },
146
+ {
147
+ "instanceCount": 200,
148
+ "memoryPerInstance": 1752.28,
149
+ "time": 0.19370900000001257
150
+ },
151
+ {
152
+ "instanceCount": 200,
153
+ "memoryPerInstance": 200,
154
+ "time": 5.635207999999977
155
+ },
156
+ {
157
+ "instanceCount": 200,
158
+ "memoryPerInstance": 1751.96,
159
+ "time": 0.3085829999999987
160
+ },
161
+ {
162
+ "instanceCount": 200,
163
+ "memoryPerInstance": 1751.72,
164
+ "time": 0.18200000000001637
165
+ },
166
+ {
167
+ "instanceCount": 200,
168
+ "memoryPerInstance": 1752.2,
169
+ "time": 0.9906249999999659
170
+ },
171
+ {
172
+ "instanceCount": 200,
173
+ "memoryPerInstance": 1751.88,
174
+ "time": 1.137166000000036
175
+ },
176
+ {
177
+ "instanceCount": 200,
178
+ "memoryPerInstance": 1752,
179
+ "time": 0.1888749999999959
180
+ },
181
+ {
182
+ "instanceCount": 200,
183
+ "memoryPerInstance": 1751.96,
184
+ "time": 0.17770799999999554
185
+ },
186
+ {
187
+ "instanceCount": 200,
188
+ "memoryPerInstance": 1751.88,
189
+ "time": 0.17824999999999136
190
+ },
191
+ {
192
+ "instanceCount": 200,
193
+ "memoryPerInstance": 11923.56,
194
+ "time": 0.5499580000000037
195
+ },
196
+ {
197
+ "instanceCount": 200,
198
+ "memoryPerInstance": 1751.8,
199
+ "time": 0.19108399999998937
200
+ },
201
+ {
202
+ "instanceCount": 200,
203
+ "memoryPerInstance": 1779.88,
204
+ "time": 1.6999999999999886
205
+ },
206
+ {
207
+ "instanceCount": 200,
208
+ "memoryPerInstance": 1752.04,
209
+ "time": 0.40262500000000045
210
+ },
211
+ {
212
+ "instanceCount": 200,
213
+ "memoryPerInstance": 1752.16,
214
+ "time": 0.6518330000000105
215
+ },
216
+ {
217
+ "instanceCount": 200,
218
+ "memoryPerInstance": 1751.8,
219
+ "time": 0.19524999999998727
220
+ },
221
+ {
222
+ "instanceCount": 200,
223
+ "memoryPerInstance": 1751.92,
224
+ "time": 0.48058299999996734
225
+ },
226
+ {
227
+ "instanceCount": 200,
228
+ "memoryPerInstance": 1751.8,
229
+ "time": 0.7568749999999795
230
+ },
231
+ {
232
+ "instanceCount": 200,
233
+ "memoryPerInstance": 1752,
234
+ "time": 3.628750000000025
235
+ },
236
+ {
237
+ "instanceCount": 200,
238
+ "memoryPerInstance": 1752.12,
239
+ "time": 0.2083329999999819
240
+ },
241
+ {
242
+ "instanceCount": 200,
243
+ "memoryPerInstance": 1751.72,
244
+ "time": 0.19162500000004457
245
+ },
246
+ {
247
+ "instanceCount": 200,
248
+ "memoryPerInstance": 1752.16,
249
+ "time": 0.3584170000000313
250
+ },
251
+ {
252
+ "instanceCount": 200,
253
+ "memoryPerInstance": 1751.8,
254
+ "time": 0.17074999999999818
255
+ }
256
+ ],
257
+ "stats": {
258
+ "instanceCount": 200,
259
+ "iterations": 50,
260
+ "memoryPerInstance": {
261
+ "min": 200,
262
+ "max": 11923.56,
263
+ "average": 2339.1528000000008,
264
+ "stdDev": 2334.9160262236755
265
+ },
266
+ "time": {
267
+ "min": 0.17074999999999818,
268
+ "max": 7.751583000000039,
269
+ "average": 0.715344940000001,
270
+ "stdDev": 1.3726993660209466
271
+ },
272
+ "status": "PASS",
273
+ "measurements": [
274
+ {
275
+ "instanceCount": 200,
276
+ "memoryPerInstance": 1816.48,
277
+ "time": 0.647625000000005
278
+ },
279
+ {
280
+ "instanceCount": 200,
281
+ "memoryPerInstance": 1758.92,
282
+ "time": 0.8854170000000181
283
+ },
284
+ {
285
+ "instanceCount": 200,
286
+ "memoryPerInstance": 9033.08,
287
+ "time": 0.7827080000000137
288
+ },
289
+ {
290
+ "instanceCount": 200,
291
+ "memoryPerInstance": 1751.88,
292
+ "time": 0.20829199999997172
293
+ },
294
+ {
295
+ "instanceCount": 200,
296
+ "memoryPerInstance": 1802.2,
297
+ "time": 0.19020799999998417
298
+ },
299
+ {
300
+ "instanceCount": 200,
301
+ "memoryPerInstance": 1751.84,
302
+ "time": 0.18979099999995697
303
+ },
304
+ {
305
+ "instanceCount": 200,
306
+ "memoryPerInstance": 1751.84,
307
+ "time": 0.19404199999996763
308
+ },
309
+ {
310
+ "instanceCount": 200,
311
+ "memoryPerInstance": 1751.96,
312
+ "time": 0.18883399999998574
313
+ },
314
+ {
315
+ "instanceCount": 200,
316
+ "memoryPerInstance": 1752.16,
317
+ "time": 0.18866699999995262
318
+ },
319
+ {
320
+ "instanceCount": 200,
321
+ "memoryPerInstance": 8530.52,
322
+ "time": 0.36308300000001736
323
+ },
324
+ {
325
+ "instanceCount": 200,
326
+ "memoryPerInstance": 1751.88,
327
+ "time": 0.20800000000002683
328
+ },
329
+ {
330
+ "instanceCount": 200,
331
+ "memoryPerInstance": 766.24,
332
+ "time": 2.0701670000000263
333
+ },
334
+ {
335
+ "instanceCount": 200,
336
+ "memoryPerInstance": 200,
337
+ "time": 7.751583000000039
338
+ },
339
+ {
340
+ "instanceCount": 200,
341
+ "memoryPerInstance": 1752.08,
342
+ "time": 0.3132500000000391
343
+ },
344
+ {
345
+ "instanceCount": 200,
346
+ "memoryPerInstance": 1752.08,
347
+ "time": 0.19299999999998363
348
+ },
349
+ {
350
+ "instanceCount": 200,
351
+ "memoryPerInstance": 1752.32,
352
+ "time": 0.18954100000001972
353
+ },
354
+ {
355
+ "instanceCount": 200,
356
+ "memoryPerInstance": 1751.8,
357
+ "time": 0.18637499999999818
358
+ },
359
+ {
360
+ "instanceCount": 200,
361
+ "memoryPerInstance": 1751.76,
362
+ "time": 0.32604099999997516
363
+ },
364
+ {
365
+ "instanceCount": 200,
366
+ "memoryPerInstance": 1787.2,
367
+ "time": 0.19845800000001645
368
+ },
369
+ {
370
+ "instanceCount": 200,
371
+ "memoryPerInstance": 1752,
372
+ "time": 0.193916999999999
373
+ },
374
+ {
375
+ "instanceCount": 200,
376
+ "memoryPerInstance": 1751.8,
377
+ "time": 0.19429200000001856
378
+ },
379
+ {
380
+ "instanceCount": 200,
381
+ "memoryPerInstance": 1751.88,
382
+ "time": 0.1941669999999931
383
+ },
384
+ {
385
+ "instanceCount": 200,
386
+ "memoryPerInstance": 1751.84,
387
+ "time": 0.1890830000000392
388
+ },
389
+ {
390
+ "instanceCount": 200,
391
+ "memoryPerInstance": 1751.84,
392
+ "time": 0.22420799999997598
393
+ },
394
+ {
395
+ "instanceCount": 200,
396
+ "memoryPerInstance": 1751.88,
397
+ "time": 0.19308300000000145
398
+ },
399
+ {
400
+ "instanceCount": 200,
401
+ "memoryPerInstance": 1751.72,
402
+ "time": 0.195541999999989
403
+ },
404
+ {
405
+ "instanceCount": 200,
406
+ "memoryPerInstance": 1752.08,
407
+ "time": 0.19258300000001327
408
+ },
409
+ {
410
+ "instanceCount": 200,
411
+ "memoryPerInstance": 10785.72,
412
+ "time": 0.43708300000002964
413
+ },
414
+ {
415
+ "instanceCount": 200,
416
+ "memoryPerInstance": 1752.28,
417
+ "time": 0.19370900000001257
418
+ },
419
+ {
420
+ "instanceCount": 200,
421
+ "memoryPerInstance": 200,
422
+ "time": 5.635207999999977
423
+ },
424
+ {
425
+ "instanceCount": 200,
426
+ "memoryPerInstance": 1751.96,
427
+ "time": 0.3085829999999987
428
+ },
429
+ {
430
+ "instanceCount": 200,
431
+ "memoryPerInstance": 1751.72,
432
+ "time": 0.18200000000001637
433
+ },
434
+ {
435
+ "instanceCount": 200,
436
+ "memoryPerInstance": 1752.2,
437
+ "time": 0.9906249999999659
438
+ },
439
+ {
440
+ "instanceCount": 200,
441
+ "memoryPerInstance": 1751.88,
442
+ "time": 1.137166000000036
443
+ },
444
+ {
445
+ "instanceCount": 200,
446
+ "memoryPerInstance": 1752,
447
+ "time": 0.1888749999999959
448
+ },
449
+ {
450
+ "instanceCount": 200,
451
+ "memoryPerInstance": 1751.96,
452
+ "time": 0.17770799999999554
453
+ },
454
+ {
455
+ "instanceCount": 200,
456
+ "memoryPerInstance": 1751.88,
457
+ "time": 0.17824999999999136
458
+ },
459
+ {
460
+ "instanceCount": 200,
461
+ "memoryPerInstance": 11923.56,
462
+ "time": 0.5499580000000037
463
+ },
464
+ {
465
+ "instanceCount": 200,
466
+ "memoryPerInstance": 1751.8,
467
+ "time": 0.19108399999998937
468
+ },
469
+ {
470
+ "instanceCount": 200,
471
+ "memoryPerInstance": 1779.88,
472
+ "time": 1.6999999999999886
473
+ },
474
+ {
475
+ "instanceCount": 200,
476
+ "memoryPerInstance": 1752.04,
477
+ "time": 0.40262500000000045
478
+ },
479
+ {
480
+ "instanceCount": 200,
481
+ "memoryPerInstance": 1752.16,
482
+ "time": 0.6518330000000105
483
+ },
484
+ {
485
+ "instanceCount": 200,
486
+ "memoryPerInstance": 1751.8,
487
+ "time": 0.19524999999998727
488
+ },
489
+ {
490
+ "instanceCount": 200,
491
+ "memoryPerInstance": 1751.92,
492
+ "time": 0.48058299999996734
493
+ },
494
+ {
495
+ "instanceCount": 200,
496
+ "memoryPerInstance": 1751.8,
497
+ "time": 0.7568749999999795
498
+ },
499
+ {
500
+ "instanceCount": 200,
501
+ "memoryPerInstance": 1752,
502
+ "time": 3.628750000000025
503
+ },
504
+ {
505
+ "instanceCount": 200,
506
+ "memoryPerInstance": 1752.12,
507
+ "time": 0.2083329999999819
508
+ },
509
+ {
510
+ "instanceCount": 200,
511
+ "memoryPerInstance": 1751.72,
512
+ "time": 0.19162500000004457
513
+ },
514
+ {
515
+ "instanceCount": 200,
516
+ "memoryPerInstance": 1752.16,
517
+ "time": 0.3584170000000313
518
+ },
519
+ {
520
+ "instanceCount": 200,
521
+ "memoryPerInstance": 1751.8,
522
+ "time": 0.17074999999999818
523
+ }
524
+ ]
525
+ }
526
+ }