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 faaaee0 commit aca33aeCopy full SHA for aca33ae
examples/wasm-benchmark/src/index.ts
@@ -55,16 +55,6 @@ render(state);
55
state.licenseKey = licenseKey;
56
render(state);
57
58
- // We pre-fetch some assets in order to not affect the benchmark results.
59
- const preFetchAssets = [
60
- "./vendor/@nutrient-sdk/viewer/nutrient-viewer-lib/nutrient-viewer.wasm.js",
61
- "./vendor/@nutrient-sdk/viewer/nutrient-viewer-lib/nutrient-viewer.wasm",
62
- ]
63
- .filter(Boolean)
64
- .map((asset) => fetch(asset));
65
-
66
- await Promise.all(preFetchAssets);
67
68
const score = await benchmark.run((updatedTests: Record<string, { state: string; progress: number }>) => {
69
state.tests = updatedTests;
70
0 commit comments