@hydranium/cli 1.0.0-next.270 → 1.0.0-next.271
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.
- package/heap-analysis/heap/core/load.mjs +2 -2
- package/package.json +10 -10
|
@@ -24,10 +24,10 @@ const mb = bytes => bytes / (1024 * 1024);
|
|
|
24
24
|
* @param {(msg: string) => void} [log] timestamped progress sink (defaults to stderr)
|
|
25
25
|
*/
|
|
26
26
|
export async function loadHeap(file, log = progress) {
|
|
27
|
-
const t0 =
|
|
27
|
+
const t0 = performance.now();
|
|
28
28
|
log(`Loading ${file} ...`);
|
|
29
29
|
const heap = await getFullHeapFromFile(file);
|
|
30
|
-
const loadSeconds = (
|
|
30
|
+
const loadSeconds = (performance.now() - t0) / 1000;
|
|
31
31
|
|
|
32
32
|
let totalShallow = 0;
|
|
33
33
|
heap.nodes.forEach(node => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hydranium/cli",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.271",
|
|
4
4
|
"description": "Build-time codegen tools + data-server subcommands for the hydranium framework.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -71,11 +71,11 @@
|
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@eclipse-glsp/graph": "2.7.0",
|
|
73
73
|
"@eclipse-glsp/server": "2.7.0",
|
|
74
|
-
"@hydranium/core": "1.0.0-next.
|
|
75
|
-
"@hydranium/data-server": "1.0.0-next.
|
|
76
|
-
"@hydranium/glsp-server": "1.0.0-next.
|
|
77
|
-
"@hydranium/langium": "1.0.0-next.
|
|
78
|
-
"@hydranium/protocol": "1.0.0-next.
|
|
74
|
+
"@hydranium/core": "1.0.0-next.271",
|
|
75
|
+
"@hydranium/data-server": "1.0.0-next.271",
|
|
76
|
+
"@hydranium/glsp-server": "1.0.0-next.271",
|
|
77
|
+
"@hydranium/langium": "1.0.0-next.271",
|
|
78
|
+
"@hydranium/protocol": "1.0.0-next.271",
|
|
79
79
|
"@types/node": "^22.0.0",
|
|
80
80
|
"inversify": "6.2.2",
|
|
81
81
|
"langium": "4.3.1",
|
|
@@ -89,10 +89,10 @@
|
|
|
89
89
|
"vscode-languageserver-protocol": "3.18.1"
|
|
90
90
|
},
|
|
91
91
|
"peerDependencies": {
|
|
92
|
-
"@hydranium/core": "1.0.0-next.
|
|
93
|
-
"@hydranium/data-server": "1.0.0-next.
|
|
94
|
-
"@hydranium/langium": "1.0.0-next.
|
|
95
|
-
"@hydranium/protocol": "1.0.0-next.
|
|
92
|
+
"@hydranium/core": "1.0.0-next.271",
|
|
93
|
+
"@hydranium/data-server": "1.0.0-next.271",
|
|
94
|
+
"@hydranium/langium": "1.0.0-next.271",
|
|
95
|
+
"@hydranium/protocol": "1.0.0-next.271",
|
|
96
96
|
"@memlab/core": "^2.0.3",
|
|
97
97
|
"@memlab/heap-analysis": "^2.0.3",
|
|
98
98
|
"vscode-jsonrpc": "^9.0.0"
|