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