diff options
-rw-r--r-- | content/posts/2022-03-09-fastest-js-html-escape.md | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/content/posts/2022-03-09-fastest-js-html-escape.md b/content/posts/2022-03-09-fastest-js-html-escape.md index 038e4da..7f38ec5 100644 --- a/content/posts/2022-03-09-fastest-js-html-escape.md +++ b/content/posts/2022-03-09-fastest-js-html-escape.md @@ -4,13 +4,14 @@ title: "Fastest JavaScript HTML Escape" date: "2022-03-09T21:42:57-04:00" --- What is the fastest [JavaScript][js] [HTML][] escape implementation? To -find out, I did the following: +find out, I: 1. Wrote [10 different JavaScript HTML escape implementations][impls]. -2. Created a web-based benchmarking tool which uses [web workers][] and the - [Performance API][] to test the with a variety of string sizes and - generates a downloadable [CSV][] of results. -3. A set of scripts to aggregate and plot the results. +2. Created a web-based benchmarking tool which uses [web workers][] and + the [Performance API][] to test the with a variety of string sizes + and generates a downloadable [CSV][] of results. +3. Created a set of scripts to aggregate and plot the results as + [SVGs][svg]. ## Results |