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

Add new --sort option #655

Merged
merged 1 commit into from
Jun 3, 2023
Merged

Add new --sort option #655

merged 1 commit into from
Jun 3, 2023

Conversation

sharkdp
Copy link
Owner

@sharkdp sharkdp commented Jun 3, 2023

This adds a new --sort option to choose the way in which the results in the speed comparison and the markup exports are ordered.

Default behavior, --sort auto or --sort mean-time:
image

With --sort command
image

Markdown export with --sort mean-time:

Command Mean [ms] Min [ms] Max [ms] Relative
sleep 0.1 101.1 ± 0.5 100.6 103.1 1.00
sleep 0.2 200.9 ± 0.3 200.7 201.9 1.99 ± 0.01
sleep 0.3 301.0 ± 0.2 300.8 301.3 2.98 ± 0.01

closes #614
closes #601

This adds a new `--sort` option to choose the way in which the results
in the speed comparison and the markup exports are ordered.

closes #614
closes #601
@sharkdp sharkdp merged commit ac617c8 into master Jun 3, 2023
15 checks passed
@sharkdp sharkdp deleted the sort-order branch June 3, 2023 19:34
@SUPERCILEX
Copy link

This is awesome, thanks!

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.

Allow picking sort order of the output Sort output markdown results by Relative column (ascending)
2 participants