git://git.webkit.org
/
WebKit-https.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[JSC] Clean up Object.entries implementation
[WebKit-https.git]
/
JSTests
/
microbenchmarks
/
singleton-scope.js
1
function foo() {
2
var x = 42;
3
var y = 43;
4
return function(z) {
5
var result = x + y;
6
x += z;
7
y += z;
8
return result;
9
}
10
}
11
12
var f = foo();
13
noInline(f);
14
15
for (var i = 0; i < 10000000; ++i)
16
f(1);