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