@fjell/registry 4.4.7 → 4.4.9

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 (54) hide show
  1. package/README.md +81 -4
  2. package/dist/Registry.cjs +20 -1
  3. package/dist/Registry.js +20 -1
  4. package/dist/RegistryHub.cjs +17 -1
  5. package/dist/RegistryHub.js +17 -1
  6. package/dist/index.cjs +35 -0
  7. package/dist/index.cjs.map +1 -1
  8. package/dist/types.d.ts +15 -0
  9. package/docs/README.md +74 -0
  10. package/docs/index.html +17 -0
  11. package/docs/memory-data/scaling-10-instances.json +206 -206
  12. package/docs/memory-data/scaling-100-instances.json +206 -206
  13. package/docs/memory-data/scaling-1000-instances.json +108 -108
  14. package/docs/memory-data/scaling-10000-instances.json +49 -49
  15. package/docs/memory-data/scaling-20-instances.json +208 -208
  16. package/docs/memory-data/scaling-200-instances.json +201 -201
  17. package/docs/memory-data/scaling-2000-instances.json +107 -107
  18. package/docs/memory-data/scaling-50-instances.json +206 -206
  19. package/docs/memory-data/scaling-500-instances.json +108 -108
  20. package/docs/memory-data/scaling-5000-instances.json +49 -49
  21. package/docs/memory-overhead.svg +17 -17
  22. package/docs/memory.md +111 -111
  23. package/docs/package.json +35 -0
  24. package/docs/public/README.md +623 -0
  25. package/docs/public/TIMING_NODE_OPTIMIZATION.md +207 -0
  26. package/docs/public/examples/coordinates-example.ts +253 -0
  27. package/docs/public/examples/multi-level-keys.ts +374 -0
  28. package/docs/public/examples/registry-hub-coordinates-example.ts +370 -0
  29. package/docs/public/examples/registry-hub-types.ts +437 -0
  30. package/docs/public/examples/simple-example.ts +250 -0
  31. package/docs/public/examples-README.md +222 -0
  32. package/docs/public/fjell-icon.svg +1 -0
  33. package/docs/public/icon.png +0 -0
  34. package/docs/public/icon2.png +0 -0
  35. package/docs/public/memory-overhead.svg +120 -0
  36. package/docs/public/memory.md +430 -0
  37. package/docs/public/pano.png +0 -0
  38. package/docs/public/pano2.png +0 -0
  39. package/docs/public/timing-range.svg +176 -0
  40. package/docs/public/timing.md +483 -0
  41. package/docs/src/App.css +1175 -0
  42. package/docs/src/App.test.tsx +50 -0
  43. package/docs/src/App.tsx +583 -0
  44. package/docs/src/index.css +40 -0
  45. package/docs/src/main.tsx +10 -0
  46. package/docs/src/test/setup.ts +1 -0
  47. package/docs/timing-range.svg +41 -41
  48. package/docs/timing.md +101 -101
  49. package/docs/tsconfig.node.json +13 -0
  50. package/docs/vitest.config.ts +14 -0
  51. package/examples/README.md +35 -0
  52. package/examples/coordinates-example.ts +253 -0
  53. package/examples/registry-hub-coordinates-example.ts +370 -0
  54. package/package.json +1 -1
@@ -1,132 +1,132 @@
1
1
  {
2
2
  "instanceCount": 1000,
3
3
  "iterations": 25,
4
- "timestamp": "2025-07-19T19:08:19.576Z",
4
+ "timestamp": "2025-07-21T04:04:11.128Z",
5
5
  "measurements": [
6
6
  {
7
7
  "instanceCount": 1000,
8
- "memoryPerInstance": 1760.168,
9
- "time": 1.368333000000007
8
+ "memoryPerInstance": 1760.208,
9
+ "time": 1.068540999999982
10
10
  },
11
11
  {
12
12
  "instanceCount": 1000,
13
- "memoryPerInstance": 5760.192,
14
- "time": 1.8310000000000173
13
+ "memoryPerInstance": 5760.456,
14
+ "time": 1.7292079999999714
15
15
  },
16
16
  {
17
17
  "instanceCount": 1000,
18
- "memoryPerInstance": 1691.832,
19
- "time": 0.8875829999999496
18
+ "memoryPerInstance": 1691.848,
19
+ "time": 1.1657089999999926
20
20
  },
21
21
  {
22
22
  "instanceCount": 1000,
23
- "memoryPerInstance": 1691.704,
24
- "time": 1.1328750000000127
23
+ "memoryPerInstance": 200,
24
+ "time": 31.10320900000005
25
25
  },
26
26
  {
27
27
  "instanceCount": 1000,
28
- "memoryPerInstance": 1691.848,
29
- "time": 0.98599999999999
28
+ "memoryPerInstance": 1700.08,
29
+ "time": 1.1163750000000618
30
30
  },
31
31
  {
32
32
  "instanceCount": 1000,
33
- "memoryPerInstance": 1716.072,
34
- "time": 0.9029580000000124
33
+ "memoryPerInstance": 887.36,
34
+ "time": 7.004166000000055
35
35
  },
36
36
  {
37
37
  "instanceCount": 1000,
38
- "memoryPerInstance": 6270.48,
39
- "time": 1.521250000000009
38
+ "memoryPerInstance": 6270.648,
39
+ "time": 2.868249999999989
40
40
  },
41
41
  {
42
42
  "instanceCount": 1000,
43
- "memoryPerInstance": 1711.944,
44
- "time": 0.8573340000000371
43
+ "memoryPerInstance": 1691.768,
44
+ "time": 0.9251250000000937
45
45
  },
46
46
  {
47
47
  "instanceCount": 1000,
48
- "memoryPerInstance": 1691.616,
49
- "time": 0.8411660000000438
48
+ "memoryPerInstance": 1691.832,
49
+ "time": 8.945375000000013
50
50
  },
51
51
  {
52
52
  "instanceCount": 1000,
53
- "memoryPerInstance": 200,
54
- "time": 8.47995800000001
53
+ "memoryPerInstance": 1711.576,
54
+ "time": 4.259957999999983
55
55
  },
56
56
  {
57
57
  "instanceCount": 1000,
58
- "memoryPerInstance": 1691.776,
59
- "time": 1.0823329999999487
58
+ "memoryPerInstance": 1691.88,
59
+ "time": 2.890541999999982
60
60
  },
61
61
  {
62
62
  "instanceCount": 1000,
63
- "memoryPerInstance": 926.864,
64
- "time": 7.961374999999975
63
+ "memoryPerInstance": 1710.008,
64
+ "time": 13.418583000000012
65
65
  },
66
66
  {
67
67
  "instanceCount": 1000,
68
- "memoryPerInstance": 1691.832,
69
- "time": 0.9651659999999538
68
+ "memoryPerInstance": 1691.88,
69
+ "time": 3.2957910000000084
70
70
  },
71
71
  {
72
72
  "instanceCount": 1000,
73
- "memoryPerInstance": 1691.72,
74
- "time": 0.9022919999999885
73
+ "memoryPerInstance": 200,
74
+ "time": 17.39791600000001
75
75
  },
76
76
  {
77
77
  "instanceCount": 1000,
78
- "memoryPerInstance": 1691.696,
79
- "time": 0.8977080000000797
78
+ "memoryPerInstance": 1732.952,
79
+ "time": 2.2536249999999427
80
80
  },
81
81
  {
82
82
  "instanceCount": 1000,
83
- "memoryPerInstance": 1691.76,
84
- "time": 0.8950419999999895
83
+ "memoryPerInstance": 1691.856,
84
+ "time": 6.597667000000001
85
85
  },
86
86
  {
87
87
  "instanceCount": 1000,
88
- "memoryPerInstance": 1714.248,
89
- "time": 0.8999169999999594
88
+ "memoryPerInstance": 608.224,
89
+ "time": 10.625999999999976
90
90
  },
91
91
  {
92
92
  "instanceCount": 1000,
93
- "memoryPerInstance": 1691.72,
94
- "time": 0.8802499999999327
93
+ "memoryPerInstance": 1707.112,
94
+ "time": 0.9710410000000138
95
95
  },
96
96
  {
97
97
  "instanceCount": 1000,
98
- "memoryPerInstance": 7815.744,
99
- "time": 1.6287919999999758
98
+ "memoryPerInstance": 7795.984,
99
+ "time": 1.768416000000002
100
100
  },
101
101
  {
102
102
  "instanceCount": 1000,
103
- "memoryPerInstance": 200,
104
- "time": 6.93870800000002
103
+ "memoryPerInstance": 1711.448,
104
+ "time": 0.8574580000000651
105
105
  },
106
106
  {
107
107
  "instanceCount": 1000,
108
- "memoryPerInstance": 1700.744,
109
- "time": 1.0460829999999532
108
+ "memoryPerInstance": 1691.84,
109
+ "time": 0.8113329999999905
110
110
  },
111
111
  {
112
112
  "instanceCount": 1000,
113
- "memoryPerInstance": 1691.72,
114
- "time": 1.2434169999999085
113
+ "memoryPerInstance": 1691.752,
114
+ "time": 0.8201670000000831
115
115
  },
116
116
  {
117
117
  "instanceCount": 1000,
118
- "memoryPerInstance": 580.544,
119
- "time": 7.962916999999948
118
+ "memoryPerInstance": 1714.432,
119
+ "time": 0.8193750000000364
120
120
  },
121
121
  {
122
122
  "instanceCount": 1000,
123
- "memoryPerInstance": 1691.72,
124
- "time": 2.653291999999965
123
+ "memoryPerInstance": 1691.856,
124
+ "time": 0.8278330000000551
125
125
  },
126
126
  {
127
127
  "instanceCount": 1000,
128
- "memoryPerInstance": 1711.944,
129
- "time": 0.9457920000000968
128
+ "memoryPerInstance": 200,
129
+ "time": 6.075666999999953
130
130
  }
131
131
  ],
132
132
  "stats": {
@@ -134,142 +134,142 @@
134
134
  "iterations": 25,
135
135
  "memoryPerInstance": {
136
136
  "min": 200,
137
- "max": 7815.744,
138
- "average": 2094.79552,
139
- "stdDev": 1757.6835861447446
137
+ "max": 7795.984,
138
+ "average": 2035.88,
139
+ "stdDev": 1792.5072522930554
140
140
  },
141
141
  "time": {
142
- "min": 0.8411660000000438,
143
- "max": 8.47995800000001,
144
- "average": 2.2284616399999915,
145
- "stdDev": 2.488958760471771
142
+ "min": 0.8113329999999905,
143
+ "max": 31.10320900000005,
144
+ "average": 5.184693200000013,
145
+ "stdDev": 6.8302816761666065
146
146
  },
147
147
  "status": "PASS",
148
148
  "measurements": [
149
149
  {
150
150
  "instanceCount": 1000,
151
- "memoryPerInstance": 1760.168,
152
- "time": 1.368333000000007
151
+ "memoryPerInstance": 1760.208,
152
+ "time": 1.068540999999982
153
153
  },
154
154
  {
155
155
  "instanceCount": 1000,
156
- "memoryPerInstance": 5760.192,
157
- "time": 1.8310000000000173
156
+ "memoryPerInstance": 5760.456,
157
+ "time": 1.7292079999999714
158
158
  },
159
159
  {
160
160
  "instanceCount": 1000,
161
- "memoryPerInstance": 1691.832,
162
- "time": 0.8875829999999496
161
+ "memoryPerInstance": 1691.848,
162
+ "time": 1.1657089999999926
163
163
  },
164
164
  {
165
165
  "instanceCount": 1000,
166
- "memoryPerInstance": 1691.704,
167
- "time": 1.1328750000000127
166
+ "memoryPerInstance": 200,
167
+ "time": 31.10320900000005
168
168
  },
169
169
  {
170
170
  "instanceCount": 1000,
171
- "memoryPerInstance": 1691.848,
172
- "time": 0.98599999999999
171
+ "memoryPerInstance": 1700.08,
172
+ "time": 1.1163750000000618
173
173
  },
174
174
  {
175
175
  "instanceCount": 1000,
176
- "memoryPerInstance": 1716.072,
177
- "time": 0.9029580000000124
176
+ "memoryPerInstance": 887.36,
177
+ "time": 7.004166000000055
178
178
  },
179
179
  {
180
180
  "instanceCount": 1000,
181
- "memoryPerInstance": 6270.48,
182
- "time": 1.521250000000009
181
+ "memoryPerInstance": 6270.648,
182
+ "time": 2.868249999999989
183
183
  },
184
184
  {
185
185
  "instanceCount": 1000,
186
- "memoryPerInstance": 1711.944,
187
- "time": 0.8573340000000371
186
+ "memoryPerInstance": 1691.768,
187
+ "time": 0.9251250000000937
188
188
  },
189
189
  {
190
190
  "instanceCount": 1000,
191
- "memoryPerInstance": 1691.616,
192
- "time": 0.8411660000000438
191
+ "memoryPerInstance": 1691.832,
192
+ "time": 8.945375000000013
193
193
  },
194
194
  {
195
195
  "instanceCount": 1000,
196
- "memoryPerInstance": 200,
197
- "time": 8.47995800000001
196
+ "memoryPerInstance": 1711.576,
197
+ "time": 4.259957999999983
198
198
  },
199
199
  {
200
200
  "instanceCount": 1000,
201
- "memoryPerInstance": 1691.776,
202
- "time": 1.0823329999999487
201
+ "memoryPerInstance": 1691.88,
202
+ "time": 2.890541999999982
203
203
  },
204
204
  {
205
205
  "instanceCount": 1000,
206
- "memoryPerInstance": 926.864,
207
- "time": 7.961374999999975
206
+ "memoryPerInstance": 1710.008,
207
+ "time": 13.418583000000012
208
208
  },
209
209
  {
210
210
  "instanceCount": 1000,
211
- "memoryPerInstance": 1691.832,
212
- "time": 0.9651659999999538
211
+ "memoryPerInstance": 1691.88,
212
+ "time": 3.2957910000000084
213
213
  },
214
214
  {
215
215
  "instanceCount": 1000,
216
- "memoryPerInstance": 1691.72,
217
- "time": 0.9022919999999885
216
+ "memoryPerInstance": 200,
217
+ "time": 17.39791600000001
218
218
  },
219
219
  {
220
220
  "instanceCount": 1000,
221
- "memoryPerInstance": 1691.696,
222
- "time": 0.8977080000000797
221
+ "memoryPerInstance": 1732.952,
222
+ "time": 2.2536249999999427
223
223
  },
224
224
  {
225
225
  "instanceCount": 1000,
226
- "memoryPerInstance": 1691.76,
227
- "time": 0.8950419999999895
226
+ "memoryPerInstance": 1691.856,
227
+ "time": 6.597667000000001
228
228
  },
229
229
  {
230
230
  "instanceCount": 1000,
231
- "memoryPerInstance": 1714.248,
232
- "time": 0.8999169999999594
231
+ "memoryPerInstance": 608.224,
232
+ "time": 10.625999999999976
233
233
  },
234
234
  {
235
235
  "instanceCount": 1000,
236
- "memoryPerInstance": 1691.72,
237
- "time": 0.8802499999999327
236
+ "memoryPerInstance": 1707.112,
237
+ "time": 0.9710410000000138
238
238
  },
239
239
  {
240
240
  "instanceCount": 1000,
241
- "memoryPerInstance": 7815.744,
242
- "time": 1.6287919999999758
241
+ "memoryPerInstance": 7795.984,
242
+ "time": 1.768416000000002
243
243
  },
244
244
  {
245
245
  "instanceCount": 1000,
246
- "memoryPerInstance": 200,
247
- "time": 6.93870800000002
246
+ "memoryPerInstance": 1711.448,
247
+ "time": 0.8574580000000651
248
248
  },
249
249
  {
250
250
  "instanceCount": 1000,
251
- "memoryPerInstance": 1700.744,
252
- "time": 1.0460829999999532
251
+ "memoryPerInstance": 1691.84,
252
+ "time": 0.8113329999999905
253
253
  },
254
254
  {
255
255
  "instanceCount": 1000,
256
- "memoryPerInstance": 1691.72,
257
- "time": 1.2434169999999085
256
+ "memoryPerInstance": 1691.752,
257
+ "time": 0.8201670000000831
258
258
  },
259
259
  {
260
260
  "instanceCount": 1000,
261
- "memoryPerInstance": 580.544,
262
- "time": 7.962916999999948
261
+ "memoryPerInstance": 1714.432,
262
+ "time": 0.8193750000000364
263
263
  },
264
264
  {
265
265
  "instanceCount": 1000,
266
- "memoryPerInstance": 1691.72,
267
- "time": 2.653291999999965
266
+ "memoryPerInstance": 1691.856,
267
+ "time": 0.8278330000000551
268
268
  },
269
269
  {
270
270
  "instanceCount": 1000,
271
- "memoryPerInstance": 1711.944,
272
- "time": 0.9457920000000968
271
+ "memoryPerInstance": 200,
272
+ "time": 6.075666999999953
273
273
  }
274
274
  ]
275
275
  }
@@ -1,125 +1,125 @@
1
1
  {
2
2
  "instanceCount": 10000,
3
3
  "iterations": 10,
4
- "timestamp": "2025-07-19T19:08:20.037Z",
4
+ "timestamp": "2025-07-21T04:04:11.637Z",
5
5
  "measurements": [
6
6
  {
7
7
  "instanceCount": 10000,
8
- "memoryPerInstance": 1336.0176,
9
- "time": 21.07304099999999
8
+ "memoryPerInstance": 1496.5888,
9
+ "time": 32.52887499999997
10
10
  },
11
11
  {
12
12
  "instanceCount": 10000,
13
- "memoryPerInstance": 3567.3424,
14
- "time": 17.16633300000001
13
+ "memoryPerInstance": 200,
14
+ "time": 31.254792000000066
15
15
  },
16
16
  {
17
17
  "instanceCount": 10000,
18
- "memoryPerInstance": 1315.2432,
19
- "time": 18.504790999999955
18
+ "memoryPerInstance": 1336.1224,
19
+ "time": 21.119542000000024
20
20
  },
21
21
  {
22
22
  "instanceCount": 10000,
23
- "memoryPerInstance": 3663.2376,
24
- "time": 25.126666
23
+ "memoryPerInstance": 3693.02,
24
+ "time": 23.408000000000015
25
25
  },
26
26
  {
27
27
  "instanceCount": 10000,
28
- "memoryPerInstance": 1327.012,
29
- "time": 18.33766700000001
28
+ "memoryPerInstance": 1296.088,
29
+ "time": 19.141708000000108
30
30
  },
31
31
  {
32
32
  "instanceCount": 10000,
33
- "memoryPerInstance": 1332.056,
34
- "time": 17.405708000000004
33
+ "memoryPerInstance": 1405.6936,
34
+ "time": 14.283083999999917
35
35
  },
36
36
  {
37
37
  "instanceCount": 10000,
38
- "memoryPerInstance": 1490.1256,
39
- "time": 13.294082999999887
38
+ "memoryPerInstance": 1333.1032,
39
+ "time": 18.000541000000112
40
40
  },
41
41
  {
42
42
  "instanceCount": 10000,
43
- "memoryPerInstance": 1317.9576,
44
- "time": 17.219082999999955
43
+ "memoryPerInstance": 1317.4712,
44
+ "time": 19.70833400000015
45
45
  },
46
46
  {
47
47
  "instanceCount": 10000,
48
- "memoryPerInstance": 1319.4904,
49
- "time": 18.122583000000077
48
+ "memoryPerInstance": 1341.0752,
49
+ "time": 17.651374999999916
50
50
  },
51
51
  {
52
52
  "instanceCount": 10000,
53
- "memoryPerInstance": 1332.9272,
54
- "time": 17.48349999999982
53
+ "memoryPerInstance": 1514.268,
54
+ "time": 14.481999999999971
55
55
  }
56
56
  ],
57
57
  "stats": {
58
58
  "instanceCount": 10000,
59
59
  "iterations": 10,
60
60
  "memoryPerInstance": {
61
- "min": 1315.2432,
62
- "max": 3663.2376,
63
- "average": 1800.14096,
64
- "stdDev": 909.150420309831
61
+ "min": 200,
62
+ "max": 3693.02,
63
+ "average": 1493.34304,
64
+ "stdDev": 816.2638572597995
65
65
  },
66
66
  "time": {
67
- "min": 13.294082999999887,
68
- "max": 25.126666,
69
- "average": 18.37334549999997,
70
- "stdDev": 2.886059290068829
67
+ "min": 14.283083999999917,
68
+ "max": 32.52887499999997,
69
+ "average": 21.157825100000025,
70
+ "stdDev": 5.971368041277779
71
71
  },
72
72
  "status": "PASS",
73
73
  "measurements": [
74
74
  {
75
75
  "instanceCount": 10000,
76
- "memoryPerInstance": 1336.0176,
77
- "time": 21.07304099999999
76
+ "memoryPerInstance": 1496.5888,
77
+ "time": 32.52887499999997
78
78
  },
79
79
  {
80
80
  "instanceCount": 10000,
81
- "memoryPerInstance": 3567.3424,
82
- "time": 17.16633300000001
81
+ "memoryPerInstance": 200,
82
+ "time": 31.254792000000066
83
83
  },
84
84
  {
85
85
  "instanceCount": 10000,
86
- "memoryPerInstance": 1315.2432,
87
- "time": 18.504790999999955
86
+ "memoryPerInstance": 1336.1224,
87
+ "time": 21.119542000000024
88
88
  },
89
89
  {
90
90
  "instanceCount": 10000,
91
- "memoryPerInstance": 3663.2376,
92
- "time": 25.126666
91
+ "memoryPerInstance": 3693.02,
92
+ "time": 23.408000000000015
93
93
  },
94
94
  {
95
95
  "instanceCount": 10000,
96
- "memoryPerInstance": 1327.012,
97
- "time": 18.33766700000001
96
+ "memoryPerInstance": 1296.088,
97
+ "time": 19.141708000000108
98
98
  },
99
99
  {
100
100
  "instanceCount": 10000,
101
- "memoryPerInstance": 1332.056,
102
- "time": 17.405708000000004
101
+ "memoryPerInstance": 1405.6936,
102
+ "time": 14.283083999999917
103
103
  },
104
104
  {
105
105
  "instanceCount": 10000,
106
- "memoryPerInstance": 1490.1256,
107
- "time": 13.294082999999887
106
+ "memoryPerInstance": 1333.1032,
107
+ "time": 18.000541000000112
108
108
  },
109
109
  {
110
110
  "instanceCount": 10000,
111
- "memoryPerInstance": 1317.9576,
112
- "time": 17.219082999999955
111
+ "memoryPerInstance": 1317.4712,
112
+ "time": 19.70833400000015
113
113
  },
114
114
  {
115
115
  "instanceCount": 10000,
116
- "memoryPerInstance": 1319.4904,
117
- "time": 18.122583000000077
116
+ "memoryPerInstance": 1341.0752,
117
+ "time": 17.651374999999916
118
118
  },
119
119
  {
120
120
  "instanceCount": 10000,
121
- "memoryPerInstance": 1332.9272,
122
- "time": 17.48349999999982
121
+ "memoryPerInstance": 1514.268,
122
+ "time": 14.481999999999971
123
123
  }
124
124
  ]
125
125
  }