-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'nodejs:main' into fix-abort-listener-events-on
- Loading branch information
Showing
447 changed files
with
6,916 additions
and
18,754 deletions.
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
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 |
---|---|---|
|
@@ -190,8 +190,6 @@ For information about the governance of the Node.js project, see | |
**Moshe Atlow** <<[email protected]>> (he/him) | ||
* [RafaelGSS](https://github.com/RafaelGSS) - | ||
**Rafael Gonzaga** <<[email protected]>> (he/him) | ||
* [RaisinTen](https://github.com/RaisinTen) - | ||
**Darshan Sen** <<[email protected]>> (he/him) | ||
* [richardlau](https://github.com/richardlau) - | ||
**Richard Lau** <<[email protected]>> | ||
* [ronag](https://github.com/ronag) - | ||
|
@@ -266,6 +264,8 @@ For information about the governance of the Node.js project, see | |
**Alexis Campailla** <<[email protected]>> | ||
* [piscisaureus](https://github.com/piscisaureus) - | ||
**Bert Belder** <<[email protected]>> | ||
* [RaisinTen](https://github.com/RaisinTen) - | ||
**Darshan Sen** <<[email protected]>> (he/him) | ||
* [sam-github](https://github.com/sam-github) - | ||
**Sam Roberts** <<[email protected]>> | ||
* [shigeki](https://github.com/shigeki) - | ||
|
@@ -389,6 +389,8 @@ For information about the governance of the Node.js project, see | |
**Keyhan Vakil** <<[email protected]>> | ||
* [legendecas](https://github.com/legendecas) - | ||
**Chengzhong Wu** <<[email protected]>> (he/him) | ||
* [lemire](https://github.com/lemire) - | ||
**Daniel Lemire** <<[email protected]>> | ||
* [linkgoron](https://github.com/linkgoron) - | ||
**Nitzan Uziely** <<[email protected]>> | ||
* [LiviaMedeiros](https://github.com/LiviaMedeiros) - | ||
|
@@ -425,16 +427,12 @@ For information about the governance of the Node.js project, see | |
**Myles Borins** <<[email protected]>> (he/him) | ||
* [ovflowd](https://github.com/ovflowd) - | ||
**Claudio Wunder** <<[email protected]>> (he/they) | ||
* [oyyd](https://github.com/oyyd) - | ||
**Ouyang Yadong** <<[email protected]>> (he/him) | ||
* [panva](https://github.com/panva) - | ||
**Filip Skokan** <<[email protected]>> (he/him) | ||
* [Qard](https://github.com/Qard) - | ||
**Stephen Belanger** <<[email protected]>> (he/him) | ||
* [RafaelGSS](https://github.com/RafaelGSS) - | ||
**Rafael Gonzaga** <<[email protected]>> (he/him) | ||
* [RaisinTen](https://github.com/RaisinTen) - | ||
**Darshan Sen** <<[email protected]>> (he/him) | ||
* [rluvaton](https://github.com/rluvaton) - | ||
**Raz Luvaton** <<[email protected]>> (he/him) | ||
* [richardlau](https://github.com/richardlau) - | ||
|
@@ -623,6 +621,8 @@ For information about the governance of the Node.js project, see | |
**Alexis Campailla** <<[email protected]>> | ||
* [othiym23](https://github.com/othiym23) - | ||
**Forrest L Norvell** <<[email protected]>> (they/them/themself) | ||
* [oyyd](https://github.com/oyyd) - | ||
**Ouyang Yadong** <<[email protected]>> (he/him) | ||
* [petkaantonov](https://github.com/petkaantonov) - | ||
**Petka Antonov** <<[email protected]>> | ||
* [phillipj](https://github.com/phillipj) - | ||
|
@@ -639,6 +639,8 @@ For information about the governance of the Node.js project, see | |
**Peter Marshall** <<[email protected]>> (he/him) | ||
* [puzpuzpuz](https://github.com/puzpuzpuz) - | ||
**Andrey Pechkurov** <<[email protected]>> (he/him) | ||
* [RaisinTen](https://github.com/RaisinTen) - | ||
**Darshan Sen** <<[email protected]>> (he/him) | ||
* [refack](https://github.com/refack) - | ||
**Refael Ackermann (רפאל פלחי)** <<[email protected]>> (he/him/הוא/אתה) | ||
* [rexagod](https://github.com/rexagod) - | ||
|
@@ -737,8 +739,6 @@ maintaining the Node.js project. | |
**Preveen Padmanabhan** <<[email protected]>> (he/him) | ||
* [PoojaDurgad](https://github.com/PoojaDurgad) - | ||
**Pooja Durgad** <<[email protected]>> | ||
* [RaisinTen](https://github.com/RaisinTen) - | ||
**Darshan Sen** <<[email protected]>> | ||
* [VoltrexKeyva](https://github.com/VoltrexKeyva) - | ||
**Mohammed Keyvanzadeh** <<[email protected]>> (he/him) | ||
|
||
|
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,19 @@ | ||
'use strict'; | ||
const common = require('../common.js'); | ||
|
||
const bench = common.createBenchmark(main, { | ||
type: ['URL', 'URLSearchParams'], | ||
n: [1e3, 1e6], | ||
}); | ||
|
||
function main({ type, n }) { | ||
const params = type === 'URL' ? | ||
new URL('https://nodejs.org').searchParams : | ||
new URLSearchParams(); | ||
|
||
bench.start(); | ||
for (let i = 0; i < n; i++) { | ||
params.append('test', i); | ||
} | ||
bench.end(n); | ||
} |
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,29 @@ | ||
'use strict'; | ||
const common = require('../common.js'); | ||
const assert = require('assert'); | ||
|
||
const bench = common.createBenchmark(main, { | ||
searchParams: ['true', 'false'], | ||
property: ['pathname', 'search', 'hash'], | ||
n: [1e6], | ||
}); | ||
|
||
function getMethod(url, property) { | ||
if (property === 'pathname') return (x) => url.pathname = `/${x}`; | ||
if (property === 'search') return (x) => url.search = `?${x}`; | ||
if (property === 'hash') return (x) => url.hash = `#${x}`; | ||
throw new Error(`Unsupported property "${property}"`); | ||
} | ||
|
||
function main({ searchParams, property, n }) { | ||
const url = new URL('https://nodejs.org'); | ||
if (searchParams === 'true') assert(url.searchParams); | ||
|
||
const method = getMethod(url, property); | ||
|
||
bench.start(); | ||
for (let i = 0; i < n; i++) { | ||
method(i); | ||
} | ||
bench.end(n); | ||
} |
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.