blob: dae5d250b67a7bfe9db21dc3863cc2e4f5c29564 [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
function trial()
{
var buffer = new ArrayBuffer(10000000);
var int8View = new Int8Array(buffer);
var start = Date.now();
var result = Object.getOwnPropertySymbols(int8View);
var delta = Date.now() - start;
if (delta > 1000)
throw new Error(`time consuming (${delta}ms)`);
return result;
}
trial();