Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Pasero <benjpas@microsoft.com>2020-11-26 09:41:52 +0300
committerBenjamin Pasero <benjpas@microsoft.com>2020-11-26 09:42:05 +0300
commit392b6a94e0a23a9687477b795cbe2d8dae6f5ffd (patch)
tree8b921887407ba5eb05474b273bfe947b02f2b4c5 /src/bootstrap-window.js
parentd547170675ba4ab1fe0d84262428a83135811847 (diff)
perf - remove redundant performance usages
@jrieken fyi
Diffstat (limited to 'src/bootstrap-window.js')
-rw-r--r--src/bootstrap-window.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap-window.js b/src/bootstrap-window.js
index 8edd1780ff6..d7cc72d3bd8 100644
--- a/src/bootstrap-window.js
+++ b/src/bootstrap-window.js
@@ -275,6 +275,7 @@
*/
mark(name) {
globalThis.MonacoPerformanceMarks.push(name, Date.now());
+ performance.mark(name);
}
};
}