Run details:
Mozilla/5.0 (Linux; Android 12; motorola edge 30 pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Mobile Safari/537.36
Edge 0.0
Android
Mobile
2 years ago
Test name Executions per second
dompurify 1330.4 Ops/sec
js-xss 51591.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • dompurify

  • js-xss