summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/profiler/test-baseline-eval-frame-profiling.js
blob: fafa9a12d9907cc9c08fb5682e8888463ce728cb (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++) readGeckoProfilingStack();");
}

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