Sign in
webkit
/
WebKit
/
410be4ca7055be9179c217c85d9a7735750cf16d
/
.
/
JSTests
/
stress
/
typed-array-array-modes-profile.js
blob: b927339e3576be576bb86ae0aeb1066d94bcfa3e [
file
] [
log
] [
blame
]
function
foo
(
o
)
{
for
(
var
i
=
0
;
i
<
100
;
++
i
)
{
o
.
f
=
o
.
f
;
}
}
let typedArrays
=
[
Uint8Array
,
Uint32Array
,
Uint8Array
,
];
for
(
let constructor of typedArrays
)
{
let a
=
new
constructor
(
0
);
for
(
let i
=
0
;
i
<
10000
;
i
++)
{
foo
(
a
);
}
}