[CFT/RFC]: refactor bsd.prog.mk to understand multiple programs
instead of a singular program
Garrett Cooper
yanegomi at gmail.com
Sun Sep 23 06:56:24 UTC 2012
On Sat, Sep 22, 2012 at 11:30 PM, Poul-Henning Kamp <phk at phk.freebsd.dk> wrote:
> In message <CAGH67wSuX7zJrTb5GehQWHKqYKog-aTwkiNw5CSJLrzftzKTaA at mail.gmail.com>
> , Garrett Cooper writes:
>
>>Without the change:
>>
>>$ python calc_runtime.py bw.*_without.log | ministat -w 72
>>[...]
>>$ python calc_runtime.py bw.*.log | ministat -w 72
>
> Try:
> python calc_runtime.py bw.*_without.log > _without
> python calc_runtime.py bw.*.log > _with
> ministat -w 72 _with _without
>
> :-)
>
> (PS: your two chosen glob patterns are not exclusive, but I suppose
> that was for illustration only)
Forgot to mention that I ran the "with" results before the
"without" results, so technically the files didn't exist yet and hence
the results are separate. But, just for absolute clarity for archiving
sake (and provided your suggestion on how to overlay both graphs),
here are the results:
$ for i in bw.*[0-9].log; do mv $i `echo $i | sed -e
's/\.log/_with\.log/g'`; done
$ python calc_runtime.py bw.*_with.log > _with
$ python calc_runtime.py bw.*_without.log > _without
$ ministat -w 72 _with _without
x _with
+ _without
+------------------------------------------------------------------------+
| + x |
|+ + + xx + x x x + ++ x x + xx +|
| |________________|________A_________MA___________M___|__| |
+------------------------------------------------------------------------+
N Min Max Median Avg Stddev
x 10 940 1002 988 972.3 24.476973
+ 10 919 1010 972 958.9 33.994934
No difference proven at 95.0% confidence
Thanks for the tip :)!
-Garrett
More information about the freebsd-hackers
mailing list