Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 OPR/105.0.0.0
Opera 105
Windows
Desktop
10 months ago
Test name Executions per second
Dompurify 2.3.3 714.9 Ops/sec
Sanitize-html 1.27.5 3697.9 Ops/sec
Js-XSS Latest 9367.3 Ops/sec
HTML Preparation code:
Tests:
  • Dompurify 2.3.3

  • Sanitize-html 1.27.5

  • Js-XSS Latest


;