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