Sign in
webkit
/
WebKit
/
d79f7faf1741e287395091ba9e177bbe8eb04d43
/
.
/
JSTests
/
microbenchmarks
/
typed-array-set-uint8-and-uint8clamped.js
blob: 76b0daa969fb77065206767a8f2dde208a521954 [
file
] [
log
] [
blame
]
let x
=
new
Uint8Array
(
10000
);
let y
=
new
Uint8ClampedArray
(
10000
);
let start
=
Date
.
now
();
for
(
let i
=
0
;
i
<
10000
;
++
i
)
{
x
.
set
(
y
);
y
.
set
(
x
);
}
if
(
false
)
print
(
Date
.
now
()
-
start
);