Skip to content

Instantly share code, notes, and snippets.

@jthomas
Created August 4, 2016 14:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jthomas/eefeb01700c13647074f3f9da4f21058 to your computer and use it in GitHub Desktop.
Save jthomas/eefeb01700c13647074f3f9da4f21058 to your computer and use it in GitHub Desktop.
Time execution of running a command N times in parallel.
time parallel -n0 -j0 "cmd" ::: {1..N}
@jthomas
Copy link
Author

jthomas commented Aug 4, 2016

-n0 is the number of arguments to pass to the command
-j0 is the number of parallel jobs to run, zero is max.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment