Run commands sequentialy instead of in groups.
Author: AskSkivdalCreated Aug 5, 2025Updated Jul 27, 2026
Is there a way to make the commands execute sequentially?
Why would this be useful?
This would be useful if the steps are dependent on each other. This could also allow the user to get more specificity into the precise timings of each piece of their code. My current use case for this is that i need to benchmark a couple of python scripts that run sequentially as part of a data pipeline to find the ones that waste the most time so i can rewrite them.
How i think this should be solved
I want a flag that lets you run the commands in a sequence instead of running the same commands multiple times.
Example
Running
hyperfine --run-sequentially './command1.sh' './command2.sh'should run it in this order
./command1.sh
./command2.sh
./command1.sh
./command2.sh
./command1.sh
./command2.shinstead of
./command1.sh
./command1.sh
./command1.sh
./command2.sh
./command2.sh
./command2.shSource: sharkdp/hyperfine