Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0
Firefox 102
Linux
Desktop
one year ago
Test name Executions per second
Dompurify 2.3.3 849.3 Ops/sec
Sanitize-html 1.27.5 4583.3 Ops/sec
Js-XSS Latest 10733.2 Ops/sec
HTML Preparation code:
Tests:
  • Dompurify 2.3.3

  • Sanitize-html 1.27.5

  • Js-XSS Latest