fix: refactor performance in vscode.html
This commit is contained in:
parent
1bf3036597
commit
5f3afbf7a9
@ -3,8 +3,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<script>
|
<script>
|
||||||
globalThis.MonacoPerformanceMarks = globalThis.MonacoPerformanceMarks || []
|
performance.mark('code/didStartRenderer')
|
||||||
globalThis.MonacoPerformanceMarks.push("renderer/started", Date.now())
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
@ -44,7 +43,7 @@
|
|||||||
<script data-cfasync="false" src="{{CS_STATIC_BASE}}/dist/register.js"></script>
|
<script data-cfasync="false" src="{{CS_STATIC_BASE}}/dist/register.js"></script>
|
||||||
<script data-cfasync="false" src="{{CS_STATIC_BASE}}/lib/vscode/out/vs/loader.js"></script>
|
<script data-cfasync="false" src="{{CS_STATIC_BASE}}/lib/vscode/out/vs/loader.js"></script>
|
||||||
<script>
|
<script>
|
||||||
globalThis.MonacoPerformanceMarks.push("willLoadWorkbenchMain", Date.now())
|
performance.mark('code/willLoadWorkbenchMain');
|
||||||
</script>
|
</script>
|
||||||
<!-- PROD_ONLY
|
<!-- PROD_ONLY
|
||||||
<script data-cfasync="false" src="{{CS_STATIC_BASE}}/lib/vscode/out/vs/workbench/workbench.web.api.nls.js"></script>
|
<script data-cfasync="false" src="{{CS_STATIC_BASE}}/lib/vscode/out/vs/workbench/workbench.web.api.nls.js"></script>
|
||||||
|
Reference in New Issue
Block a user