@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": 100,
3
+ "iterations": 50,
4
+ "timestamp": "2025-07-19T19:08:19.371Z",
5
+ "measurements": [
6
+ {
7
+ "instanceCount": 100,
8
+ "memoryPerInstance": 1796.24,
9
+ "time": 0.32133299999998144
10
+ },
11
+ {
12
+ "instanceCount": 100,
13
+ "memoryPerInstance": 1756.24,
14
+ "time": 0.28058300000003555
15
+ },
16
+ {
17
+ "instanceCount": 100,
18
+ "memoryPerInstance": 1770.8,
19
+ "time": 0.291041000000007
20
+ },
21
+ {
22
+ "instanceCount": 100,
23
+ "memoryPerInstance": 1755.92,
24
+ "time": 0.2632499999999709
25
+ },
26
+ {
27
+ "instanceCount": 100,
28
+ "memoryPerInstance": 1756.24,
29
+ "time": 0.25995799999998326
30
+ },
31
+ {
32
+ "instanceCount": 100,
33
+ "memoryPerInstance": 1756.48,
34
+ "time": 0.2692920000000072
35
+ },
36
+ {
37
+ "instanceCount": 100,
38
+ "memoryPerInstance": 8853.76,
39
+ "time": 0.4199169999999981
40
+ },
41
+ {
42
+ "instanceCount": 100,
43
+ "memoryPerInstance": 1756.24,
44
+ "time": 0.3760000000000332
45
+ },
46
+ {
47
+ "instanceCount": 100,
48
+ "memoryPerInstance": 1769.04,
49
+ "time": 0.10499999999996135
50
+ },
51
+ {
52
+ "instanceCount": 100,
53
+ "memoryPerInstance": 1378.8,
54
+ "time": 0.09754199999997581
55
+ },
56
+ {
57
+ "instanceCount": 100,
58
+ "memoryPerInstance": 200,
59
+ "time": 3.041416999999967
60
+ },
61
+ {
62
+ "instanceCount": 100,
63
+ "memoryPerInstance": 1756.24,
64
+ "time": 0.2631670000000099
65
+ },
66
+ {
67
+ "instanceCount": 100,
68
+ "memoryPerInstance": 1756.4,
69
+ "time": 0.24220800000000509
70
+ },
71
+ {
72
+ "instanceCount": 100,
73
+ "memoryPerInstance": 1756.08,
74
+ "time": 0.2741669999999772
75
+ },
76
+ {
77
+ "instanceCount": 100,
78
+ "memoryPerInstance": 1755.92,
79
+ "time": 0.24704099999996743
80
+ },
81
+ {
82
+ "instanceCount": 100,
83
+ "memoryPerInstance": 1755.92,
84
+ "time": 0.32170899999999847
85
+ },
86
+ {
87
+ "instanceCount": 100,
88
+ "memoryPerInstance": 1772.56,
89
+ "time": 0.24408299999998917
90
+ },
91
+ {
92
+ "instanceCount": 100,
93
+ "memoryPerInstance": 1756,
94
+ "time": 0.239750000000015
95
+ },
96
+ {
97
+ "instanceCount": 100,
98
+ "memoryPerInstance": 1782.64,
99
+ "time": 0.3013750000000073
100
+ },
101
+ {
102
+ "instanceCount": 100,
103
+ "memoryPerInstance": 1756.48,
104
+ "time": 0.2880000000000109
105
+ },
106
+ {
107
+ "instanceCount": 100,
108
+ "memoryPerInstance": 6198.08,
109
+ "time": 0.3109999999999786
110
+ },
111
+ {
112
+ "instanceCount": 100,
113
+ "memoryPerInstance": 5869.04,
114
+ "time": 0.3111250000000041
115
+ },
116
+ {
117
+ "instanceCount": 100,
118
+ "memoryPerInstance": 1756.24,
119
+ "time": 0.2508330000000001
120
+ },
121
+ {
122
+ "instanceCount": 100,
123
+ "memoryPerInstance": 1757.36,
124
+ "time": 0.2271250000000009
125
+ },
126
+ {
127
+ "instanceCount": 100,
128
+ "memoryPerInstance": 1756.08,
129
+ "time": 0.1047919999999749
130
+ },
131
+ {
132
+ "instanceCount": 100,
133
+ "memoryPerInstance": 1755.92,
134
+ "time": 0.12362500000000409
135
+ },
136
+ {
137
+ "instanceCount": 100,
138
+ "memoryPerInstance": 1756.16,
139
+ "time": 0.08458300000000918
140
+ },
141
+ {
142
+ "instanceCount": 100,
143
+ "memoryPerInstance": 1756.08,
144
+ "time": 0.08320900000001075
145
+ },
146
+ {
147
+ "instanceCount": 100,
148
+ "memoryPerInstance": 1756.24,
149
+ "time": 0.25300000000004275
150
+ },
151
+ {
152
+ "instanceCount": 100,
153
+ "memoryPerInstance": 1756.08,
154
+ "time": 0.20949999999999136
155
+ },
156
+ {
157
+ "instanceCount": 100,
158
+ "memoryPerInstance": 1757.28,
159
+ "time": 0.31529199999999946
160
+ },
161
+ {
162
+ "instanceCount": 100,
163
+ "memoryPerInstance": 10789.92,
164
+ "time": 0.5623750000000314
165
+ },
166
+ {
167
+ "instanceCount": 100,
168
+ "memoryPerInstance": 1756.4,
169
+ "time": 0.29566600000003973
170
+ },
171
+ {
172
+ "instanceCount": 100,
173
+ "memoryPerInstance": 1756.4,
174
+ "time": 0.2621250000000259
175
+ },
176
+ {
177
+ "instanceCount": 100,
178
+ "memoryPerInstance": 1756.32,
179
+ "time": 0.22641599999997197
180
+ },
181
+ {
182
+ "instanceCount": 100,
183
+ "memoryPerInstance": 1755.92,
184
+ "time": 0.1114170000000172
185
+ },
186
+ {
187
+ "instanceCount": 100,
188
+ "memoryPerInstance": 1783.52,
189
+ "time": 0.30266699999998536
190
+ },
191
+ {
192
+ "instanceCount": 100,
193
+ "memoryPerInstance": 1756,
194
+ "time": 0.28587500000003274
195
+ },
196
+ {
197
+ "instanceCount": 100,
198
+ "memoryPerInstance": 1756.24,
199
+ "time": 0.4386250000000018
200
+ },
201
+ {
202
+ "instanceCount": 100,
203
+ "memoryPerInstance": 1756.08,
204
+ "time": 0.310292000000004
205
+ },
206
+ {
207
+ "instanceCount": 100,
208
+ "memoryPerInstance": 1756,
209
+ "time": 0.29879199999999173
210
+ },
211
+ {
212
+ "instanceCount": 100,
213
+ "memoryPerInstance": 1756.24,
214
+ "time": 0.26037500000001046
215
+ },
216
+ {
217
+ "instanceCount": 100,
218
+ "memoryPerInstance": 1756.48,
219
+ "time": 0.2725000000000364
220
+ },
221
+ {
222
+ "instanceCount": 100,
223
+ "memoryPerInstance": 1756.72,
224
+ "time": 0.28004199999998036
225
+ },
226
+ {
227
+ "instanceCount": 100,
228
+ "memoryPerInstance": 1756.24,
229
+ "time": 0.5295419999999922
230
+ },
231
+ {
232
+ "instanceCount": 100,
233
+ "memoryPerInstance": 1756.16,
234
+ "time": 0.2569159999999897
235
+ },
236
+ {
237
+ "instanceCount": 100,
238
+ "memoryPerInstance": 1756.48,
239
+ "time": 0.2811250000000314
240
+ },
241
+ {
242
+ "instanceCount": 100,
243
+ "memoryPerInstance": 1756.24,
244
+ "time": 0.11525000000000318
245
+ },
246
+ {
247
+ "instanceCount": 100,
248
+ "memoryPerInstance": 1756.32,
249
+ "time": 0.09670899999997573
250
+ },
251
+ {
252
+ "instanceCount": 100,
253
+ "memoryPerInstance": 1756.16,
254
+ "time": 0.11108400000000529
255
+ }
256
+ ],
257
+ "stats": {
258
+ "instanceCount": 100,
259
+ "iterations": 50,
260
+ "memoryPerInstance": {
261
+ "min": 200,
262
+ "max": 10789.92,
263
+ "average": 2214.0480000000007,
264
+ "stdDev": 1792.8516593360423
265
+ },
266
+ "time": {
267
+ "min": 0.08320900000001075,
268
+ "max": 3.041416999999967,
269
+ "average": 0.3143742000000009,
270
+ "stdDev": 0.4026253931389788
271
+ },
272
+ "status": "PASS",
273
+ "measurements": [
274
+ {
275
+ "instanceCount": 100,
276
+ "memoryPerInstance": 1796.24,
277
+ "time": 0.32133299999998144
278
+ },
279
+ {
280
+ "instanceCount": 100,
281
+ "memoryPerInstance": 1756.24,
282
+ "time": 0.28058300000003555
283
+ },
284
+ {
285
+ "instanceCount": 100,
286
+ "memoryPerInstance": 1770.8,
287
+ "time": 0.291041000000007
288
+ },
289
+ {
290
+ "instanceCount": 100,
291
+ "memoryPerInstance": 1755.92,
292
+ "time": 0.2632499999999709
293
+ },
294
+ {
295
+ "instanceCount": 100,
296
+ "memoryPerInstance": 1756.24,
297
+ "time": 0.25995799999998326
298
+ },
299
+ {
300
+ "instanceCount": 100,
301
+ "memoryPerInstance": 1756.48,
302
+ "time": 0.2692920000000072
303
+ },
304
+ {
305
+ "instanceCount": 100,
306
+ "memoryPerInstance": 8853.76,
307
+ "time": 0.4199169999999981
308
+ },
309
+ {
310
+ "instanceCount": 100,
311
+ "memoryPerInstance": 1756.24,
312
+ "time": 0.3760000000000332
313
+ },
314
+ {
315
+ "instanceCount": 100,
316
+ "memoryPerInstance": 1769.04,
317
+ "time": 0.10499999999996135
318
+ },
319
+ {
320
+ "instanceCount": 100,
321
+ "memoryPerInstance": 1378.8,
322
+ "time": 0.09754199999997581
323
+ },
324
+ {
325
+ "instanceCount": 100,
326
+ "memoryPerInstance": 200,
327
+ "time": 3.041416999999967
328
+ },
329
+ {
330
+ "instanceCount": 100,
331
+ "memoryPerInstance": 1756.24,
332
+ "time": 0.2631670000000099
333
+ },
334
+ {
335
+ "instanceCount": 100,
336
+ "memoryPerInstance": 1756.4,
337
+ "time": 0.24220800000000509
338
+ },
339
+ {
340
+ "instanceCount": 100,
341
+ "memoryPerInstance": 1756.08,
342
+ "time": 0.2741669999999772
343
+ },
344
+ {
345
+ "instanceCount": 100,
346
+ "memoryPerInstance": 1755.92,
347
+ "time": 0.24704099999996743
348
+ },
349
+ {
350
+ "instanceCount": 100,
351
+ "memoryPerInstance": 1755.92,
352
+ "time": 0.32170899999999847
353
+ },
354
+ {
355
+ "instanceCount": 100,
356
+ "memoryPerInstance": 1772.56,
357
+ "time": 0.24408299999998917
358
+ },
359
+ {
360
+ "instanceCount": 100,
361
+ "memoryPerInstance": 1756,
362
+ "time": 0.239750000000015
363
+ },
364
+ {
365
+ "instanceCount": 100,
366
+ "memoryPerInstance": 1782.64,
367
+ "time": 0.3013750000000073
368
+ },
369
+ {
370
+ "instanceCount": 100,
371
+ "memoryPerInstance": 1756.48,
372
+ "time": 0.2880000000000109
373
+ },
374
+ {
375
+ "instanceCount": 100,
376
+ "memoryPerInstance": 6198.08,
377
+ "time": 0.3109999999999786
378
+ },
379
+ {
380
+ "instanceCount": 100,
381
+ "memoryPerInstance": 5869.04,
382
+ "time": 0.3111250000000041
383
+ },
384
+ {
385
+ "instanceCount": 100,
386
+ "memoryPerInstance": 1756.24,
387
+ "time": 0.2508330000000001
388
+ },
389
+ {
390
+ "instanceCount": 100,
391
+ "memoryPerInstance": 1757.36,
392
+ "time": 0.2271250000000009
393
+ },
394
+ {
395
+ "instanceCount": 100,
396
+ "memoryPerInstance": 1756.08,
397
+ "time": 0.1047919999999749
398
+ },
399
+ {
400
+ "instanceCount": 100,
401
+ "memoryPerInstance": 1755.92,
402
+ "time": 0.12362500000000409
403
+ },
404
+ {
405
+ "instanceCount": 100,
406
+ "memoryPerInstance": 1756.16,
407
+ "time": 0.08458300000000918
408
+ },
409
+ {
410
+ "instanceCount": 100,
411
+ "memoryPerInstance": 1756.08,
412
+ "time": 0.08320900000001075
413
+ },
414
+ {
415
+ "instanceCount": 100,
416
+ "memoryPerInstance": 1756.24,
417
+ "time": 0.25300000000004275
418
+ },
419
+ {
420
+ "instanceCount": 100,
421
+ "memoryPerInstance": 1756.08,
422
+ "time": 0.20949999999999136
423
+ },
424
+ {
425
+ "instanceCount": 100,
426
+ "memoryPerInstance": 1757.28,
427
+ "time": 0.31529199999999946
428
+ },
429
+ {
430
+ "instanceCount": 100,
431
+ "memoryPerInstance": 10789.92,
432
+ "time": 0.5623750000000314
433
+ },
434
+ {
435
+ "instanceCount": 100,
436
+ "memoryPerInstance": 1756.4,
437
+ "time": 0.29566600000003973
438
+ },
439
+ {
440
+ "instanceCount": 100,
441
+ "memoryPerInstance": 1756.4,
442
+ "time": 0.2621250000000259
443
+ },
444
+ {
445
+ "instanceCount": 100,
446
+ "memoryPerInstance": 1756.32,
447
+ "time": 0.22641599999997197
448
+ },
449
+ {
450
+ "instanceCount": 100,
451
+ "memoryPerInstance": 1755.92,
452
+ "time": 0.1114170000000172
453
+ },
454
+ {
455
+ "instanceCount": 100,
456
+ "memoryPerInstance": 1783.52,
457
+ "time": 0.30266699999998536
458
+ },
459
+ {
460
+ "instanceCount": 100,
461
+ "memoryPerInstance": 1756,
462
+ "time": 0.28587500000003274
463
+ },
464
+ {
465
+ "instanceCount": 100,
466
+ "memoryPerInstance": 1756.24,
467
+ "time": 0.4386250000000018
468
+ },
469
+ {
470
+ "instanceCount": 100,
471
+ "memoryPerInstance": 1756.08,
472
+ "time": 0.310292000000004
473
+ },
474
+ {
475
+ "instanceCount": 100,
476
+ "memoryPerInstance": 1756,
477
+ "time": 0.29879199999999173
478
+ },
479
+ {
480
+ "instanceCount": 100,
481
+ "memoryPerInstance": 1756.24,
482
+ "time": 0.26037500000001046
483
+ },
484
+ {
485
+ "instanceCount": 100,
486
+ "memoryPerInstance": 1756.48,
487
+ "time": 0.2725000000000364
488
+ },
489
+ {
490
+ "instanceCount": 100,
491
+ "memoryPerInstance": 1756.72,
492
+ "time": 0.28004199999998036
493
+ },
494
+ {
495
+ "instanceCount": 100,
496
+ "memoryPerInstance": 1756.24,
497
+ "time": 0.5295419999999922
498
+ },
499
+ {
500
+ "instanceCount": 100,
501
+ "memoryPerInstance": 1756.16,
502
+ "time": 0.2569159999999897
503
+ },
504
+ {
505
+ "instanceCount": 100,
506
+ "memoryPerInstance": 1756.48,
507
+ "time": 0.2811250000000314
508
+ },
509
+ {
510
+ "instanceCount": 100,
511
+ "memoryPerInstance": 1756.24,
512
+ "time": 0.11525000000000318
513
+ },
514
+ {
515
+ "instanceCount": 100,
516
+ "memoryPerInstance": 1756.32,
517
+ "time": 0.09670899999997573
518
+ },
519
+ {
520
+ "instanceCount": 100,
521
+ "memoryPerInstance": 1756.16,
522
+ "time": 0.11108400000000529
523
+ }
524
+ ]
525
+ }
526
+ }