From 055c5bf6e3c57f40821e16cd76a329156c067e85 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Wed, 9 Mar 2022 23:44:43 -0500 Subject: posts/2022-03-09-fastest-js-html-escape.md: khant tipe --- content/posts/2022-03-09-fastest-js-html-escape.md | 11 ++++++----- 1 file 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 -- cgit v1.2.3