pinokiod 3.2.46 → 3.2.47
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/kernel/index.js +6 -0
- package/package.json +1 -1
package/kernel/index.js
CHANGED
|
@@ -354,6 +354,7 @@ class Kernel {
|
|
|
354
354
|
...info
|
|
355
355
|
}, null, 2))
|
|
356
356
|
this.sysinfo = info
|
|
357
|
+
console.time("template.init")
|
|
357
358
|
await this.template.init({
|
|
358
359
|
kernel: this,
|
|
359
360
|
system,
|
|
@@ -364,8 +365,13 @@ class Kernel {
|
|
|
364
365
|
},
|
|
365
366
|
...info
|
|
366
367
|
})
|
|
368
|
+
console.timeEnd("template.init")
|
|
369
|
+
console.time("update_sysinfo")
|
|
367
370
|
await this.update_sysinfo()
|
|
371
|
+
console.timeEnd("update_sysinfo")
|
|
372
|
+
console.time("shell.init")
|
|
368
373
|
await this.shell.init()
|
|
374
|
+
console.timeEnd("shell.init")
|
|
369
375
|
if (this.envs) {
|
|
370
376
|
this.template.update({
|
|
371
377
|
env: this.envs,
|