HTML Preparation code:
AخA
 
1
<div id="test"></div>
Tests:
  • Try/catch

     
    try {
      JSON.parse('{"name":"John", "age":31, "city":"New York"}');
    } catch(error) {
      console.log(error);
    }
  • Without try/catch

     
    JSON.parse('{"name":"John", "age":31, "city":"New York"}');
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    Try/catch
    Without try/catch

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4710.4 Safari/537.36
Chrome 98 on Windows 7
View result in a separate tab
Test name Executions per second
Try/catch 478699.6 Ops/sec
Without try/catch 580923.3 Ops/sec