Tests:
  • basic

    x
     
    function test()
    {
      if(Math.random() < 0) throw 0;
    }
    async function main()
    {
      try{
        test();
      }catch(e){
        
      }
    }
    main()
  • old

     
    async function test()
    {
      if(Math.random() < 0) throw 0;
    }
    async function main()
    {
      try{
        await test();
      }catch(e){
        
      }
    }
    main()
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    basic
    old

    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/115.0.0.0 Safari/537.36 Edg/115.0.1901.188
Chrome 115 on Windows
View result in a separate tab
Test name Executions per second
basic 4525587.0 Ops/sec
old 2103260.2 Ops/sec