summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/profiler/test-baseline-eval-frame-profiling.js
blob: 6fd2a5a16ff6f873176a311582d1e7277cd81fd6 (plain)
1
2
3
4
5
6
7
8
9
10
11

setJitCompilerOption("baseline.warmup.trigger", 10);

function main() {
    for (var i = 0; i < 50; i++)
        eval("for (var j = 0; j < 50; j++) readSPSProfilingStack();");
}

gczeal(2, 10000);
enableSPSProfilingWithSlowAssertions();
main();