HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 6 community runs

Desktop Results:
Chrome 6 runs
InlineSVG
10.9M/s
UseSVG
10.9M/s
View exact numbers
  • InlineSVG: 10,918,382 ops/sec
  • UseSVG: 10,900,749 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    InlineSVG
    UseSVG

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Chrome 135 on Windows
View result in a separate tab
UseSVG
15.2M/s
InlineSVG
15.2M/s
View exact numbers
Test name Executions per second
UseSVG 15,225,740 Ops/sec
InlineSVG 15,223,520 Ops/sec