Run details:
Mozilla/5.0 (Linux; Android 8.0.0; SM-C900F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Mobile Safari/537.36
Chrome Mobile 103
Android 8.0.0
Mobile
2 years ago
Test name Executions per second
DOMPurify 803.6 Ops/sec
Sanitize HTML 5090.5 Ops/sec
HTML Preparation code:
Tests:
  • DOMPurify

  • Sanitize HTML


;