mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 08:23:24 +01:00
3143ded374
# Description This PR migrates the benchmark suit to Tango. Its different compared to other framework because it require 2 binaries, to run to do A/B benchmarking, this is currently limited to Linux, Max, (Windows require rustc nightly flag), by switching between two suits it can reduce noise and run the code "almost" concurrently. I have have been in contact with the maintainer, and bases this on the dev branch, as it had a newer API simular to criterion. This framework compared to Divan also have a simple file dump system if we want to generate graphs, do other analysis on later. I think overall this crate is very nice, a lot faster to compile and run then criterion, that's for sure. |
||
---|---|---|
.. | ||
build-all-maclin.sh | ||
build-all-windows.cmd | ||
build-all.nu | ||
build.rs | ||
coverage-local.nu | ||
coverage-local.sh | ||
install-all.ps1 | ||
install-all.sh | ||
README.md | ||
register-plugins.nu | ||
test_virtualenv.nu | ||
uninstall-all.sh |
run the scripts
Note
the following table must be read as follows:
- an
x
means it works- a
?
means no data available
.nu
scripts must be run asnu .../foo.nu
.sh
scripts must be run as./.../foo.sh
.ps1
scripts must be run aspowershell .../foo.ps1
let's say a script is called
foo
- an
x
in the./scripts
column meansfoo
can be run from./scripts
- an
x
in the root column meansfoo
can be run from the root ofnushell
- an
x
in the anywhere column meansfoo
can be run from anywhere!
script | ./scripts/ |
root | anywhere |
---|---|---|---|
build-all-maclin.sh |
x | x | x |
build-all-windows.cmd |
? | x | ? |
build-all.nu |
x | x | x |
coverage-local.nu |
x | x | x |
coverage-local.sh |
x | x | x |
install-all.ps1 |
? | x | ? |
install-all.sh |
x | x | x |
register-plugins.nu |
x | x | x |
uninstall-all.sh |
x | x | x |