HTML Preparation code:
Tests:
  • DOMPurify

  • Sanitize HTML

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    DOMPurify
    Sanitize HTML

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 days ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0
Firefox 133 on Windows
View result in a separate tab
Test name Executions per second
DOMPurify 18305.6 Ops/sec
Sanitize HTML 36464.8 Ops/sec