1
0
mirror of https://github.com/nushell/nushell.git synced 2025-03-12 06:28:31 +01:00
nushell/benches
Ian Manske 72d3860d05
Refactor the CLI code a bit ()
# Description
Refactors the code in `nu-cli`, `main.rs`, `run.rs`, and few others.
Namely, I added `EngineState::generate_nu_constant` function to
eliminate some duplicate code. Otherwise, I changed a bunch of areas to
return errors instead of calling `std::process::exit`.

# User-Facing Changes
Should be none.
2024-05-10 07:29:27 +08:00
..
benchmarks.rs Refactor the CLI code a bit () 2024-05-10 07:29:27 +08:00
README.md replace Criterion with Divan () 2024-03-01 10:09:21 -08:00

Divan benchmarks

These are benchmarks using Divan, a microbenchmarking tool for Rust.

Run all benchmarks with cargo bench

Or run individual benchmarks like cargo bench -- <regex> e.g. cargo bench -- parse