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`
Hello, world!
`; }); @@ -41,7 +37,7 @@ bench.add("array expressions", () => { `; }); -const items2 = ["Item 1", "Item 2", "Item 3"]; +const items2 = ["Item 1", "Item <1.5>", "Item 2", "Item <2.5>", "Item 3"]; bench.add("array expressions with escapable chars", () => { result = html`