-
Notifications
You must be signed in to change notification settings - Fork 534
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
perf: into_binding_chunk_modules
when chunk is large
#3267
Merged
IWANABETHATGUY
merged 1 commit into
main
from
12-30-perf_simplify_rendered_modules_to_napi
Dec 30, 2024
Merged
perf: into_binding_chunk_modules
when chunk is large
#3267
IWANABETHATGUY
merged 1 commit into
main
from
12-30-perf_simplify_rendered_modules_to_napi
Dec 30, 2024
Conversation
This file contains 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
IWANABETHATGUY
force-pushed
the
12-30-perf_simplify_rendered_modules_to_napi
branch
2 times, most recently
from
December 30, 2024 10:19
17e84d8
to
c55b5b4
Compare
IWANABETHATGUY
changed the title
perf: simplify rendered_modules to napi
perf: Dec 30, 2024
into_binding_chunk_modules
when chunk is large
IWANABETHATGUY
force-pushed
the
12-30-perf_simplify_rendered_modules_to_napi
branch
from
December 30, 2024 10:20
c55b5b4
to
3c04a39
Compare
hyf0
approved these changes
Dec 30, 2024
Benchmarks Rust
|
### Description When using `gracefulCancel: true`, the termination signal can only be obtained via `getCancelSignal`, but our watch implementation uses `onExit`, which causes the process to never terminate. ```bash Error: Build failed with 1 error: [plugin shim] Error: EBUSY: resource busy or locked, copyfile 'D:\shulaoda\rolldown\packages\rolldown\src\rolldown-binding.win32-x64-msvc.node' -> 'D:\shulaoda\rolldown\packages\rolldown\dist\shared\rolldown-binding.win32-x64-msvc.node' ``` ![image](https://github.com/user-attachments/assets/5dfe157c-6b09-46aa-bd6f-9dae8eafe783)
IWANABETHATGUY
force-pushed
the
12-30-perf_simplify_rendered_modules_to_napi
branch
from
December 30, 2024 10:43
3c04a39
to
1beb081
Compare
IWANABETHATGUY
deleted the
12-30-perf_simplify_rendered_modules_to_napi
branch
December 30, 2024 11:04
github-merge-queue bot
pushed a commit
that referenced
this pull request
Dec 31, 2024
### Description Related to #3267 After completing the relevant tests, run `just lint`: ```bash [lint-prettier] [warn] packages/rolldown/tests/cli/fixtures/config-multiply-options/watch-dist-options/cjs.js [lint-prettier] [warn] packages/rolldown/tests/cli/fixtures/config-multiply-options/watch-dist-options/esm.js [lint-prettier] [warn] packages/rolldown/tests/cli/fixtures/config-multiply-output/watch-dist-output/cjs.js [lint-prettier] [warn] packages/rolldown/tests/cli/fixtures/config-multiply-output/watch-dist-output/esm.js [lint-prettier] [warn] Code style issues found in 4 files. Run Prettier with --write to fix. [lint-prettier] ELIFECYCLE Command failed with exit code 1. ERROR: "lint-prettier" exited with 1. ```
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.
benchmark/apps/10000
Before
profile
The
to_napi_value
cost about 130ms, seemsnapi
has huge overhead when convert complexHashMap
toJsObject
After
the
to_napi
cost is gone