nushell/crates/nu_plugin_ps/src
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
..
nu Change f/full flag to l/long for ls and ps commands (#2283) 2020-08-02 06:30:45 +12:00
lib.rs Default plugins are independent and called from Nu. (#1322) 2020-01-31 17:45:33 -05:00
main.rs Default plugins are independent and called from Nu. (#1322) 2020-01-31 17:45:33 -05:00
ps.rs Remove unnecessary work from ps (#3407) 2021-05-11 19:59:24 +12:00