Skip to content

http: fixup perf regression - #38110

Closed
jasnell wants to merge 1 commit into
nodejs:masterfrom
jasnell:fixup-perf-regression
Closed

http: fixup perf regression#38110
jasnell wants to merge 1 commit into
nodejs:masterfrom
jasnell:fixup-perf-regression

Conversation

@jasnell

Copy link
Copy Markdown
Member

/cc @mcollina

Signed-off-by: James M Snell jasnell@gmail.com

@nodejs-github-botnodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. http Issues or PRs related to the http subsystem. needs-ci PRs that need a full CI run. labels Apr 6, 2021
@nodejs-github-bot

This comment has been minimized.

@mcollinamcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm, this does the trick.

@richardlau

This comment has been minimized.

@jasnell
jasnellforce-pushed the fixup-perf-regression branch from 237a4ce to 978e4fbCompareApril 6, 2021 16:04
@jasnelljasnell added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Apr 6, 2021
@nodejs-github-bot

This comment has been minimized.

Comment threadlib/internal/perf/observe.js Outdated
@jasnell
jasnellforce-pushed the fixup-perf-regression branch from 978e4fb to de05bb6CompareApril 6, 2021 22:29
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@mcollina

Copy link
Copy Markdown
Member

@nodejs/testing @nodejs/build this test keep failing test.parallel/test-zlib-unused-weak. This looks a lot like a flaky test or a regression - the code in the test should not be affected by this change.

@lpinca

Copy link
Copy Markdown
Member

I think it makes sense to fast-track #38149.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

Only call into hrtime if there's an observer
Also, fix up some previously missed changes from the original refactor
Signed-off-by: James M Snell <jasnell@gmail.com>
Refs: nodejs#37937
Refs: nodejs#37136
@jasnell
jasnellforce-pushed the fixup-perf-regression branch from de05bb6 to 1c62829CompareApril 9, 2021 22:38
@nodejs-github-bot

nodejs-github-bot commented Apr 9, 2021

Copy link
Copy Markdown
Collaborator

@jasnell

Copy link
Copy Markdown
MemberAuthor

YAY!!! Finally a green CI!

jasnell added a commit that referenced this pull request Apr 9, 2021
Only call into hrtime if there's an observer
Also, fix up some previously missed changes from the original refactor
Signed-off-by: James M Snell <jasnell@gmail.com>
Refs: #37937
Refs: #37136
PR-URL: #38110
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
@jasnell

Copy link
Copy Markdown
MemberAuthor

Landed in 40ace47

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.c++Issues and PRs that require attention from people who are familiar with C++.httpIssues or PRs related to the http subsystem.needs-ciPRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@jasnell@nodejs-github-bot@richardlau@mcollina@lpinca@benjamingr@BridgeAR@targos