Run details:
Mozilla/5.0 (Linux; Android 10; LYA-L29) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.5938.154 Mobile Safari/537.36 OPR/78.3.4143.75607
Opera Mobile 78
Android
Mobile
one year ago
Test name Executions per second
HtmlSanitizer 1808.1 Ops/sec
DOMPurify 1326.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • HtmlSanitizer

  • DOMPurify


;