diff --git a/bench/index.js b/bench/index.js index d495e9e..b43431f 100644 --- a/bench/index.js +++ b/bench/index.js @@ -9,10 +9,6 @@ let result = ""; const bench = new Bench({ time: 500 }); // Simple cases -bench.add("empty template", () => { - result = html``; -}); - bench.add("simple HTML formatting", () => { result = html`
${largeString}${largeString}
`; }); -// High iteration count -const scriptContent = - ""; -bench.add("high iteration count", () => { - for (let i = 0; i !== 100; i++) { - result = html`${i}: ${scriptContent}`; - } -}); - // Escaped and unescaped expressions const rawHTML = "Italic and bold"; const markup = "Highlighted";