未验证 提交 5f3afbf7 编写于 作者: J Joe Previte

fix: refactor performance in vscode.html

上级 1bf30365
...@@ -3,8 +3,7 @@ ...@@ -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 @@ ...@@ -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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册