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