Skip to content

Comments

perf(hmr): remove console.debug in runtime.registerModule#5091

Merged
sapphi-red merged 1 commit intomainfrom
perf/hmr-remove-console-debug-in-register-module
Jun 27, 2025
Merged

perf(hmr): remove console.debug in runtime.registerModule#5091
sapphi-red merged 1 commit intomainfrom
perf/hmr-remove-console-debug-in-register-module

Conversation

@sapphi-red
Copy link
Member

runtime.registerModule is a hot path and console.debug is slow even if we filter it out in dev tools.

@netlify
Copy link

netlify bot commented Jun 27, 2025

Deploy Preview for rolldown-rs canceled.

Name Link
🔨 Latest commit ac72ba0
🔍 Latest deploy log https://app.netlify.com/projects/rolldown-rs/deploys/685e8bba4a91b90008d79d0e

@sapphi-red sapphi-red marked this pull request as draft June 27, 2025 11:07
@sapphi-red sapphi-red changed the base branch from main to graphite-base/5091 June 27, 2025 11:13
@sapphi-red sapphi-red force-pushed the graphite-base/5091 branch from 0ba87d7 to 535b36c Compare June 27, 2025 11:13
@sapphi-red sapphi-red force-pushed the perf/hmr-remove-console-debug-in-register-module branch from bdc04ec to 3c13fe0 Compare June 27, 2025 11:13
@sapphi-red sapphi-red changed the base branch from graphite-base/5091 to perf/hmr-remove-no-op-runtime-to-commonjs-call June 27, 2025 11:13
Copy link
Member Author

sapphi-red commented Jun 27, 2025

@sapphi-red sapphi-red marked this pull request as ready for review June 27, 2025 11:14
Base automatically changed from perf/hmr-remove-no-op-runtime-to-commonjs-call to main June 27, 2025 12:16
@sapphi-red sapphi-red force-pushed the perf/hmr-remove-console-debug-in-register-module branch from 3c13fe0 to ac72ba0 Compare June 27, 2025 12:16
@graphite-app
Copy link
Contributor

graphite-app bot commented Jun 27, 2025

Merge activity

  • Jun 27, 12:17 PM UTC: Graphite rebased this pull request, because this pull request is set to merge when ready.

@sapphi-red sapphi-red added this pull request to the merge queue Jun 27, 2025
Merged via the queue into main with commit 7437cf4 Jun 27, 2025
19 checks passed
@sapphi-red sapphi-red deleted the perf/hmr-remove-console-debug-in-register-module branch June 27, 2025 12:29
Boshen pushed a commit that referenced this pull request Jun 30, 2025
## [1.0.0-beta.22] - 2025-06-30

### 🚀 Features

- plugin: use `Log` instead of `BuildDiagnostic` for `PluginContext#log` (#5099) by @shulaoda
- plugin: support info/warn/debug in native plugin context (#5098) by @shulaoda
- plugin: support vite plugin custom in `PluginContext#resolve` (#5097) by @shulaoda
- rolldown_plugin_import_glob: align edge cases with `rolldown-vite` (#5094) by @shulaoda
- rolldown_plugin_vite_resolve: align subpath import resolution (#5093) by @shulaoda
- add commonjs tree shake option (#5096) by @IWANABETHATGUY
- rolldown_plugin_web_worker_post: align with `rolldown-vite` (#5092) by @shulaoda
- manual-chunks: support `getModuleInfo` (#5087) by @hyf0
- advanced-chunks: support `getModuleInfo` in `groups.{group}.name` (#5086) by @hyf0

### 🚜 Refactor

- rolldown_loader_utils: inline unnecessary `binary_to_esm` (#5100) by @shulaoda

### ⚡ Performance

- hmr: remove `console.debug` in `runtime.registerModule` (#5091) by @sapphi-red
- hmr: remove no-op `runtime.__toCommonJS` call (#5089) by @sapphi-red

### ⚙️ Miscellaneous Tasks

- deps: lock file maintenance rust crates (#5105) by @renovate[bot]
- deps: lock file maintenance npm packages (#5104) by @renovate[bot]
- deps: update rust crate schemars to v1 (#5103) by @renovate[bot]
- deps: update dependency vite to v7 (#5102) by @renovate[bot]
- deps: update github-actions (#5101) by @renovate[bot]
- deps: update dependency rolldown-plugin-dts to v0.13.12 (#5088) 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