nushell/crates/nu_plugin_ps
Nate Mara b93b80ccaa
Remove unnecessary work from ps (#3407)
The ps plugin has an unnecessary call to `std:🧵:sleep(500ms)` that
delays runtime by 500ms. Additionally, there is a call to
`sysinfo::SystemExt::refresh_process`, which is not required as the previous
call to sysinfo::SystemExt::refresh_all handles the "refresh" of all processes
without a need to do this individually. Combining both of these improvements
means that running ps runs nearly instentaneously.

Fixes #3402
2021-05-11 19:59:24 +12:00
..
src Remove unnecessary work from ps (#3407) 2021-05-11 19:59:24 +12:00
Cargo.toml Bump to 0.31.0 (#3405) 2021-05-11 16:44:52 +12:00