Script Preparation code:
Tests:
  • TextContent

  • InnerText

  • TextContent with trim

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    TextContent
    InnerText
    TextContent with trim

    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; rv:109.0) Gecko/20100101 Firefox/110.0
Firefox 110 on Windows
View result in a separate tab
Test name Executions per second
TextContent 1032795328.0 Ops/sec
InnerText 11541091.0 Ops/sec
TextContent with trim 9384837.0 Ops/sec