If I wanted to find something like the "time" feature on shell...
where you can do:
time ls
and it will tell you how long it took to execute...
How would I do this in Ruby or what is the packaged that can do this for
me? I want it to kick off as soon as the script gets called and just
print the time taken to execute at the end of the script.
If I wanted to find something like the "time" feature on shell...
where you can do:
time ls
and it will tell you how long it took to execute...
How would I do this in Ruby or what is the packaged that can do this for
me? I want it to kick off as soon as the script gets called and just
print the time taken to execute at the end of the script.
If I wanted to find something like the "time" feature on shell...
where you can do:
time ls
and it will tell you how long it took to execute...
How would I do this in Ruby or what is the packaged that can do this for
me? I want it to kick off as soon as the script gets called and just
print the time taken to execute at the end of the script.
--
ara [dot] t [dot] howard [at] noaa [dot] gov
all happiness comes from the desire for others to be happy. all misery
comes from the desire for oneself to be happy.
-- bodhicaryavatara