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

In Progress

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.

Skills: Linux, Mac OS, Shell Script, Statistics, UNIX

See more: shell, shell script compare write, compare time shell script, write shell script compare files, linux shell scripts, in linux shell script, file2, variance, shell scripts, shell script, mean variance, small statistics project, write linux script, script mac, write test script, write linux shell, osx script, statistics test, compare shell, script osx, shell compare files, running faster, test scripts, mac shell, statistics project analysis

Project ID: #4537007

Awarded to:

kaloyan13

Bash coder in Linux.

$35 USD in 2 days
(15 Reviews)
3.8

16 freelancers are bidding on average $66 for this job

expatdev

Hi, I'd like to work on your project. I suggest to implement this as a Perl (rather than a shell-) script. It will be simple, robust and efficient. Thanks.

$130 USD in 1 day
(41 Reviews)
6.0
sumitgarg44

I am shell scriptor and can help you in this.

$66 USD in 1 day
(18 Reviews)
4.1
linuxien2011

Hi I'm ready to do it. Best Regards

$75 USD in 3 days
(7 Reviews)
3.3
denep

Time the commands and save raw data in an array, compute sample mean and variance, compute Student's (or Welch's) t-test. From then it's either embed in the script a precomputed table for the given level of significanc More

$45 USD in 3 days
(9 Reviews)
3.2
goarilla

I write shell scripts daily.

$30 USD in 3 days
(3 Reviews)
2.4
ppolydoras

Senior Software Architect. Top quality results guaranteed.

$77 USD in 0 days
(2 Reviews)
2.0
goelvivek

It is easy project.

$35 USD in 1 day
(1 Review)
1.6
himanshugurukul

let me do.. done huge work

$45 USD in 3 days
(1 Review)
1.1
fahad08

Have experience on bash scripting, let do it.

$55 USD in 2 days
(0 Reviews)
0.0
kasune

Lets do it

$35 USD in 3 days
(0 Reviews)
0.0
hoannga

I'm ready to implement it. Thank you.

$35 USD in 2 days
(0 Reviews)
0.0
boudewijnector

Years of linux experience, and can do it in BASH. Other suggestion might be Python, which will be cleaner/better code.

$111 USD in 3 days
(0 Reviews)
0.0
kennib

As you say this seems like a simple project. I think I could tackle it.

$88 USD in 2 days
(0 Reviews)
0.0
SolidSnake08

Simple task and I am ready to take it

$35 USD in 1 day
(0 Reviews)
0.0
betauli

I got your point. The automatic script can be written in bash script, and the t-test can be done through command line statistic tool (PSPP is free and CLI-friendly). This is a challenging task for me!

$155 USD in 3 days
(0 Reviews)
0.0