Skip to content
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

refactor(core): try run task in spawn thread #7943

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hardfist
Copy link
Contributor

@hardfist hardfist commented Sep 22, 2024

Summary

try different tokio schedule strategy

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Sep 22, 2024
Copy link

netlify bot commented Sep 22, 2024

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit bc8c73c
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/66efbe09c6c5c90008000aaa

@hardfist
Copy link
Contributor Author

!bench

@rspack-bot
Copy link

⏳ Triggered benchmark: Open

@hardfist
Copy link
Contributor Author

!bench

@rspack-bot
Copy link

rspack-bot commented Sep 22, 2024

📝 Benchmark detail: Open

Name Base (2024-09-22 e58ac85) Current Change
10000_development-mode + exec 2.24 s ± 36 ms 2.49 s ± 39 ms +11.16 %
10000_development-mode_hmr + exec 706 ms ± 10 ms 723 ms ± 8.9 ms +2.38 %
10000_production-mode + exec 2.9 s ± 33 ms 3.14 s ± 29 ms +8.18 %
arco-pro_development-mode + exec 1.88 s ± 64 ms 1.99 s ± 35 ms +5.93 %
arco-pro_development-mode_hmr + exec 436 ms ± 2.8 ms 442 ms ± 5.5 ms +1.27 %
arco-pro_production-mode + exec 3.31 s ± 59 ms 3.51 s ± 115 ms +5.94 %
arco-pro_production-mode_generate-package-json-webpack-plugin + exec 3.37 s ± 64 ms 3.52 s ± 115 ms +4.38 %
threejs_development-mode_10x + exec 1.69 s ± 15 ms 1.77 s ± 14 ms +5.11 %
threejs_development-mode_10x_hmr + exec 803 ms ± 8.6 ms 822 ms ± 17 ms +2.36 %
threejs_production-mode_10x + exec 5.26 s ± 17 ms 5.34 s ± 46 ms +1.38 %

Threshold exceeded: ["10000_development-mode + exec","10000_production-mode + exec","arco-pro_development-mode + exec","arco-pro_production-mode + exec","threejs_development-mode_10x + exec"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants