repo.or.cz
/
qtwebkit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Update ReadMe.md
[qtwebkit.git]
/
JSTests
/
microbenchmarks
/
object-get-own-property-symbols-on-large-array.js
blob
faa48585f45e08d62658719f20e6bb89a278df33
1
function trial()
2
{
3
var buffer = new ArrayBuffer(10000000);
4
var int8View = new Int8Array(buffer);
5
var start = Date.now();
6
var result = Object.getOwnPropertySymbols(int8View);
7
var delta = Date.now() - start;
8
if (delta > 1000)
9
throw new Error(`time consuming (${delta}ms)`);
10
return result;
11
}
12
13
trial();