HTML Preparation code:
Script Preparation code:
Tests:
  • write nodes with 7 child nodes

  • write attribute with 7 attributes

  • write nodevalue with 7 string attributes

  • write nodes with 7 child nodes with children + index

  • write nodes with 7 child nodes with nextElementSibling + index

  • write nodes with 7 child nodes with children + no index

  • write nodes with 7 child nodes with nextElementSibling + no index

  • obj with 7 items

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    write nodes with 7 child nodes
    write attribute with 7 attributes
    write nodevalue with 7 string attributes
    write nodes with 7 child nodes with children + index
    write nodes with 7 child nodes with nextElementSibling + index
    write nodes with 7 child nodes with children + no index
    write nodes with 7 child nodes with nextElementSibling + no index
    obj with 7 items

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36
Chrome 95 on Linux
View result in a separate tab
Test name Executions per second
write nodes with 7 child nodes 1910044.2 Ops/sec
write attribute with 7 attributes 1773468.2 Ops/sec
write nodevalue with 7 string attributes 5243155.5 Ops/sec
write nodes with 7 child nodes with children + index 3029336.2 Ops/sec
write nodes with 7 child nodes with nextElementSibling + index 1349164.1 Ops/sec
write nodes with 7 child nodes with children + no index 3970345.2 Ops/sec
write nodes with 7 child nodes with nextElementSibling + no index 4039953.5 Ops/sec
obj with 7 items 14914012.0 Ops/sec