Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
profiler
/
test-baseline-eval-frame-profiling.js
blob: 6fd2a5a16ff6f873176a311582d1e7277cd81fd6 [
file
] [
log
] [
blame
]
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
();