@fjell/registry 4.4.4 → 4.4.6

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 (55) 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 +4 -4
  6. package/dist/Instance.d.ts +3 -4
  7. package/dist/Instance.js +4 -4
  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 -112
  28. package/dist/index.cjs.map +1 -1
  29. package/dist/index.d.ts +3 -1
  30. package/dist/index.js +6 -2
  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 +5 -3
  53. package/dist/Definition.cjs +0 -18
  54. package/dist/Definition.d.ts +0 -5
  55. package/dist/Definition.js +0 -14
@@ -0,0 +1,526 @@
1
+ {
2
+ "instanceCount": 10,
3
+ "iterations": 50,
4
+ "timestamp": "2025-07-19T19:08:19.336Z",
5
+ "measurements": [
6
+ {
7
+ "instanceCount": 10,
8
+ "memoryPerInstance": 2567.2,
9
+ "time": 0.040916999999979
10
+ },
11
+ {
12
+ "instanceCount": 10,
13
+ "memoryPerInstance": 2240.8,
14
+ "time": 0.01591600000000426
15
+ },
16
+ {
17
+ "instanceCount": 10,
18
+ "memoryPerInstance": 2240.8,
19
+ "time": 0.014625000000023647
20
+ },
21
+ {
22
+ "instanceCount": 10,
23
+ "memoryPerInstance": 7404.8,
24
+ "time": 0.020250000000032742
25
+ },
26
+ {
27
+ "instanceCount": 10,
28
+ "memoryPerInstance": 2240.8,
29
+ "time": 0.014499999999998181
30
+ },
31
+ {
32
+ "instanceCount": 10,
33
+ "memoryPerInstance": 5769.6,
34
+ "time": 0.027125000000012278
35
+ },
36
+ {
37
+ "instanceCount": 10,
38
+ "memoryPerInstance": 2240.8,
39
+ "time": 0.017875000000003638
40
+ },
41
+ {
42
+ "instanceCount": 10,
43
+ "memoryPerInstance": 2240.8,
44
+ "time": 0.013707999999951426
45
+ },
46
+ {
47
+ "instanceCount": 10,
48
+ "memoryPerInstance": 2240.8,
49
+ "time": 0.013874999999984539
50
+ },
51
+ {
52
+ "instanceCount": 10,
53
+ "memoryPerInstance": 11082.4,
54
+ "time": 0.015458999999964362
55
+ },
56
+ {
57
+ "instanceCount": 10,
58
+ "memoryPerInstance": 2240.8,
59
+ "time": 0.024959000000023934
60
+ },
61
+ {
62
+ "instanceCount": 10,
63
+ "memoryPerInstance": 2240.8,
64
+ "time": 0.016582999999968706
65
+ },
66
+ {
67
+ "instanceCount": 10,
68
+ "memoryPerInstance": 2240.8,
69
+ "time": 0.014958999999976186
70
+ },
71
+ {
72
+ "instanceCount": 10,
73
+ "memoryPerInstance": 2240.8,
74
+ "time": 0.016458000000000084
75
+ },
76
+ {
77
+ "instanceCount": 10,
78
+ "memoryPerInstance": 2244,
79
+ "time": 0.014917000000025382
80
+ },
81
+ {
82
+ "instanceCount": 10,
83
+ "memoryPerInstance": 2240.8,
84
+ "time": 0.02345900000000256
85
+ },
86
+ {
87
+ "instanceCount": 10,
88
+ "memoryPerInstance": 2242.4,
89
+ "time": 0.014333999999962543
90
+ },
91
+ {
92
+ "instanceCount": 10,
93
+ "memoryPerInstance": 2240.8,
94
+ "time": 0.017166999999972177
95
+ },
96
+ {
97
+ "instanceCount": 10,
98
+ "memoryPerInstance": 2240.8,
99
+ "time": 0.014333000000021912
100
+ },
101
+ {
102
+ "instanceCount": 10,
103
+ "memoryPerInstance": 26460.8,
104
+ "time": 0.014583000000016
105
+ },
106
+ {
107
+ "instanceCount": 10,
108
+ "memoryPerInstance": 2240.8,
109
+ "time": 0.015416999999956715
110
+ },
111
+ {
112
+ "instanceCount": 10,
113
+ "memoryPerInstance": 2240.8,
114
+ "time": 0.01445899999998801
115
+ },
116
+ {
117
+ "instanceCount": 10,
118
+ "memoryPerInstance": 2240.8,
119
+ "time": 0.015374999999949068
120
+ },
121
+ {
122
+ "instanceCount": 10,
123
+ "memoryPerInstance": 2240.8,
124
+ "time": 0.014333000000021912
125
+ },
126
+ {
127
+ "instanceCount": 10,
128
+ "memoryPerInstance": 7404.8,
129
+ "time": 0.02962499999995316
130
+ },
131
+ {
132
+ "instanceCount": 10,
133
+ "memoryPerInstance": 10112,
134
+ "time": 0.02391600000004246
135
+ },
136
+ {
137
+ "instanceCount": 10,
138
+ "memoryPerInstance": 2240.8,
139
+ "time": 0.019707999999980075
140
+ },
141
+ {
142
+ "instanceCount": 10,
143
+ "memoryPerInstance": 2240.8,
144
+ "time": 0.014374999999972715
145
+ },
146
+ {
147
+ "instanceCount": 10,
148
+ "memoryPerInstance": 2240.8,
149
+ "time": 0.014250000000004093
150
+ },
151
+ {
152
+ "instanceCount": 10,
153
+ "memoryPerInstance": 2240.8,
154
+ "time": 0.014207999999996446
155
+ },
156
+ {
157
+ "instanceCount": 10,
158
+ "memoryPerInstance": 2240.8,
159
+ "time": 0.018709000000001197
160
+ },
161
+ {
162
+ "instanceCount": 10,
163
+ "memoryPerInstance": 2240.8,
164
+ "time": 0.01583299999998644
165
+ },
166
+ {
167
+ "instanceCount": 10,
168
+ "memoryPerInstance": 2240.8,
169
+ "time": 0.014584000000013475
170
+ },
171
+ {
172
+ "instanceCount": 10,
173
+ "memoryPerInstance": 200,
174
+ "time": 0.014542000000005828
175
+ },
176
+ {
177
+ "instanceCount": 10,
178
+ "memoryPerInstance": 200,
179
+ "time": 1.0285420000000158
180
+ },
181
+ {
182
+ "instanceCount": 10,
183
+ "memoryPerInstance": 7408,
184
+ "time": 0.07916599999998652
185
+ },
186
+ {
187
+ "instanceCount": 10,
188
+ "memoryPerInstance": 27788,
189
+ "time": 0.05937499999998863
190
+ },
191
+ {
192
+ "instanceCount": 10,
193
+ "memoryPerInstance": 200,
194
+ "time": 0.06887499999999136
195
+ },
196
+ {
197
+ "instanceCount": 10,
198
+ "memoryPerInstance": 2160.8,
199
+ "time": 0.017125000000021373
200
+ },
201
+ {
202
+ "instanceCount": 10,
203
+ "memoryPerInstance": 2160.8,
204
+ "time": 0.014417000000037206
205
+ },
206
+ {
207
+ "instanceCount": 10,
208
+ "memoryPerInstance": 2160.8,
209
+ "time": 0.02483399999999847
210
+ },
211
+ {
212
+ "instanceCount": 10,
213
+ "memoryPerInstance": 2160.8,
214
+ "time": 0.014999999999986358
215
+ },
216
+ {
217
+ "instanceCount": 10,
218
+ "memoryPerInstance": 2160.8,
219
+ "time": 0.012709000000029391
220
+ },
221
+ {
222
+ "instanceCount": 10,
223
+ "memoryPerInstance": 2160.8,
224
+ "time": 0.013125000000002274
225
+ },
226
+ {
227
+ "instanceCount": 10,
228
+ "memoryPerInstance": 2160.8,
229
+ "time": 0.039332999999999174
230
+ },
231
+ {
232
+ "instanceCount": 10,
233
+ "memoryPerInstance": 2160.8,
234
+ "time": 0.01362499999999045
235
+ },
236
+ {
237
+ "instanceCount": 10,
238
+ "memoryPerInstance": 2160.8,
239
+ "time": 0.014791999999999916
240
+ },
241
+ {
242
+ "instanceCount": 10,
243
+ "memoryPerInstance": 2160.8,
244
+ "time": 0.013166000000012446
245
+ },
246
+ {
247
+ "instanceCount": 10,
248
+ "memoryPerInstance": 2160.8,
249
+ "time": 0.012917000000015832
250
+ },
251
+ {
252
+ "instanceCount": 10,
253
+ "memoryPerInstance": 2168,
254
+ "time": 0.014999999999986358
255
+ }
256
+ ],
257
+ "stats": {
258
+ "instanceCount": 10,
259
+ "iterations": 50,
260
+ "memoryPerInstance": {
261
+ "min": 200,
262
+ "max": 27788,
263
+ "average": 3815.9999999999986,
264
+ "stdDev": 5216.3162799814945
265
+ },
266
+ "time": {
267
+ "min": 0.012709000000029391,
268
+ "max": 1.0285420000000158,
269
+ "average": 0.04094673999999714,
270
+ "stdDev": 0.14175187983541204
271
+ },
272
+ "status": "PASS",
273
+ "measurements": [
274
+ {
275
+ "instanceCount": 10,
276
+ "memoryPerInstance": 2567.2,
277
+ "time": 0.040916999999979
278
+ },
279
+ {
280
+ "instanceCount": 10,
281
+ "memoryPerInstance": 2240.8,
282
+ "time": 0.01591600000000426
283
+ },
284
+ {
285
+ "instanceCount": 10,
286
+ "memoryPerInstance": 2240.8,
287
+ "time": 0.014625000000023647
288
+ },
289
+ {
290
+ "instanceCount": 10,
291
+ "memoryPerInstance": 7404.8,
292
+ "time": 0.020250000000032742
293
+ },
294
+ {
295
+ "instanceCount": 10,
296
+ "memoryPerInstance": 2240.8,
297
+ "time": 0.014499999999998181
298
+ },
299
+ {
300
+ "instanceCount": 10,
301
+ "memoryPerInstance": 5769.6,
302
+ "time": 0.027125000000012278
303
+ },
304
+ {
305
+ "instanceCount": 10,
306
+ "memoryPerInstance": 2240.8,
307
+ "time": 0.017875000000003638
308
+ },
309
+ {
310
+ "instanceCount": 10,
311
+ "memoryPerInstance": 2240.8,
312
+ "time": 0.013707999999951426
313
+ },
314
+ {
315
+ "instanceCount": 10,
316
+ "memoryPerInstance": 2240.8,
317
+ "time": 0.013874999999984539
318
+ },
319
+ {
320
+ "instanceCount": 10,
321
+ "memoryPerInstance": 11082.4,
322
+ "time": 0.015458999999964362
323
+ },
324
+ {
325
+ "instanceCount": 10,
326
+ "memoryPerInstance": 2240.8,
327
+ "time": 0.024959000000023934
328
+ },
329
+ {
330
+ "instanceCount": 10,
331
+ "memoryPerInstance": 2240.8,
332
+ "time": 0.016582999999968706
333
+ },
334
+ {
335
+ "instanceCount": 10,
336
+ "memoryPerInstance": 2240.8,
337
+ "time": 0.014958999999976186
338
+ },
339
+ {
340
+ "instanceCount": 10,
341
+ "memoryPerInstance": 2240.8,
342
+ "time": 0.016458000000000084
343
+ },
344
+ {
345
+ "instanceCount": 10,
346
+ "memoryPerInstance": 2244,
347
+ "time": 0.014917000000025382
348
+ },
349
+ {
350
+ "instanceCount": 10,
351
+ "memoryPerInstance": 2240.8,
352
+ "time": 0.02345900000000256
353
+ },
354
+ {
355
+ "instanceCount": 10,
356
+ "memoryPerInstance": 2242.4,
357
+ "time": 0.014333999999962543
358
+ },
359
+ {
360
+ "instanceCount": 10,
361
+ "memoryPerInstance": 2240.8,
362
+ "time": 0.017166999999972177
363
+ },
364
+ {
365
+ "instanceCount": 10,
366
+ "memoryPerInstance": 2240.8,
367
+ "time": 0.014333000000021912
368
+ },
369
+ {
370
+ "instanceCount": 10,
371
+ "memoryPerInstance": 26460.8,
372
+ "time": 0.014583000000016
373
+ },
374
+ {
375
+ "instanceCount": 10,
376
+ "memoryPerInstance": 2240.8,
377
+ "time": 0.015416999999956715
378
+ },
379
+ {
380
+ "instanceCount": 10,
381
+ "memoryPerInstance": 2240.8,
382
+ "time": 0.01445899999998801
383
+ },
384
+ {
385
+ "instanceCount": 10,
386
+ "memoryPerInstance": 2240.8,
387
+ "time": 0.015374999999949068
388
+ },
389
+ {
390
+ "instanceCount": 10,
391
+ "memoryPerInstance": 2240.8,
392
+ "time": 0.014333000000021912
393
+ },
394
+ {
395
+ "instanceCount": 10,
396
+ "memoryPerInstance": 7404.8,
397
+ "time": 0.02962499999995316
398
+ },
399
+ {
400
+ "instanceCount": 10,
401
+ "memoryPerInstance": 10112,
402
+ "time": 0.02391600000004246
403
+ },
404
+ {
405
+ "instanceCount": 10,
406
+ "memoryPerInstance": 2240.8,
407
+ "time": 0.019707999999980075
408
+ },
409
+ {
410
+ "instanceCount": 10,
411
+ "memoryPerInstance": 2240.8,
412
+ "time": 0.014374999999972715
413
+ },
414
+ {
415
+ "instanceCount": 10,
416
+ "memoryPerInstance": 2240.8,
417
+ "time": 0.014250000000004093
418
+ },
419
+ {
420
+ "instanceCount": 10,
421
+ "memoryPerInstance": 2240.8,
422
+ "time": 0.014207999999996446
423
+ },
424
+ {
425
+ "instanceCount": 10,
426
+ "memoryPerInstance": 2240.8,
427
+ "time": 0.018709000000001197
428
+ },
429
+ {
430
+ "instanceCount": 10,
431
+ "memoryPerInstance": 2240.8,
432
+ "time": 0.01583299999998644
433
+ },
434
+ {
435
+ "instanceCount": 10,
436
+ "memoryPerInstance": 2240.8,
437
+ "time": 0.014584000000013475
438
+ },
439
+ {
440
+ "instanceCount": 10,
441
+ "memoryPerInstance": 200,
442
+ "time": 0.014542000000005828
443
+ },
444
+ {
445
+ "instanceCount": 10,
446
+ "memoryPerInstance": 200,
447
+ "time": 1.0285420000000158
448
+ },
449
+ {
450
+ "instanceCount": 10,
451
+ "memoryPerInstance": 7408,
452
+ "time": 0.07916599999998652
453
+ },
454
+ {
455
+ "instanceCount": 10,
456
+ "memoryPerInstance": 27788,
457
+ "time": 0.05937499999998863
458
+ },
459
+ {
460
+ "instanceCount": 10,
461
+ "memoryPerInstance": 200,
462
+ "time": 0.06887499999999136
463
+ },
464
+ {
465
+ "instanceCount": 10,
466
+ "memoryPerInstance": 2160.8,
467
+ "time": 0.017125000000021373
468
+ },
469
+ {
470
+ "instanceCount": 10,
471
+ "memoryPerInstance": 2160.8,
472
+ "time": 0.014417000000037206
473
+ },
474
+ {
475
+ "instanceCount": 10,
476
+ "memoryPerInstance": 2160.8,
477
+ "time": 0.02483399999999847
478
+ },
479
+ {
480
+ "instanceCount": 10,
481
+ "memoryPerInstance": 2160.8,
482
+ "time": 0.014999999999986358
483
+ },
484
+ {
485
+ "instanceCount": 10,
486
+ "memoryPerInstance": 2160.8,
487
+ "time": 0.012709000000029391
488
+ },
489
+ {
490
+ "instanceCount": 10,
491
+ "memoryPerInstance": 2160.8,
492
+ "time": 0.013125000000002274
493
+ },
494
+ {
495
+ "instanceCount": 10,
496
+ "memoryPerInstance": 2160.8,
497
+ "time": 0.039332999999999174
498
+ },
499
+ {
500
+ "instanceCount": 10,
501
+ "memoryPerInstance": 2160.8,
502
+ "time": 0.01362499999999045
503
+ },
504
+ {
505
+ "instanceCount": 10,
506
+ "memoryPerInstance": 2160.8,
507
+ "time": 0.014791999999999916
508
+ },
509
+ {
510
+ "instanceCount": 10,
511
+ "memoryPerInstance": 2160.8,
512
+ "time": 0.013166000000012446
513
+ },
514
+ {
515
+ "instanceCount": 10,
516
+ "memoryPerInstance": 2160.8,
517
+ "time": 0.012917000000015832
518
+ },
519
+ {
520
+ "instanceCount": 10,
521
+ "memoryPerInstance": 2168,
522
+ "time": 0.014999999999986358
523
+ }
524
+ ]
525
+ }
526
+ }