Skip to content

Commit 153ff83

Browse files
test log
1 parent 2c171c4 commit 153ff83

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

app/stores/back.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,17 @@ export const useBackStore = defineStore("back", {
9292
additionalProperties: true,
9393
};
9494
const params = { COMMAND_BACK, NUXT_ROOT_PATH, args };
95-
95+
const start = Date.now()
96+
console.log("[GEODE] PERF test begin launch", start)
9697
console.log("[GEODE] params", params);
9798
return appStore.request(
9899
{ schema, params },
99100
{
100101
response_function: (response) => {
102+
const end = Date.now()
103+
console.log("[GEODE] PERF test end launch", end)
104+
console.log("[GEODE] PERF test diff", end - start)
105+
101106
console.log(`[GEODE] Back launched on port ${response.port}`);
102107
this.default_local_port = response.port;
103108
},

app/stores/viewer.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,16 @@ export const useViewerStore = defineStore(
143143

144144
const params = { COMMAND_VIEWER, NUXT_ROOT_PATH, args };
145145
console.log("[VIEWER] params", params);
146-
146+
const start = Date.now()
147+
console.log("[VIEWER] PERF test begin launch", start)
147148
return appStore.request(
148149
{ schema, params },
149150
{
150151
response_function: (response) => {
152+
const end = Date.now()
153+
console.log("[VIEWER] PERF end launch", end)
154+
console.log("[VIEWER] PERF test diff", end - start)
155+
151156
console.log(`[VIEWER] Viewer launched on port ${response.port}`);
152157
default_local_port.value = response.port;
153158
},

0 commit comments

Comments
 (0)