@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": 50,
3
+ "iterations": 50,
4
+ "timestamp": "2025-07-19T19:08:19.353Z",
5
+ "measurements": [
6
+ {
7
+ "instanceCount": 50,
8
+ "memoryPerInstance": 1928.48,
9
+ "time": 0.07425000000000637
10
+ },
11
+ {
12
+ "instanceCount": 50,
13
+ "memoryPerInstance": 1879.84,
14
+ "time": 0.04841700000002902
15
+ },
16
+ {
17
+ "instanceCount": 50,
18
+ "memoryPerInstance": 1880.16,
19
+ "time": 0.0484159999999747
20
+ },
21
+ {
22
+ "instanceCount": 50,
23
+ "memoryPerInstance": 1879.84,
24
+ "time": 0.047207999999955064
25
+ },
26
+ {
27
+ "instanceCount": 50,
28
+ "memoryPerInstance": 1879.84,
29
+ "time": 0.04699999999996862
30
+ },
31
+ {
32
+ "instanceCount": 50,
33
+ "memoryPerInstance": 1880.8,
34
+ "time": 0.04733300000003737
35
+ },
36
+ {
37
+ "instanceCount": 50,
38
+ "memoryPerInstance": 7798.4,
39
+ "time": 0.06162499999999227
40
+ },
41
+ {
42
+ "instanceCount": 50,
43
+ "memoryPerInstance": 1880.64,
44
+ "time": 0.047250000000019554
45
+ },
46
+ {
47
+ "instanceCount": 50,
48
+ "memoryPerInstance": 1879.84,
49
+ "time": 0.04666700000001356
50
+ },
51
+ {
52
+ "instanceCount": 50,
53
+ "memoryPerInstance": 1879.84,
54
+ "time": 0.046749999999974534
55
+ },
56
+ {
57
+ "instanceCount": 50,
58
+ "memoryPerInstance": 1879.84,
59
+ "time": 0.05679200000002993
60
+ },
61
+ {
62
+ "instanceCount": 50,
63
+ "memoryPerInstance": 1880.48,
64
+ "time": 0.05370799999997189
65
+ },
66
+ {
67
+ "instanceCount": 50,
68
+ "memoryPerInstance": 1879.84,
69
+ "time": 0.05245800000000145
70
+ },
71
+ {
72
+ "instanceCount": 50,
73
+ "memoryPerInstance": 1879.84,
74
+ "time": 0.054458000000011
75
+ },
76
+ {
77
+ "instanceCount": 50,
78
+ "memoryPerInstance": 1879.84,
79
+ "time": 0.05283400000001848
80
+ },
81
+ {
82
+ "instanceCount": 50,
83
+ "memoryPerInstance": 1882.56,
84
+ "time": 0.056166999999959444
85
+ },
86
+ {
87
+ "instanceCount": 50,
88
+ "memoryPerInstance": 5532.96,
89
+ "time": 0.07504200000005312
90
+ },
91
+ {
92
+ "instanceCount": 50,
93
+ "memoryPerInstance": 1879.84,
94
+ "time": 0.05262499999997772
95
+ },
96
+ {
97
+ "instanceCount": 50,
98
+ "memoryPerInstance": 5904.32,
99
+ "time": 0.07604199999997263
100
+ },
101
+ {
102
+ "instanceCount": 50,
103
+ "memoryPerInstance": 1880,
104
+ "time": 0.05495899999999665
105
+ },
106
+ {
107
+ "instanceCount": 50,
108
+ "memoryPerInstance": 1879.84,
109
+ "time": 0.053084000000012566
110
+ },
111
+ {
112
+ "instanceCount": 50,
113
+ "memoryPerInstance": 1879.84,
114
+ "time": 0.05166700000000901
115
+ },
116
+ {
117
+ "instanceCount": 50,
118
+ "memoryPerInstance": 1882.24,
119
+ "time": 0.054207999999960066
120
+ },
121
+ {
122
+ "instanceCount": 50,
123
+ "memoryPerInstance": 1879.84,
124
+ "time": 0.052082999999981894
125
+ },
126
+ {
127
+ "instanceCount": 50,
128
+ "memoryPerInstance": 1879.84,
129
+ "time": 0.052707999999995536
130
+ },
131
+ {
132
+ "instanceCount": 50,
133
+ "memoryPerInstance": 1879.84,
134
+ "time": 0.05395799999996598
135
+ },
136
+ {
137
+ "instanceCount": 50,
138
+ "memoryPerInstance": 1879.84,
139
+ "time": 0.05262499999997772
140
+ },
141
+ {
142
+ "instanceCount": 50,
143
+ "memoryPerInstance": 1880.64,
144
+ "time": 0.09300000000001774
145
+ },
146
+ {
147
+ "instanceCount": 50,
148
+ "memoryPerInstance": 10215.2,
149
+ "time": 0.09829100000001745
150
+ },
151
+ {
152
+ "instanceCount": 50,
153
+ "memoryPerInstance": 1879.84,
154
+ "time": 0.05525000000000091
155
+ },
156
+ {
157
+ "instanceCount": 50,
158
+ "memoryPerInstance": 1879.84,
159
+ "time": 0.0570409999999697
160
+ },
161
+ {
162
+ "instanceCount": 50,
163
+ "memoryPerInstance": 1879.84,
164
+ "time": 0.05454200000002629
165
+ },
166
+ {
167
+ "instanceCount": 50,
168
+ "memoryPerInstance": 1879.84,
169
+ "time": 0.052042000000028565
170
+ },
171
+ {
172
+ "instanceCount": 50,
173
+ "memoryPerInstance": 1879.84,
174
+ "time": 0.05179200000003448
175
+ },
176
+ {
177
+ "instanceCount": 50,
178
+ "memoryPerInstance": 1880.32,
179
+ "time": 0.0534579999999778
180
+ },
181
+ {
182
+ "instanceCount": 50,
183
+ "memoryPerInstance": 1879.84,
184
+ "time": 0.05220800000000736
185
+ },
186
+ {
187
+ "instanceCount": 50,
188
+ "memoryPerInstance": 1879.84,
189
+ "time": 0.05158299999999372
190
+ },
191
+ {
192
+ "instanceCount": 50,
193
+ "memoryPerInstance": 1880.8,
194
+ "time": 0.05258299999997007
195
+ },
196
+ {
197
+ "instanceCount": 50,
198
+ "memoryPerInstance": 1879.84,
199
+ "time": 0.051084000000003016
200
+ },
201
+ {
202
+ "instanceCount": 50,
203
+ "memoryPerInstance": 1880.48,
204
+ "time": 0.053208000000040556
205
+ },
206
+ {
207
+ "instanceCount": 50,
208
+ "memoryPerInstance": 1879.84,
209
+ "time": 0.05299999999999727
210
+ },
211
+ {
212
+ "instanceCount": 50,
213
+ "memoryPerInstance": 2327.52,
214
+ "time": 0.06999999999999318
215
+ },
216
+ {
217
+ "instanceCount": 50,
218
+ "memoryPerInstance": 1764.32,
219
+ "time": 0.049666000000001986
220
+ },
221
+ {
222
+ "instanceCount": 50,
223
+ "memoryPerInstance": 1764.32,
224
+ "time": 0.057542000000012195
225
+ },
226
+ {
227
+ "instanceCount": 50,
228
+ "memoryPerInstance": 1763.68,
229
+ "time": 0.04845799999998235
230
+ },
231
+ {
232
+ "instanceCount": 50,
233
+ "memoryPerInstance": 595.52,
234
+ "time": 0.04670800000002373
235
+ },
236
+ {
237
+ "instanceCount": 50,
238
+ "memoryPerInstance": 200,
239
+ "time": 4.550457999999992
240
+ },
241
+ {
242
+ "instanceCount": 50,
243
+ "memoryPerInstance": 1764.8,
244
+ "time": 0.1535409999999615
245
+ },
246
+ {
247
+ "instanceCount": 50,
248
+ "memoryPerInstance": 7296.48,
249
+ "time": 0.161042000000009
250
+ },
251
+ {
252
+ "instanceCount": 50,
253
+ "memoryPerInstance": 1769.92,
254
+ "time": 0.06129199999998036
255
+ }
256
+ ],
257
+ "stats": {
258
+ "instanceCount": 50,
259
+ "iterations": 50,
260
+ "memoryPerInstance": {
261
+ "min": 200,
262
+ "max": 10215.2,
263
+ "average": 2366.220799999999,
264
+ "stdDev": 1768.053274314821
265
+ },
266
+ "time": {
267
+ "min": 0.04666700000001356,
268
+ "max": 4.550457999999992,
269
+ "average": 0.14996245999999813,
270
+ "stdDev": 0.6290436103059367
271
+ },
272
+ "status": "PASS",
273
+ "measurements": [
274
+ {
275
+ "instanceCount": 50,
276
+ "memoryPerInstance": 1928.48,
277
+ "time": 0.07425000000000637
278
+ },
279
+ {
280
+ "instanceCount": 50,
281
+ "memoryPerInstance": 1879.84,
282
+ "time": 0.04841700000002902
283
+ },
284
+ {
285
+ "instanceCount": 50,
286
+ "memoryPerInstance": 1880.16,
287
+ "time": 0.0484159999999747
288
+ },
289
+ {
290
+ "instanceCount": 50,
291
+ "memoryPerInstance": 1879.84,
292
+ "time": 0.047207999999955064
293
+ },
294
+ {
295
+ "instanceCount": 50,
296
+ "memoryPerInstance": 1879.84,
297
+ "time": 0.04699999999996862
298
+ },
299
+ {
300
+ "instanceCount": 50,
301
+ "memoryPerInstance": 1880.8,
302
+ "time": 0.04733300000003737
303
+ },
304
+ {
305
+ "instanceCount": 50,
306
+ "memoryPerInstance": 7798.4,
307
+ "time": 0.06162499999999227
308
+ },
309
+ {
310
+ "instanceCount": 50,
311
+ "memoryPerInstance": 1880.64,
312
+ "time": 0.047250000000019554
313
+ },
314
+ {
315
+ "instanceCount": 50,
316
+ "memoryPerInstance": 1879.84,
317
+ "time": 0.04666700000001356
318
+ },
319
+ {
320
+ "instanceCount": 50,
321
+ "memoryPerInstance": 1879.84,
322
+ "time": 0.046749999999974534
323
+ },
324
+ {
325
+ "instanceCount": 50,
326
+ "memoryPerInstance": 1879.84,
327
+ "time": 0.05679200000002993
328
+ },
329
+ {
330
+ "instanceCount": 50,
331
+ "memoryPerInstance": 1880.48,
332
+ "time": 0.05370799999997189
333
+ },
334
+ {
335
+ "instanceCount": 50,
336
+ "memoryPerInstance": 1879.84,
337
+ "time": 0.05245800000000145
338
+ },
339
+ {
340
+ "instanceCount": 50,
341
+ "memoryPerInstance": 1879.84,
342
+ "time": 0.054458000000011
343
+ },
344
+ {
345
+ "instanceCount": 50,
346
+ "memoryPerInstance": 1879.84,
347
+ "time": 0.05283400000001848
348
+ },
349
+ {
350
+ "instanceCount": 50,
351
+ "memoryPerInstance": 1882.56,
352
+ "time": 0.056166999999959444
353
+ },
354
+ {
355
+ "instanceCount": 50,
356
+ "memoryPerInstance": 5532.96,
357
+ "time": 0.07504200000005312
358
+ },
359
+ {
360
+ "instanceCount": 50,
361
+ "memoryPerInstance": 1879.84,
362
+ "time": 0.05262499999997772
363
+ },
364
+ {
365
+ "instanceCount": 50,
366
+ "memoryPerInstance": 5904.32,
367
+ "time": 0.07604199999997263
368
+ },
369
+ {
370
+ "instanceCount": 50,
371
+ "memoryPerInstance": 1880,
372
+ "time": 0.05495899999999665
373
+ },
374
+ {
375
+ "instanceCount": 50,
376
+ "memoryPerInstance": 1879.84,
377
+ "time": 0.053084000000012566
378
+ },
379
+ {
380
+ "instanceCount": 50,
381
+ "memoryPerInstance": 1879.84,
382
+ "time": 0.05166700000000901
383
+ },
384
+ {
385
+ "instanceCount": 50,
386
+ "memoryPerInstance": 1882.24,
387
+ "time": 0.054207999999960066
388
+ },
389
+ {
390
+ "instanceCount": 50,
391
+ "memoryPerInstance": 1879.84,
392
+ "time": 0.052082999999981894
393
+ },
394
+ {
395
+ "instanceCount": 50,
396
+ "memoryPerInstance": 1879.84,
397
+ "time": 0.052707999999995536
398
+ },
399
+ {
400
+ "instanceCount": 50,
401
+ "memoryPerInstance": 1879.84,
402
+ "time": 0.05395799999996598
403
+ },
404
+ {
405
+ "instanceCount": 50,
406
+ "memoryPerInstance": 1879.84,
407
+ "time": 0.05262499999997772
408
+ },
409
+ {
410
+ "instanceCount": 50,
411
+ "memoryPerInstance": 1880.64,
412
+ "time": 0.09300000000001774
413
+ },
414
+ {
415
+ "instanceCount": 50,
416
+ "memoryPerInstance": 10215.2,
417
+ "time": 0.09829100000001745
418
+ },
419
+ {
420
+ "instanceCount": 50,
421
+ "memoryPerInstance": 1879.84,
422
+ "time": 0.05525000000000091
423
+ },
424
+ {
425
+ "instanceCount": 50,
426
+ "memoryPerInstance": 1879.84,
427
+ "time": 0.0570409999999697
428
+ },
429
+ {
430
+ "instanceCount": 50,
431
+ "memoryPerInstance": 1879.84,
432
+ "time": 0.05454200000002629
433
+ },
434
+ {
435
+ "instanceCount": 50,
436
+ "memoryPerInstance": 1879.84,
437
+ "time": 0.052042000000028565
438
+ },
439
+ {
440
+ "instanceCount": 50,
441
+ "memoryPerInstance": 1879.84,
442
+ "time": 0.05179200000003448
443
+ },
444
+ {
445
+ "instanceCount": 50,
446
+ "memoryPerInstance": 1880.32,
447
+ "time": 0.0534579999999778
448
+ },
449
+ {
450
+ "instanceCount": 50,
451
+ "memoryPerInstance": 1879.84,
452
+ "time": 0.05220800000000736
453
+ },
454
+ {
455
+ "instanceCount": 50,
456
+ "memoryPerInstance": 1879.84,
457
+ "time": 0.05158299999999372
458
+ },
459
+ {
460
+ "instanceCount": 50,
461
+ "memoryPerInstance": 1880.8,
462
+ "time": 0.05258299999997007
463
+ },
464
+ {
465
+ "instanceCount": 50,
466
+ "memoryPerInstance": 1879.84,
467
+ "time": 0.051084000000003016
468
+ },
469
+ {
470
+ "instanceCount": 50,
471
+ "memoryPerInstance": 1880.48,
472
+ "time": 0.053208000000040556
473
+ },
474
+ {
475
+ "instanceCount": 50,
476
+ "memoryPerInstance": 1879.84,
477
+ "time": 0.05299999999999727
478
+ },
479
+ {
480
+ "instanceCount": 50,
481
+ "memoryPerInstance": 2327.52,
482
+ "time": 0.06999999999999318
483
+ },
484
+ {
485
+ "instanceCount": 50,
486
+ "memoryPerInstance": 1764.32,
487
+ "time": 0.049666000000001986
488
+ },
489
+ {
490
+ "instanceCount": 50,
491
+ "memoryPerInstance": 1764.32,
492
+ "time": 0.057542000000012195
493
+ },
494
+ {
495
+ "instanceCount": 50,
496
+ "memoryPerInstance": 1763.68,
497
+ "time": 0.04845799999998235
498
+ },
499
+ {
500
+ "instanceCount": 50,
501
+ "memoryPerInstance": 595.52,
502
+ "time": 0.04670800000002373
503
+ },
504
+ {
505
+ "instanceCount": 50,
506
+ "memoryPerInstance": 200,
507
+ "time": 4.550457999999992
508
+ },
509
+ {
510
+ "instanceCount": 50,
511
+ "memoryPerInstance": 1764.8,
512
+ "time": 0.1535409999999615
513
+ },
514
+ {
515
+ "instanceCount": 50,
516
+ "memoryPerInstance": 7296.48,
517
+ "time": 0.161042000000009
518
+ },
519
+ {
520
+ "instanceCount": 50,
521
+ "memoryPerInstance": 1769.92,
522
+ "time": 0.06129199999998036
523
+ }
524
+ ]
525
+ }
526
+ }