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