blob: 4486dafc359632a9fd7de9269ef003e0e560d15e [file] [log] [blame]
<!DOCTYPE html>
<body>
<script src="../resources/runner.js"></script>
<script>
var length = 1000000;
var source = new Array(length);
for (var i = 0; i < length; i++)
source[i] = i;
PerfTestRunner.measureRunsPerSecond({run: function() {
var target = new Uint8Array(source);
}});
</script>
</body>