Skip to content

Comments

perf(rolldown): fine-tuning the tokio scheduler#6272

Merged
graphite-app[bot] merged 1 commit intomainfrom
09-18-perf_rolldown_put_more_long_blocking_tasks_in_tokio_blocking_threads
Sep 22, 2025
Merged

perf(rolldown): fine-tuning the tokio scheduler#6272
graphite-app[bot] merged 1 commit intomainfrom
09-18-perf_rolldown_put_more_long_blocking_tasks_in_tokio_blocking_threads

Conversation

@Brooooooklyn
Copy link
Member

No description provided.

Copy link
Member Author

Brooooooklyn commented Sep 18, 2025


How to use the Graphite Merge Queue

Add the label graphite: merge to this PR to add it to the merge queue.

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.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@Brooooooklyn Brooooooklyn force-pushed the 09-18-perf_rolldown_put_more_long_blocking_tasks_in_tokio_blocking_threads branch from 34d9093 to 4e99b58 Compare September 18, 2025 13:50
@Brooooooklyn Brooooooklyn force-pushed the 09-18-perf_rolldown_minor_performance_optimization branch 2 times, most recently from 567e163 to dbc9162 Compare September 18, 2025 13:58
@Brooooooklyn Brooooooklyn force-pushed the 09-18-perf_rolldown_put_more_long_blocking_tasks_in_tokio_blocking_threads branch 2 times, most recently from bd60dd1 to c4f0a9e Compare September 18, 2025 13:58
@Brooooooklyn Brooooooklyn force-pushed the 09-18-perf_rolldown_minor_performance_optimization branch from dbc9162 to 1b110f4 Compare September 18, 2025 13:58
@Brooooooklyn Brooooooklyn force-pushed the 09-18-perf_rolldown_put_more_long_blocking_tasks_in_tokio_blocking_threads branch from c4f0a9e to 3dc8cd6 Compare September 18, 2025 14:03
@Brooooooklyn Brooooooklyn force-pushed the 09-18-perf_rolldown_minor_performance_optimization branch from 1b110f4 to 7da7c8f Compare September 18, 2025 14:03
@github-actions
Copy link
Contributor

github-actions bot commented Sep 18, 2025

Benchmarks Rust

  • target: main(7be26be)
  • pr: 09-18-perf_rolldown_put_more_long_blocking_tasks_in_tokio_blocking_threads(4186ad4)
group                                                        pr                                     target
-----                                                        --                                     ------
bundle/bundle@multi-duplicated-top-level-symbol              1.00    160.2±5.91ms        ? ?/sec    1.05    167.7±7.44ms        ? ?/sec
bundle/bundle@multi-duplicated-top-level-symbol-sourcemap    1.00    177.0±5.10ms        ? ?/sec    1.02    179.7±6.24ms        ? ?/sec
bundle/bundle@rome_ts                                        1.02    258.5±6.98ms        ? ?/sec    1.00    254.0±9.67ms        ? ?/sec
bundle/bundle@rome_ts-sourcemap                              1.00    280.0±8.51ms        ? ?/sec    1.02    286.6±8.04ms        ? ?/sec
bundle/bundle@threejs                                        1.07     97.5±3.99ms        ? ?/sec    1.00     90.9±3.71ms        ? ?/sec
bundle/bundle@threejs-sourcemap                              1.09    110.3±2.95ms        ? ?/sec    1.00    101.2±2.35ms        ? ?/sec
bundle/bundle@threejs10x                                     1.00   986.3±14.51ms        ? ?/sec    1.04  1023.5±25.77ms        ? ?/sec
bundle/bundle@threejs10x-sourcemap                           1.00  1082.7±17.96ms        ? ?/sec    1.00  1083.6±22.10ms        ? ?/sec
scan/scan@rome_ts                                            1.00    215.4±5.43ms        ? ?/sec    1.02    219.7±7.01ms        ? ?/sec
scan/scan@threejs                                            1.01     78.4±1.17ms        ? ?/sec    1.00     77.7±1.72ms        ? ?/sec
scan/scan@threejs10x                                         1.00   858.5±28.40ms        ? ?/sec    1.00   860.2±18.22ms        ? ?/sec

@Brooooooklyn Brooooooklyn force-pushed the 09-18-perf_rolldown_put_more_long_blocking_tasks_in_tokio_blocking_threads branch from 3dc8cd6 to 2d3b9cf Compare September 18, 2025 14:29
@Brooooooklyn Brooooooklyn force-pushed the 09-18-perf_rolldown_minor_performance_optimization branch 2 times, most recently from 3fd5486 to 1c71f7e Compare September 18, 2025 14:45
@Brooooooklyn Brooooooklyn force-pushed the 09-18-perf_rolldown_put_more_long_blocking_tasks_in_tokio_blocking_threads branch from 2d3b9cf to 9956c7d Compare September 18, 2025 14:45
@graphite-app graphite-app bot changed the base branch from 09-18-perf_rolldown_minor_performance_optimization to graphite-base/6272 September 18, 2025 17:21
@graphite-app graphite-app bot force-pushed the 09-18-perf_rolldown_put_more_long_blocking_tasks_in_tokio_blocking_threads branch from 9956c7d to 2a9fe5a Compare September 18, 2025 17:33
@graphite-app graphite-app bot changed the base branch from graphite-base/6272 to main September 18, 2025 17:34
@graphite-app graphite-app bot force-pushed the 09-18-perf_rolldown_put_more_long_blocking_tasks_in_tokio_blocking_threads branch from 2a9fe5a to 927d46e Compare September 18, 2025 17:34
@netlify
Copy link

netlify bot commented Sep 18, 2025

Deploy Preview for rolldown-rs canceled.

Name Link
🔨 Latest commit 4186ad4
🔍 Latest deploy log https://app.netlify.com/projects/rolldown-rs/deploys/68d1589bb6f75b000816325b

@Brooooooklyn Brooooooklyn force-pushed the 09-18-perf_rolldown_put_more_long_blocking_tasks_in_tokio_blocking_threads branch 3 times, most recently from ae5ec47 to d24c3d1 Compare September 22, 2025 03:26
@Brooooooklyn Brooooooklyn changed the title perf(rolldown): put more long blocking tasks in tokio blocking threads perf(rolldown): fine-tuning the tokio scheduler Sep 22, 2025
@Brooooooklyn Brooooooklyn force-pushed the 09-18-perf_rolldown_put_more_long_blocking_tasks_in_tokio_blocking_threads branch 3 times, most recently from a3c9b29 to 314efc8 Compare September 22, 2025 13:44
@graphite-app
Copy link
Contributor

graphite-app bot commented Sep 22, 2025

Merge activity

@graphite-app graphite-app bot force-pushed the 09-18-perf_rolldown_put_more_long_blocking_tasks_in_tokio_blocking_threads branch from 314efc8 to 4186ad4 Compare September 22, 2025 14:09
@graphite-app graphite-app bot merged commit 4186ad4 into main Sep 22, 2025
29 checks passed
@graphite-app graphite-app bot deleted the 09-18-perf_rolldown_put_more_long_blocking_tasks_in_tokio_blocking_threads branch September 22, 2025 14:19
shulaoda pushed a commit that referenced this pull request Sep 24, 2025
## [1.0.0-beta.40] - 2025-09-24

⚡ Sourcemap Performance Boost
- 20%-30% faster sourcemap generation
- Consistent gains across all platforms

### 🚀 Features

- rolldown: oxc v0.92.0 (#6322) by @Boshen
- adding partial `MagicString` binding (#6289) by @IWANABETHATGUY
- rolldown_plugin_vite_html: initialize (#6292) by @shulaoda

### 🐛 Bug Fixes

- rolldown_plugin_react_refresh_wrapper: avoid using cwd to allow using as a callable plugin (#6318) by @sapphi-red
- rolldown_plugin_transform: resolve tsconfig from absolute path (#6311) by @shulaoda

### 🚜 Refactor

- Construct MagicString with `Cow<str>` instead of `&str` (#6288) by @IWANABETHATGUY
- throw error if generating oxc runtime helper fails (#6291) by @shulaoda

### 📚 Documentation

- add more description about sourcemapIgnoreList (#6314) by @IWANABETHATGUY

### ⚡ Performance

- reduce `sourcemap_ignore_list` js function call (#6313) by @IWANABETHATGUY
- string_wizard: use memchr to find patterns in `replace` (#6312) by @IWANABETHATGUY
- simplify sourcemap token processing in collapse_sourcemaps (#6310) by @IWANABETHATGUY
- rolldown: some minor perf optimization (#6306) by @Brooooooklyn
- rolldown: fine-tuning the tokio scheduler (#6272) by @Brooooooklyn

### ⚙️ Miscellaneous Tasks

- deps: lock file maintenance rust crates (#6302) by @renovate[bot]
- deps: lock file maintenance npm packages (#6301) by @renovate[bot]
- use `lto: thin` in profile mode for better profiling experience. (#6320) by @IWANABETHATGUY
- adjust the tokio runtime config in bench (#6305) by @Brooooooklyn
- deps: update dependency rolldown-plugin-dts to v0.16.8 (#6307) by @renovate[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants