@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": 2000,
3
+ "iterations": 25,
4
+ "timestamp": "2025-07-19T19:08:19.712Z",
5
+ "measurements": [
6
+ {
7
+ "instanceCount": 2000,
8
+ "memoryPerInstance": 5227.28,
9
+ "time": 5.511250000000018
10
+ },
11
+ {
12
+ "instanceCount": 2000,
13
+ "memoryPerInstance": 1706.8,
14
+ "time": 2.048999999999978
15
+ },
16
+ {
17
+ "instanceCount": 2000,
18
+ "memoryPerInstance": 448.66,
19
+ "time": 12.012459000000035
20
+ },
21
+ {
22
+ "instanceCount": 2000,
23
+ "memoryPerInstance": 1725.072,
24
+ "time": 4.503542000000039
25
+ },
26
+ {
27
+ "instanceCount": 2000,
28
+ "memoryPerInstance": 974.644,
29
+ "time": 13.444541999999956
30
+ },
31
+ {
32
+ "instanceCount": 2000,
33
+ "memoryPerInstance": 1707.048,
34
+ "time": 4.551666999999952
35
+ },
36
+ {
37
+ "instanceCount": 2000,
38
+ "memoryPerInstance": 1702.008,
39
+ "time": 2.2205830000000333
40
+ },
41
+ {
42
+ "instanceCount": 2000,
43
+ "memoryPerInstance": 632.924,
44
+ "time": 9.52616599999999
45
+ },
46
+ {
47
+ "instanceCount": 2000,
48
+ "memoryPerInstance": 1691.148,
49
+ "time": 3.623958000000016
50
+ },
51
+ {
52
+ "instanceCount": 2000,
53
+ "memoryPerInstance": 5549.972,
54
+ "time": 12.58137499999998
55
+ },
56
+ {
57
+ "instanceCount": 2000,
58
+ "memoryPerInstance": 1703.38,
59
+ "time": 2.3779160000000275
60
+ },
61
+ {
62
+ "instanceCount": 2000,
63
+ "memoryPerInstance": 1724.984,
64
+ "time": 2.3586670000000822
65
+ },
66
+ {
67
+ "instanceCount": 2000,
68
+ "memoryPerInstance": 536.96,
69
+ "time": 14.811833999999976
70
+ },
71
+ {
72
+ "instanceCount": 2000,
73
+ "memoryPerInstance": 1691.152,
74
+ "time": 2.0019170000000486
75
+ },
76
+ {
77
+ "instanceCount": 2000,
78
+ "memoryPerInstance": 6843.076,
79
+ "time": 5.261624999999981
80
+ },
81
+ {
82
+ "instanceCount": 2000,
83
+ "memoryPerInstance": 946.784,
84
+ "time": 8.02841699999999
85
+ },
86
+ {
87
+ "instanceCount": 2000,
88
+ "memoryPerInstance": 1728.32,
89
+ "time": 1.92349999999999
90
+ },
91
+ {
92
+ "instanceCount": 2000,
93
+ "memoryPerInstance": 1691.148,
94
+ "time": 1.9905410000000074
95
+ },
96
+ {
97
+ "instanceCount": 2000,
98
+ "memoryPerInstance": 780.752,
99
+ "time": 5.456457999999998
100
+ },
101
+ {
102
+ "instanceCount": 2000,
103
+ "memoryPerInstance": 1724.984,
104
+ "time": 1.8893750000000864
105
+ },
106
+ {
107
+ "instanceCount": 2000,
108
+ "memoryPerInstance": 742.084,
109
+ "time": 5.97687499999995
110
+ },
111
+ {
112
+ "instanceCount": 2000,
113
+ "memoryPerInstance": 1691.184,
114
+ "time": 1.923750000000041
115
+ },
116
+ {
117
+ "instanceCount": 2000,
118
+ "memoryPerInstance": 1695.64,
119
+ "time": 1.8563329999999496
120
+ },
121
+ {
122
+ "instanceCount": 2000,
123
+ "memoryPerInstance": 816.38,
124
+ "time": 4.783958999999982
125
+ },
126
+ {
127
+ "instanceCount": 2000,
128
+ "memoryPerInstance": 1691.148,
129
+ "time": 2.427458999999999
130
+ }
131
+ ],
132
+ "stats": {
133
+ "instanceCount": 2000,
134
+ "iterations": 25,
135
+ "memoryPerInstance": {
136
+ "min": 448.66,
137
+ "max": 6843.076,
138
+ "average": 1894.94128,
139
+ "stdDev": 1555.15159666475
140
+ },
141
+ "time": {
142
+ "min": 1.8563329999999496,
143
+ "max": 14.811833999999976,
144
+ "average": 5.323726720000004,
145
+ "stdDev": 3.99293101336715
146
+ },
147
+ "status": "PASS",
148
+ "measurements": [
149
+ {
150
+ "instanceCount": 2000,
151
+ "memoryPerInstance": 5227.28,
152
+ "time": 5.511250000000018
153
+ },
154
+ {
155
+ "instanceCount": 2000,
156
+ "memoryPerInstance": 1706.8,
157
+ "time": 2.048999999999978
158
+ },
159
+ {
160
+ "instanceCount": 2000,
161
+ "memoryPerInstance": 448.66,
162
+ "time": 12.012459000000035
163
+ },
164
+ {
165
+ "instanceCount": 2000,
166
+ "memoryPerInstance": 1725.072,
167
+ "time": 4.503542000000039
168
+ },
169
+ {
170
+ "instanceCount": 2000,
171
+ "memoryPerInstance": 974.644,
172
+ "time": 13.444541999999956
173
+ },
174
+ {
175
+ "instanceCount": 2000,
176
+ "memoryPerInstance": 1707.048,
177
+ "time": 4.551666999999952
178
+ },
179
+ {
180
+ "instanceCount": 2000,
181
+ "memoryPerInstance": 1702.008,
182
+ "time": 2.2205830000000333
183
+ },
184
+ {
185
+ "instanceCount": 2000,
186
+ "memoryPerInstance": 632.924,
187
+ "time": 9.52616599999999
188
+ },
189
+ {
190
+ "instanceCount": 2000,
191
+ "memoryPerInstance": 1691.148,
192
+ "time": 3.623958000000016
193
+ },
194
+ {
195
+ "instanceCount": 2000,
196
+ "memoryPerInstance": 5549.972,
197
+ "time": 12.58137499999998
198
+ },
199
+ {
200
+ "instanceCount": 2000,
201
+ "memoryPerInstance": 1703.38,
202
+ "time": 2.3779160000000275
203
+ },
204
+ {
205
+ "instanceCount": 2000,
206
+ "memoryPerInstance": 1724.984,
207
+ "time": 2.3586670000000822
208
+ },
209
+ {
210
+ "instanceCount": 2000,
211
+ "memoryPerInstance": 536.96,
212
+ "time": 14.811833999999976
213
+ },
214
+ {
215
+ "instanceCount": 2000,
216
+ "memoryPerInstance": 1691.152,
217
+ "time": 2.0019170000000486
218
+ },
219
+ {
220
+ "instanceCount": 2000,
221
+ "memoryPerInstance": 6843.076,
222
+ "time": 5.261624999999981
223
+ },
224
+ {
225
+ "instanceCount": 2000,
226
+ "memoryPerInstance": 946.784,
227
+ "time": 8.02841699999999
228
+ },
229
+ {
230
+ "instanceCount": 2000,
231
+ "memoryPerInstance": 1728.32,
232
+ "time": 1.92349999999999
233
+ },
234
+ {
235
+ "instanceCount": 2000,
236
+ "memoryPerInstance": 1691.148,
237
+ "time": 1.9905410000000074
238
+ },
239
+ {
240
+ "instanceCount": 2000,
241
+ "memoryPerInstance": 780.752,
242
+ "time": 5.456457999999998
243
+ },
244
+ {
245
+ "instanceCount": 2000,
246
+ "memoryPerInstance": 1724.984,
247
+ "time": 1.8893750000000864
248
+ },
249
+ {
250
+ "instanceCount": 2000,
251
+ "memoryPerInstance": 742.084,
252
+ "time": 5.97687499999995
253
+ },
254
+ {
255
+ "instanceCount": 2000,
256
+ "memoryPerInstance": 1691.184,
257
+ "time": 1.923750000000041
258
+ },
259
+ {
260
+ "instanceCount": 2000,
261
+ "memoryPerInstance": 1695.64,
262
+ "time": 1.8563329999999496
263
+ },
264
+ {
265
+ "instanceCount": 2000,
266
+ "memoryPerInstance": 816.38,
267
+ "time": 4.783958999999982
268
+ },
269
+ {
270
+ "instanceCount": 2000,
271
+ "memoryPerInstance": 1691.148,
272
+ "time": 2.427458999999999
273
+ }
274
+ ]
275
+ }
276
+ }