fix: refactor performance in vscode.html

This commit is contained in:
Joe Previte 2021-02-26 14:16:46 -07:00
parent 1bf3036597
commit 5f3afbf7a9
No known key found for this signature in database
GPG Key ID: 2C91590C6B742C24
1 changed files with 2 additions and 3 deletions

View File

@ -3,8 +3,7 @@
<html>
<head>
<script>
globalThis.MonacoPerformanceMarks = globalThis.MonacoPerformanceMarks || []
globalThis.MonacoPerformanceMarks.push("renderer/started", Date.now())
performance.mark('code/didStartRenderer')
</script>
<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}}/lib/vscode/out/vs/loader.js"></script>
<script>
globalThis.MonacoPerformanceMarks.push("willLoadWorkbenchMain", Date.now())
performance.mark('code/willLoadWorkbenchMain');
</script>
<!-- PROD_ONLY
<script data-cfasync="false" src="{{CS_STATIC_BASE}}/lib/vscode/out/vs/workbench/workbench.web.api.nls.js"></script>