Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor benches for more command benchmarks #12171

Merged
merged 2 commits into from Mar 12, 2024

Conversation

sholderbach
Copy link
Member

  • Refactor command benchmark
    • should simplify addition of more command benchmarks
    • just provide the pipeline you want to run/ choose potential scaling
  • Bench engine state with ctrlc set
    • None vs AtomicBool behind Arc

Setup is shared for all those small pipelines. Make it more
straightforward to add new ones.
Instead of leaving `None` provide a dummy `AtomicBool` behind an `Arc`
@sholderbach sholderbach merged commit 13cbfd3 into nushell:main Mar 12, 2024
15 checks passed
@sholderbach sholderbach deleted the benchmark-tweaks branch March 12, 2024 12:10
@hustcer hustcer added this to the v0.92.0 milestone Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants