Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.143 YaBrowser/22.5.0.1879 (beta) Yowser/2.5 Safari/537.36
Yandex Browser 22
Linux
Desktop
2 years ago
Test name Executions per second
Dompurify 2.3.3 149.4 Ops/sec
Sanitize-html 1.27.5 2208.2 Ops/sec
Js-XSS Latest 8111.8 Ops/sec
HTML Preparation code:
Tests:
  • Dompurify 2.3.3

  • Sanitize-html 1.27.5

  • Js-XSS Latest


;