Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

events: fix duplicate require which cause performance penalty #39892

Closed
wants to merge 1 commit into from

Conversation

wwwzbwcom
Copy link
Contributor

@wwwzbwcom wwwzbwcom commented Aug 26, 2021

Inspect require multiple times in events

@nodejs-github-bot nodejs-github-bot added events Issues and PRs related to the events subsystem / EventEmitter. needs-ci PRs that need a full CI run. labels Aug 26, 2021
lib/events.js Outdated Show resolved Hide resolved
lib/events.js Outdated Show resolved Hide resolved
lib/events.js Show resolved Hide resolved
@wwwzbwcom
Copy link
Contributor Author

how can I restart the CI?

@VoltrexKeyva
Copy link
Member

how can I restart the CI?

You don't really need to but if you want, you can do that by either closing and re-opening the PR or force pushing your latest commit again with no changes using the git CLI's push subcommand with using both of the options of --amend and --force (-f as an alias).

The force pushing method is recommended.

@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented Aug 27, 2021

@RaisinTen RaisinTen added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Aug 27, 2021
@jasnell
Copy link
Member

jasnell commented Sep 3, 2021

Something wierd happened in this PR. The commit message is from the release while the actual change is correct. The commit message will need to be fixed before this can land. Removing the author ready label.

@jasnell jasnell removed the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Sep 3, 2021
@wwwzbwcom
Copy link
Contributor Author

Something wierd happened in this PR. The commit message is from the release while the actual change is correct. The commit message will need to be fixed before this can land. Removing the author ready label.

fixed

@Ayase-252
Copy link
Member

@wwwzbwcom, It seems still some weird here. The author of the commit is targos not you.

Do you mind do a rebase and fix the problem of commit author?

@wwwzbwcom
Copy link
Contributor Author

@wwwzbwcom, It seems still some weird here. The author of the commit is targos not you.

Do you mind do a rebase and fix the problem of commit author?

done

@Ayase-252 Ayase-252 added the request-ci Add this label to start a Jenkins CI on a PR. label Sep 15, 2021
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Sep 15, 2021
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@Ayase-252 Ayase-252 added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue Add this label to land a pull request using GitHub Actions. labels Sep 15, 2021
@github-actions github-actions bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Sep 15, 2021
@github-actions
Copy link
Contributor

Landed in bea8a90...4a31ea0

@github-actions github-actions bot closed this Sep 15, 2021
nodejs-github-bot pushed a commit that referenced this pull request Sep 15, 2021
PR-URL: #39892
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Nitzan Uziely <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Minwoo Jung <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Zijian Liu <[email protected]>
Reviewed-By: Qingyu Deng <[email protected]>
BethGriggs pushed a commit that referenced this pull request Sep 21, 2021
PR-URL: #39892
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Nitzan Uziely <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Minwoo Jung <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Zijian Liu <[email protected]>
Reviewed-By: Qingyu Deng <[email protected]>
BethGriggs pushed a commit that referenced this pull request Sep 21, 2021
PR-URL: #39892
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Nitzan Uziely <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Minwoo Jung <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: Zijian Liu <[email protected]>
Reviewed-By: Qingyu Deng <[email protected]>
@BethGriggs BethGriggs mentioned this pull request Sep 21, 2021
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. events Issues and PRs related to the events subsystem / EventEmitter. needs-ci PRs that need a full CI run.
Projects
None yet
Development

Successfully merging this pull request may close these issues.