mirror of
https://github.com/nushell/nu_scripts.git
synced 2024-08-17 01:10:36 +03:00
Hi! I propose several changes to `std bench`: - Remove insignificant precision by default (can be reverted with `--sign-digits=0`). - Remove the 'times' field by default (can be returned with `--list-timings`). - Add an option to set time units (inactive by default). For removing insignificant precision, I needed a new command `significant-digits` which is also included in this PR. This command has tests. <img width="747" alt="image" src="https://github.com/nushell/nu_scripts/assets/4896754/ce98aebe-7c1b-4d8f-b2d0-3282d1ff3883"> <img width="747" alt="image" src="https://github.com/nushell/nu_scripts/assets/4896754/508fef3e-ba70-40fd-8f9e-82b6ac608485"> <img width="747" alt="image" src="https://github.com/nushell/nu_scripts/assets/4896754/af755f28-8506-4f4c-8bc2-91b35798855d"> |
||
---|---|---|
.. | ||
std-rfc | ||
tests | ||
nupm.nuon | ||
README.md |
std-lib candidate
This folder is where we can add scripts that might want to be in std-lib at some point. It can serve both as a holding place for scripts that are waiting on nushell changes, as well as a place to develop and discuss such scripts.