Created
August 4, 2016 14:54
-
-
Save jthomas/eefeb01700c13647074f3f9da4f21058 to your computer and use it in GitHub Desktop.
Time execution of running a command N times in parallel.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
time parallel -n0 -j0 "cmd" ::: {1..N} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-n0 is the number of arguments to pass to the command
-j0 is the number of parallel jobs to run, zero is max.