Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Chrome 120
Linux
Desktop
10 months ago
Test name Executions per second
DOMPurify with IN_PLACE 15866.2 Ops/sec
Sanitize HTML 118443688.0 Ops/sec
DOMPurify without IN_PLACE 15884.3 Ops/sec
HTML Preparation code:
Tests:
  • DOMPurify with IN_PLACE

  • Sanitize HTML

  • DOMPurify without IN_PLACE


;