Add SourceMap Benchmark#58125
Merged
nodejs-github-bot merged 3 commits intonodejs:mainfrom Jul 7, 2025
Merged
Conversation
Collaborator
|
Review requested:
|
5e438af to
4147ff3
Compare
Contributor
Author
Member
|
You need to add a test for these benchmarks. You can find similar ones in test folder. |
Contributor
Author
Thank you, just pushed that! |
5749fce to
bc9fbe9
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #58125 +/- ##
==========================================
+ Coverage 90.07% 90.09% +0.02%
==========================================
Files 640 640
Lines 188262 188262
Branches 36912 36911 -1
==========================================
+ Hits 169580 169623 +43
+ Misses 11399 11363 -36
+ Partials 7283 7276 -7 🚀 New features to boost your workflow:
|
legendecas
requested changes
Jun 2, 2025
f1040cd to
421ae12
Compare
legendecas
reviewed
Jun 6, 2025
miguelmarcondesf
commented
Jun 6, 2025
legendecas
reviewed
Jun 9, 2025
legendecas
reviewed
Jun 18, 2025
Member
legendecas
left a comment
There was a problem hiding this comment.
Thank you for the change! Overall LGTM % nits.
02b5acc to
7eab302
Compare
legendecas
reviewed
Jun 19, 2025
legendecas
approved these changes
Jun 20, 2025
Collaborator
c7232d1 to
ac7a40e
Compare
jasnell
approved these changes
Jun 24, 2025
RafaelGSS
approved these changes
Jul 1, 2025
Collaborator
Commit Queue failed- Loading data for nodejs/node/pull/58125 ✔ Done loading data for nodejs/node/pull/58125 ----------------------------------- PR info ------------------------------------ Title Add SourceMap Benchmark (#58125) Author Miguel Marcondes Filho <miguelmarcondesfilho@gmail.com> (@miguelmarcondesf) Branch miguelmarcondesf:performance-improvements-sourcemap -> nodejs:main Labels author ready, needs-ci, commit-queue-squash Commits 3 - benchmark: add source map and source map cache - benchmark: use fixtures for sourcemap cache - benchmark: use fixtures and avoid dead code for sourcemap Committers 1 - Miguel Marcondes <miguelmarcondesfilho@gmail.com> PR-URL: https://github.com/nodejs/node/pull/58125 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/58125 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> -------------------------------------------------------------------------------- ℹ This PR was created on Fri, 02 May 2025 17:48:50 GMT ✔ Approvals: 4 ✔ - Chengzhong Wu (@legendecas) (TSC): https://github.com/nodejs/node/pull/58125#pullrequestreview-2946108239 ✔ - Edy Silva (@geeksilva97): https://github.com/nodejs/node/pull/58125#pullrequestreview-2950130654 ✔ - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/58125#pullrequestreview-2952013937 ✔ - Rafael Gonzaga (@RafaelGSS) (TSC): https://github.com/nodejs/node/pull/58125#pullrequestreview-2975274650 ✔ Last GitHub CI successful ℹ Last Full PR CI on 2025-06-23T13:44:33Z: https://ci.nodejs.org/job/node-test-pull-request/67620/ ⚠ Commits were pushed after the last Full PR CI run: ⚠ - benchmark: add source map and source map cache ⚠ - benchmark: use fixtures for sourcemap cache ⚠ - benchmark: use fixtures and avoid dead code for sourcemap - Querying data for job/node-test-pull-request/67620/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/15999945215 |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Collaborator
Collaborator
Collaborator
|
Landed in 9c025a9 |
RafaelGSS
pushed a commit
that referenced
this pull request
Jul 8, 2025
PR-URL: #58125 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
aduh95
pushed a commit
that referenced
this pull request
Jul 21, 2025
PR-URL: #58125 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
aduh95
pushed a commit
that referenced
this pull request
Jul 24, 2025
PR-URL: #58125 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
aduh95
pushed a commit
that referenced
this pull request
Jul 27, 2025
PR-URL: #58125 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Add SourceMap Benchmark
This PR introduces a new benchmark suite for the
lib/internal/source_mapmodule to help evaluate and explore the performance characteristics of theSourceMap.I'm still learning how everything fits together, but this is a first step toward understanding where small improvements could improve performance.
cc @BridgeAR