Sign in
webkit
/
WebKit
/
1c7d0e6821998d9f5e927f04218eaa12c2aeca32
/
.
/
JSTests
/
microbenchmarks
/
for-of-array.js
blob: 92e4b69a31ed0488da59685d75232b537d9c6739 [
file
] [
log
] [
blame
]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
var
data
=
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
];
function
fn
()
{
var
ret
=
''
;
for
(
var
value of data
)
ret
+=
value
;
return
ret
;
}
noInline
(
fn
);
for
(
var
i
=
0
;
i
<
1e5
;
++
i
)
fn
();