We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb34389 commit 3b12b5cCopy full SHA for 3b12b5c
packages/playground/json/index.ssr.html
@@ -10,12 +10,13 @@
10
</div>
11
12
<script type="module">
13
- const start = Date.now()
+ const startModule = Date.now()
14
text('.fetch-json-module pre', await (await fetch('/json-module')).text())
15
- text('.fetch-json-module code', Date.now() - start)
+ text('.fetch-json-module code', Date.now() - startModule)
16
17
+ const startFs = Date.now()
18
text('.fetch-json-fs pre', await (await fetch('/json-fs')).text())
- text('.fetch-json-fs code', Date.now() - start)
19
+ text('.fetch-json-fs code', Date.now() - startFs)
20
function text(sel, text) {
21
document.querySelector(sel).textContent = text
22
}
0 commit comments