Sha256: e3fb7838b1726b6e3e976a1753cbde3077768c4d75f3d2b33f934f35e798b805
Contents?: true
Size: 880 Bytes
Versions: 1
Compression:
Stored size: 880 Bytes
Contents
# encoding: utf-8 # # This example shows of parallel commands. # # The output should look something like: # # ┌─────────┬─────────┬─────────┐ # │ Command │ Runtime │ Status │ # ├─────────┼─────────┼─────────┤ # │ sleep 1 │ 1.061s │ success │ # │ sleep 1 │ 1.062s │ success │ # │ sleep 1 │ 1.064s │ success │ # │ sleep 1 │ 1.066s │ success │ # │ sleep 1 │ 1.064s │ success │ # └─────────┴─────────┴─────────┘ # Total runtime: 2.307s # # To run: rake examples:parallel formatter :table parallel do run "sleep 1" run "sleep 1" end parallel do run "sleep 1" run "sleep 1" run "sleep 1" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
scripted-0.0.1 | examples/parallel.rb |