-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Async IO for File Read/Write (#305)
## Linux ``` OS: Ubuntu 20.04.4 LTS on Windows 10 x86_64 Kernel: 5.15.57.1-microsoft-standard-WSL2 CPU: AMD Ryzen 9 5950X (32) @ 3.400GHz ``` `cargo run --release --bin node-file-trace -- build crates/turbopack/tests/node-file-trace/integration/better-sqlite3.js` ### Before ``` done in 560ms (459ms compilation, 458ms task execution, 109028 tasks) ``` ### After ``` done in 378ms (277ms compilation, 277ms task execution, 109028 tasks) ``` ## macOS ``` OS: macOS 12.5.1 21G83 arm64 Host: MacBookPro18,2 CPU: Apple M1 Max ``` ### Before ``` done in 482ms (380ms compilation, 379ms task execution, 111640 tasks) ``` ### After ``` done in 362ms (259ms compilation, 259ms task execution, 111640 tasks) ```
- Loading branch information
1 parent
71d5cd2
commit b115392
Showing
4 changed files
with
161 additions
and
67 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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