-
Notifications
You must be signed in to change notification settings - Fork 30.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
test: don't inspect values if not necessary #22903
Conversation
The inspection triggered on each assert call eagerly even tough the assertion was never triggered. That caused significant CPU overhead.
Resume build: https://ci.nodejs.org/job/node-test-pull-request/17270/ ✔️ (besides arm) I expect the arm-fanned re-run to fail so that will need a Rebuild, but let's see if this at least clears up the other two red subtasks. |
arm rebuild: https://ci.nodejs.org/job/node-test-commit-arm-fanned/3576/ ✔️ |
Landed in 9ccf5c8 🎉 |
The inspection triggered on each assert call eagerly even tough the assertion was never triggered. That caused significant CPU overhead. PR-URL: nodejs#22903 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com>
@BridgeAR Just for future reference, from our collaborator guide:
What most people do is to something like “:+1: this comment if you approve of fast-tracking” to a comment on the PR, and then wait for approvals. |
The inspection triggered on each assert call eagerly even tough the assertion was never triggered. That caused significant CPU overhead. PR-URL: #22903 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com>
The inspection triggered on each assert call eagerly even tough the assertion was never triggered. That caused significant CPU overhead. PR-URL: #22903 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com>
The inspection triggered on each assert call eagerly even tough the assertion was never triggered. That caused significant CPU overhead. PR-URL: #22903 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com>
The inspection triggered on each assert call eagerly even tough the
assertion was never triggered. That caused significant CPU overhead.
I currently try to figure out what a nice API would look like for lazy custom assert messages but this can go in right away.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes