Finally perfs

Benchmark created on


Setup

let a;
function leave_frame() {
	a = 2
}

function f(){
    try{
        
    }catch(err){
        throw new Error('eee')
    }finally{
        leave_frame();
    }
}

function g(){
    try{
        
        leave_frame();
    }catch(err){
        throw new Error('eee')
        leave_frame();
    }
}

Test runner

Ready to run.

Testing in
TestOps/sec
finally
f()
ready
duplicate
g()
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.