Skip to content

Comments

perf(codegen): remove the useless tokens generated by some expressions#12394

Merged
graphite-app[bot] merged 1 commit intomainfrom
perf-sourmap
Jul 20, 2025
Merged

perf(codegen): remove the useless tokens generated by some expressions#12394
graphite-app[bot] merged 1 commit intomainfrom
perf-sourmap

Conversation

@Boshen
Copy link
Member

@Boshen Boshen commented Jul 19, 2025

No description provided.

@graphite-app
Copy link
Contributor

graphite-app bot commented Jul 19, 2025

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

@github-actions github-actions bot added A-codegen Area - Code Generation C-performance Category - Solution not expected to change functional behavior, only performance labels Jul 19, 2025
@codspeed-hq
Copy link

codspeed-hq bot commented Jul 19, 2025

CodSpeed Instrumentation Performance Report

Merging #12394 will not alter performance

Comparing perf-sourmap (8bae417) with main (7d64eb9)

Summary

✅ 34 untouched benchmarks

@Boshen Boshen changed the title perf(codegen): remove the useless tokens generated by call expressions perf(codegen): remove the useless tokens generated by some expressions Jul 19, 2025
@github-actions github-actions bot added the A-minifier Area - Minifier label Jul 19, 2025
@Boshen Boshen added the 0-merge Merge with Graphite Merge Queue label Jul 19, 2025
Copy link
Member Author

Boshen commented Jul 19, 2025

Merge activity

@graphite-app graphite-app bot merged commit 8bae417 into main Jul 20, 2025
25 checks passed
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Jul 20, 2025
@graphite-app graphite-app bot deleted the perf-sourmap branch July 20, 2025 04:06
github-merge-queue bot pushed a commit to rolldown/rolldown that referenced this pull request Jul 20, 2025
This upgrade adds

* oxc-project/oxc#12353
* oxc-project/oxc#12373
* oxc-project/oxc#12393
* oxc-project/oxc#12394
* oxc-project/oxc#12398
* oxc-project/oxc-sourcemap#86

We should expect a small performance improvement when sourcemap is
enabled.
---
- test.js.map
(0:0) "1;\n" --> (0:0) "1;\n"
(1:0) "__OBJECT__;\n" --> (1:0) "({ 'hello': 'test' });\n"
Copy link
Member

Choose a reason for hiding this comment

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

This doesn't look right. I assume there should be a mapping for this? Or is the fault in ReplaceGlobalDefines?

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

Labels

A-codegen Area - Code Generation A-minifier Area - Minifier C-performance Category - Solution not expected to change functional behavior, only performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants