forked from WebKit/WebKit
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream'
- Loading branch information
Showing
14,808 changed files
with
278,373 additions
and
136,167 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
function test(object, value) | ||
{ | ||
return { ...object, value }; | ||
} | ||
noInline(test); | ||
|
||
var object = { | ||
"hello": 1, | ||
"world": 2, | ||
"this": 3, | ||
"is": 4, | ||
"a": 5, | ||
"test": 6, | ||
"for": 7, | ||
"super": 8, | ||
"fast": 9, | ||
"cloning": 10, | ||
"via": 11, | ||
"spread": 12, | ||
"expression": 13, | ||
}; | ||
|
||
for (var i = 0; i < 1e6; ++i) | ||
test(object, 14); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
//@ requireOptions("--useUint8ArrayBase64Methods=1") | ||
|
||
function test(string) | ||
{ | ||
return Uint8Array.fromHex(string); | ||
} | ||
noInline(test); | ||
|
||
let buffer = new Uint8Array(16 * 1024); | ||
for (let i = 0; i < buffer.length; ++i) | ||
buffer[i] = i & 0xff; | ||
let string = buffer.toHex(); | ||
|
||
for (let i = 0; i < 1e3; ++i) | ||
test(string); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
globalThis.value = 42; | ||
|
||
function test() | ||
{ | ||
return globalThis.value; | ||
} | ||
noInline(test); | ||
|
||
for (var i = 0; i < 1e8; ++i) | ||
test(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
globalThis.value = 42; | ||
|
||
function test(v) | ||
{ | ||
globalThis.value = v; | ||
} | ||
noInline(test); | ||
|
||
for (var i = 0; i < 1e8; ++i) | ||
test(i); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
var array = new Proxy([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], Reflect); | ||
|
||
function test() { | ||
var total = 0; | ||
for (var i = 0; i < array.length; ++i) | ||
total += array[i]; | ||
return total; | ||
} | ||
noInline(test); | ||
|
||
for (var i = 0; i < 1e5; ++i) | ||
test(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
var array = new Proxy([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], Reflect); | ||
|
||
function test() { | ||
var total = 0; | ||
for (var i = 0; i < array.length; ++i) | ||
total += (i in array); | ||
return total; | ||
} | ||
noInline(test); | ||
|
||
for (var i = 0; i < 1e5; ++i) | ||
test(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
var array = new Proxy([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], Reflect); | ||
|
||
function test() { | ||
for (var i = 0; i < array.length; ++i) | ||
array[i] = i; | ||
} | ||
noInline(test); | ||
|
||
for (var i = 0; i < 1e4; ++i) | ||
test(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
function max(a, b) | ||
{ | ||
return Math.max(a, b); | ||
} | ||
noInline(max); | ||
|
||
for (var i = 0; i < 1e6; ++i) { | ||
max(5, 5); | ||
max(5, 400.2); | ||
max(400.2, 5); | ||
max(24.3, 400.2); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
function fill(template, title, completed, checked) { | ||
return template.replaceAll("{{title}}", title) | ||
.replaceAll("{{completed}}", completed) | ||
.replaceAll("{{checked}}", checked); | ||
} | ||
noInline(fill); | ||
|
||
function test() { | ||
for (var i = 55; i < 100; ++i) { | ||
for (var j = 0; j < i; ++j) { | ||
var template = `<li data-id="${j + 1}" class="{{completed}}"><div class="view"><input class="toggle" type="checkbox" {{checked}}><label>{{title}}</label><button class="destroy"></button></div></li> | ||
<li data-id="${j + 1}" class="{{completed}}"><div class="view"><input class="toggle" type="checkbox" {{checked}}><label>{{title}}</label><button class="destroy"></button></div></li> | ||
<li data-id="${j + 1}" class="{{completed}}"><div class="view"><input class="toggle" type="checkbox" {{checked}}><label>{{title}}</label><button class="destroy"></button></div></li>`; | ||
fill(template, `Something to do ${j}`, "", ""); | ||
} | ||
} | ||
} | ||
noInline(test); | ||
|
||
for (var i = 0; i < 100; ++i) | ||
test(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
//@ requireOptions("--useUint8ArrayBase64Methods=1") | ||
|
||
function test(buffer) | ||
{ | ||
return buffer.toBase64(); | ||
} | ||
noInline(test); | ||
|
||
let buffer = new Uint8Array(16 * 1024); | ||
for (let i = 0; i < buffer.length; ++i) | ||
buffer[i] = i & 0xff; | ||
|
||
for (let i = 0; i < 1e4; ++i) | ||
test(buffer); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.