Uh oh!
There was an error while loading. Please reload this page.
module: improve getPackageType performance - #57599
Conversation
nodejs-github-bot
commented
Mar 23, 2025
Review requested:
|
759229d to
2c75280Compareanonrig
commented
Mar 23, 2025
I'll review tomorrow morning. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@## main #57599 +/- ##
==========================================
- Coverage 90.22% 90.22% -0.01%
==========================================
Files 630 630 Lines 185055 185064 +9 Branches 36216 36223 +7 ==========================================
- Hits 166975 166969 -6 - Misses 11042 11043 +1 - Partials 7038 7052 +14
🚀 New features to boost your workflow:
|
2052d4a to
3406431CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
3406431 to
0670e6eCompare0670e6e to
46649e7CompareUh oh!
There was an error while loading. Please reload this page.
Co-authored-by: James M Snell <jasnell@gmail.com>
jasnell
commented
Mar 25, 2025
I think this should be ready to go but we're unable to run jenkins CI on it currently due to some ongoing maintenance, Once the CI system is unrestricted again we'll get the CI run scheduled so we can get this landed. |
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as outdated.
This comment was marked as outdated.
nodejs-github-bot
commented
Apr 1, 2025
nodejs-github-bot
commented
Apr 5, 2025
nodejs-github-bot
commented
Apr 5, 2025
nodejs-github-bot
commented
Apr 6, 2025
Landed in 8c25465 |
PR-URL: #57599 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
PR-URL: #57599 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
PR-URL: #57599 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
PR-URL: #57599 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
PR-URL: #57599 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
PR-URL: #57599 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
PR-URL: #57599 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
packageJsonReader#getPackageTypecurrently gets the whole package scope config from the C++ binding and then extracts itstypefield, my understanding is that this is wasteful (since the whole object needs to be serialized to cross the C++/JS boundary) and that gathering the type in C++ and returning only that would be more efficient, that's what I'm attempting to do in this PR 🙂 (I hope my C++ makes sense as I am pretty inexperienced with it 🤞)