I ran my integration test and got a list of execution time back. I need to find the 90% distribution value from that set of result not the average. Because it represents what the user will encounter 90% of the time. Is there a linux command line that does that? If not is there a java library that does that?
Thanks,
Sean
Assuming you have a file with each measurement on a separate line, with the actual measurement in the first column, count the lines, call that number L; sort reversed, print the first field from the L/10th line. How you round a non-integer L/10 is up to you; you could also interpolate a value between n(floor(L/10)) and n(ceil(L/10)).
This assumes fields are whitespace-separated.