Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Chrome 130
Android
Desktop
one month ago
Test name Executions per second
createTextNode("test") 2689873.8 Ops/sec
createTextNode("") 2397189.8 Ops/sec
createTextNode(null) 1716130.6 Ops/sec
createTextNode(undefined) 1437679.5 Ops/sec
Script Preparation code:
Tests:
  • createTextNode("test")

  • createTextNode("")

  • createTextNode(null)

  • createTextNode(undefined)