Write a Shell Script to compare running times of two scripts.

This project was successfully completed by kaloyan13 for $35 USD in 2 days.

Get free quotes for a project like this
Project Budget
$30 - $250 USD
Completed In
2 days
Total Bids
Project Description

I want a shell script (compatible for linux/mac OSX) that runs two different files X number of times, and performs a statistical analysis to see if one script runs faster than the other in a statically significant manner.

E.g. I normally run "time ./script1 [url removed, login to view]" and "time .script2 [url removed, login to view]", run both these commands approximately 10 times, then use the mean running time and variance to perform a t-test to see if one test runs faster than the other.

The file should take arguments: filename1, filename2, file1 input, file2 input, Number of times to run.

This should be a small project and not take very long.

Completed by:

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online