Sign in
webkit
/
WebKit
/
e452c13852ace9c101839bb40c2d88da7afa5f11
/
.
/
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
();