@fjell/registry 4.4.5 → 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 (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 +5 -3
@@ -0,0 +1,276 @@
1
+ {
2
+ "instanceCount": 1000,
3
+ "iterations": 25,
4
+ "timestamp": "2025-07-19T19:08:19.576Z",
5
+ "measurements": [
6
+ {
7
+ "instanceCount": 1000,
8
+ "memoryPerInstance": 1760.168,
9
+ "time": 1.368333000000007
10
+ },
11
+ {
12
+ "instanceCount": 1000,
13
+ "memoryPerInstance": 5760.192,
14
+ "time": 1.8310000000000173
15
+ },
16
+ {
17
+ "instanceCount": 1000,
18
+ "memoryPerInstance": 1691.832,
19
+ "time": 0.8875829999999496
20
+ },
21
+ {
22
+ "instanceCount": 1000,
23
+ "memoryPerInstance": 1691.704,
24
+ "time": 1.1328750000000127
25
+ },
26
+ {
27
+ "instanceCount": 1000,
28
+ "memoryPerInstance": 1691.848,
29
+ "time": 0.98599999999999
30
+ },
31
+ {
32
+ "instanceCount": 1000,
33
+ "memoryPerInstance": 1716.072,
34
+ "time": 0.9029580000000124
35
+ },
36
+ {
37
+ "instanceCount": 1000,
38
+ "memoryPerInstance": 6270.48,
39
+ "time": 1.521250000000009
40
+ },
41
+ {
42
+ "instanceCount": 1000,
43
+ "memoryPerInstance": 1711.944,
44
+ "time": 0.8573340000000371
45
+ },
46
+ {
47
+ "instanceCount": 1000,
48
+ "memoryPerInstance": 1691.616,
49
+ "time": 0.8411660000000438
50
+ },
51
+ {
52
+ "instanceCount": 1000,
53
+ "memoryPerInstance": 200,
54
+ "time": 8.47995800000001
55
+ },
56
+ {
57
+ "instanceCount": 1000,
58
+ "memoryPerInstance": 1691.776,
59
+ "time": 1.0823329999999487
60
+ },
61
+ {
62
+ "instanceCount": 1000,
63
+ "memoryPerInstance": 926.864,
64
+ "time": 7.961374999999975
65
+ },
66
+ {
67
+ "instanceCount": 1000,
68
+ "memoryPerInstance": 1691.832,
69
+ "time": 0.9651659999999538
70
+ },
71
+ {
72
+ "instanceCount": 1000,
73
+ "memoryPerInstance": 1691.72,
74
+ "time": 0.9022919999999885
75
+ },
76
+ {
77
+ "instanceCount": 1000,
78
+ "memoryPerInstance": 1691.696,
79
+ "time": 0.8977080000000797
80
+ },
81
+ {
82
+ "instanceCount": 1000,
83
+ "memoryPerInstance": 1691.76,
84
+ "time": 0.8950419999999895
85
+ },
86
+ {
87
+ "instanceCount": 1000,
88
+ "memoryPerInstance": 1714.248,
89
+ "time": 0.8999169999999594
90
+ },
91
+ {
92
+ "instanceCount": 1000,
93
+ "memoryPerInstance": 1691.72,
94
+ "time": 0.8802499999999327
95
+ },
96
+ {
97
+ "instanceCount": 1000,
98
+ "memoryPerInstance": 7815.744,
99
+ "time": 1.6287919999999758
100
+ },
101
+ {
102
+ "instanceCount": 1000,
103
+ "memoryPerInstance": 200,
104
+ "time": 6.93870800000002
105
+ },
106
+ {
107
+ "instanceCount": 1000,
108
+ "memoryPerInstance": 1700.744,
109
+ "time": 1.0460829999999532
110
+ },
111
+ {
112
+ "instanceCount": 1000,
113
+ "memoryPerInstance": 1691.72,
114
+ "time": 1.2434169999999085
115
+ },
116
+ {
117
+ "instanceCount": 1000,
118
+ "memoryPerInstance": 580.544,
119
+ "time": 7.962916999999948
120
+ },
121
+ {
122
+ "instanceCount": 1000,
123
+ "memoryPerInstance": 1691.72,
124
+ "time": 2.653291999999965
125
+ },
126
+ {
127
+ "instanceCount": 1000,
128
+ "memoryPerInstance": 1711.944,
129
+ "time": 0.9457920000000968
130
+ }
131
+ ],
132
+ "stats": {
133
+ "instanceCount": 1000,
134
+ "iterations": 25,
135
+ "memoryPerInstance": {
136
+ "min": 200,
137
+ "max": 7815.744,
138
+ "average": 2094.79552,
139
+ "stdDev": 1757.6835861447446
140
+ },
141
+ "time": {
142
+ "min": 0.8411660000000438,
143
+ "max": 8.47995800000001,
144
+ "average": 2.2284616399999915,
145
+ "stdDev": 2.488958760471771
146
+ },
147
+ "status": "PASS",
148
+ "measurements": [
149
+ {
150
+ "instanceCount": 1000,
151
+ "memoryPerInstance": 1760.168,
152
+ "time": 1.368333000000007
153
+ },
154
+ {
155
+ "instanceCount": 1000,
156
+ "memoryPerInstance": 5760.192,
157
+ "time": 1.8310000000000173
158
+ },
159
+ {
160
+ "instanceCount": 1000,
161
+ "memoryPerInstance": 1691.832,
162
+ "time": 0.8875829999999496
163
+ },
164
+ {
165
+ "instanceCount": 1000,
166
+ "memoryPerInstance": 1691.704,
167
+ "time": 1.1328750000000127
168
+ },
169
+ {
170
+ "instanceCount": 1000,
171
+ "memoryPerInstance": 1691.848,
172
+ "time": 0.98599999999999
173
+ },
174
+ {
175
+ "instanceCount": 1000,
176
+ "memoryPerInstance": 1716.072,
177
+ "time": 0.9029580000000124
178
+ },
179
+ {
180
+ "instanceCount": 1000,
181
+ "memoryPerInstance": 6270.48,
182
+ "time": 1.521250000000009
183
+ },
184
+ {
185
+ "instanceCount": 1000,
186
+ "memoryPerInstance": 1711.944,
187
+ "time": 0.8573340000000371
188
+ },
189
+ {
190
+ "instanceCount": 1000,
191
+ "memoryPerInstance": 1691.616,
192
+ "time": 0.8411660000000438
193
+ },
194
+ {
195
+ "instanceCount": 1000,
196
+ "memoryPerInstance": 200,
197
+ "time": 8.47995800000001
198
+ },
199
+ {
200
+ "instanceCount": 1000,
201
+ "memoryPerInstance": 1691.776,
202
+ "time": 1.0823329999999487
203
+ },
204
+ {
205
+ "instanceCount": 1000,
206
+ "memoryPerInstance": 926.864,
207
+ "time": 7.961374999999975
208
+ },
209
+ {
210
+ "instanceCount": 1000,
211
+ "memoryPerInstance": 1691.832,
212
+ "time": 0.9651659999999538
213
+ },
214
+ {
215
+ "instanceCount": 1000,
216
+ "memoryPerInstance": 1691.72,
217
+ "time": 0.9022919999999885
218
+ },
219
+ {
220
+ "instanceCount": 1000,
221
+ "memoryPerInstance": 1691.696,
222
+ "time": 0.8977080000000797
223
+ },
224
+ {
225
+ "instanceCount": 1000,
226
+ "memoryPerInstance": 1691.76,
227
+ "time": 0.8950419999999895
228
+ },
229
+ {
230
+ "instanceCount": 1000,
231
+ "memoryPerInstance": 1714.248,
232
+ "time": 0.8999169999999594
233
+ },
234
+ {
235
+ "instanceCount": 1000,
236
+ "memoryPerInstance": 1691.72,
237
+ "time": 0.8802499999999327
238
+ },
239
+ {
240
+ "instanceCount": 1000,
241
+ "memoryPerInstance": 7815.744,
242
+ "time": 1.6287919999999758
243
+ },
244
+ {
245
+ "instanceCount": 1000,
246
+ "memoryPerInstance": 200,
247
+ "time": 6.93870800000002
248
+ },
249
+ {
250
+ "instanceCount": 1000,
251
+ "memoryPerInstance": 1700.744,
252
+ "time": 1.0460829999999532
253
+ },
254
+ {
255
+ "instanceCount": 1000,
256
+ "memoryPerInstance": 1691.72,
257
+ "time": 1.2434169999999085
258
+ },
259
+ {
260
+ "instanceCount": 1000,
261
+ "memoryPerInstance": 580.544,
262
+ "time": 7.962916999999948
263
+ },
264
+ {
265
+ "instanceCount": 1000,
266
+ "memoryPerInstance": 1691.72,
267
+ "time": 2.653291999999965
268
+ },
269
+ {
270
+ "instanceCount": 1000,
271
+ "memoryPerInstance": 1711.944,
272
+ "time": 0.9457920000000968
273
+ }
274
+ ]
275
+ }
276
+ }
@@ -0,0 +1,126 @@
1
+ {
2
+ "instanceCount": 10000,
3
+ "iterations": 10,
4
+ "timestamp": "2025-07-19T19:08:20.037Z",
5
+ "measurements": [
6
+ {
7
+ "instanceCount": 10000,
8
+ "memoryPerInstance": 1336.0176,
9
+ "time": 21.07304099999999
10
+ },
11
+ {
12
+ "instanceCount": 10000,
13
+ "memoryPerInstance": 3567.3424,
14
+ "time": 17.16633300000001
15
+ },
16
+ {
17
+ "instanceCount": 10000,
18
+ "memoryPerInstance": 1315.2432,
19
+ "time": 18.504790999999955
20
+ },
21
+ {
22
+ "instanceCount": 10000,
23
+ "memoryPerInstance": 3663.2376,
24
+ "time": 25.126666
25
+ },
26
+ {
27
+ "instanceCount": 10000,
28
+ "memoryPerInstance": 1327.012,
29
+ "time": 18.33766700000001
30
+ },
31
+ {
32
+ "instanceCount": 10000,
33
+ "memoryPerInstance": 1332.056,
34
+ "time": 17.405708000000004
35
+ },
36
+ {
37
+ "instanceCount": 10000,
38
+ "memoryPerInstance": 1490.1256,
39
+ "time": 13.294082999999887
40
+ },
41
+ {
42
+ "instanceCount": 10000,
43
+ "memoryPerInstance": 1317.9576,
44
+ "time": 17.219082999999955
45
+ },
46
+ {
47
+ "instanceCount": 10000,
48
+ "memoryPerInstance": 1319.4904,
49
+ "time": 18.122583000000077
50
+ },
51
+ {
52
+ "instanceCount": 10000,
53
+ "memoryPerInstance": 1332.9272,
54
+ "time": 17.48349999999982
55
+ }
56
+ ],
57
+ "stats": {
58
+ "instanceCount": 10000,
59
+ "iterations": 10,
60
+ "memoryPerInstance": {
61
+ "min": 1315.2432,
62
+ "max": 3663.2376,
63
+ "average": 1800.14096,
64
+ "stdDev": 909.150420309831
65
+ },
66
+ "time": {
67
+ "min": 13.294082999999887,
68
+ "max": 25.126666,
69
+ "average": 18.37334549999997,
70
+ "stdDev": 2.886059290068829
71
+ },
72
+ "status": "PASS",
73
+ "measurements": [
74
+ {
75
+ "instanceCount": 10000,
76
+ "memoryPerInstance": 1336.0176,
77
+ "time": 21.07304099999999
78
+ },
79
+ {
80
+ "instanceCount": 10000,
81
+ "memoryPerInstance": 3567.3424,
82
+ "time": 17.16633300000001
83
+ },
84
+ {
85
+ "instanceCount": 10000,
86
+ "memoryPerInstance": 1315.2432,
87
+ "time": 18.504790999999955
88
+ },
89
+ {
90
+ "instanceCount": 10000,
91
+ "memoryPerInstance": 3663.2376,
92
+ "time": 25.126666
93
+ },
94
+ {
95
+ "instanceCount": 10000,
96
+ "memoryPerInstance": 1327.012,
97
+ "time": 18.33766700000001
98
+ },
99
+ {
100
+ "instanceCount": 10000,
101
+ "memoryPerInstance": 1332.056,
102
+ "time": 17.405708000000004
103
+ },
104
+ {
105
+ "instanceCount": 10000,
106
+ "memoryPerInstance": 1490.1256,
107
+ "time": 13.294082999999887
108
+ },
109
+ {
110
+ "instanceCount": 10000,
111
+ "memoryPerInstance": 1317.9576,
112
+ "time": 17.219082999999955
113
+ },
114
+ {
115
+ "instanceCount": 10000,
116
+ "memoryPerInstance": 1319.4904,
117
+ "time": 18.122583000000077
118
+ },
119
+ {
120
+ "instanceCount": 10000,
121
+ "memoryPerInstance": 1332.9272,
122
+ "time": 17.48349999999982
123
+ }
124
+ ]
125
+ }
126
+ }