提交 0b1ce5cc 编写于 作者: J Johannes Rieken

add perf marks, #55010

上级 e89bc645
......@@ -82,7 +82,7 @@ function readFile(file) {
}
function showPartsSplash(configuration) {
perf.mark('willShowPartsSplash');
let key;
let keep = false;
// this is the logic of StorageService#getWorkspaceKey and StorageService#toStorageKey
......@@ -110,6 +110,7 @@ function showPartsSplash(configuration) {
if (!keep) {
storage.removeItem(key);
}
perf.mark('didShowPartsSplash');
}
const writeFile = (file, content) => new Promise((c, e) => fs.writeFile(file, content, 'utf8', err => err ? e(err) : c()));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册