Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:136.0) Gecko/20100101 Firefox/136.0
Firefox 136
Mac OS X 10.15
Desktop
29 days ago
Test name Executions per second
Dompurify 2.3.3 4696.6 Ops/sec
Sanitize-html 1.27.5 16304.8 Ops/sec
Js-XSS Latest 27147.3 Ops/sec
HTML Preparation code:
Tests:
  • Dompurify 2.3.3

  • Sanitize-html 1.27.5

  • Js-XSS Latest