2 ms·
Two tips, if you're using Bash: 1. Use the external "true" command. 2. Use {a..b} to expand sequences of numbers as "seq" adds extra overhead. $ time for
by FastedCoyote 6y ago
Two tips, if you're using Bash:
1. Use the external "true" command.
2. Use {a..b} to expand sequences of numbers as "seq" adds extra overhead.
$ time for i in {1..500}; do /bin/true; done
real 0m0.983s
user 0m0.650s
sys 0m0.423s