Uh oh!
There was an error while loading. Please reload this page.
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.
BridgeAR
commented
Sep 17, 2018
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/ ✔️ |
BridgeAR
commented
Sep 18, 2018
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>
addaleax
commented
Sep 18, 2018
@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