mirror of
https://github.com/nushell/nushell
synced 2024-11-15 01:17:07 +00:00
0e36c43c64
# Description This speeds up writing messages to the plugin, because otherwise every individual piece of the messages (not even the entire message) is written with one syscall, leading to a lot of back and forth with the kernel. I learned this by running `strace` to debug something and saw a ton of `write()` calls. ```nushell # Before 1..10 | each { timeit { example seq 1 10000 | example sum } } | math avg 269ms 779µs 149ns # After > 1..10 | each { timeit { example seq 1 10000 | example sum } } | math avg 39ms 636µs 643ns ``` # User-Facing Changes - Performance improvement # Tests + Formatting - 🟢 `toolkit fmt` - 🟢 `toolkit clippy` - 🟢 `toolkit test` - 🟢 `toolkit test stdlib` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE | ||
README.md |