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

http: cleanup ClientRequest oncreate #36862

Closed
wants to merge 2 commits into from

Conversation

ronag
Copy link
Member

@ronag ronag commented Jan 10, 2021

Iterative work towards cleaning up ClientRequest.

@ronag ronag added the http Issues or PRs related to the http subsystem. label Jan 10, 2021
@ronag ronag requested review from Trott and BridgeAR January 10, 2021 10:04
@ronag
Copy link
Member Author

ronag commented Jan 10, 2021

@nodejs/http

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

Copy link
Member

@Trott Trott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Should we run a subset of the http benchmarks before landing? @mscdex

@nodejs/http

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Contributor

@dnlup dnlup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@dnlup
Copy link
Contributor

dnlup commented Jan 15, 2021

@Trott is benchmark-node-micro-benchmarks the CI job for running benchmarks in this list?

@ronag
Copy link
Member Author

ronag commented Jan 15, 2021

@dnlup Do you want to try and land this?

@dnlup
Copy link
Contributor

dnlup commented Jan 15, 2021

@dnlup Do you want to try and land this?

@ronag Yes 👍🏻 . I'll run the benchmark job on the http subsystem first.

@dnlup
Copy link
Contributor

dnlup commented Jan 15, 2021

@dnlup
Copy link
Contributor

dnlup commented Jan 16, 2021

The job is pretty long. It's still running. I don't see performance regressions so far, inspecting the job console output.

dnlup pushed a commit that referenced this pull request Jan 16, 2021
PR-URL: #36862
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Daniele Belardi <[email protected]>
@dnlup
Copy link
Contributor

dnlup commented Jan 16, 2021

Landed in 963dec3

@dnlup dnlup closed this Jan 16, 2021
@Trott
Copy link
Member

Trott commented Jan 19, 2021

@dnlup The http benchmarks take a long time to run, so it's usually a good idea to use the filter option to run a subset of the http benchmarks. In this case, I think using request as the value for FILTER would have limited the benchmarks to just client-request-body.js and create-clientrequest.js.

I'll open a draft revert PR so we can see that benchmark. Assuming no significant performance issues, I'll close the draft revert PR.

@dnlup
Copy link
Contributor

dnlup commented Jan 19, 2021

@dnlup The http benchmarks take a long time to run, so it's usually a good idea to use the filter option to run a subset of the http benchmarks. In this case, I think using request as the value for FILTER would have limited the benchmarks to just client-request-body.js and create-clientrequest.js.

I'll open a draft revert PR so we can see that benchmark. Assuming no significant performance issues, I'll close the draft revert PR.

@Trott thank you for the explanation. I apologize for the extra work I caused.

ruyadorno pushed a commit that referenced this pull request Jan 22, 2021
PR-URL: #36862
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Daniele Belardi <[email protected]>
@ruyadorno ruyadorno mentioned this pull request Jan 22, 2021
@Trott
Copy link
Member

Trott commented Feb 14, 2021

@Trott thank you for the explanation. I apologize for the extra work I caused.

No worries at all. I was only letting you know in case this is an area where you plan on doing other similar work and may need to run another http benchmark.

targos pushed a commit that referenced this pull request May 1, 2021
PR-URL: #36862
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Daniele Belardi <[email protected]>
@danielleadams danielleadams mentioned this pull request May 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
http Issues or PRs related to the http subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants