Date: Sat, 22 Sep 2012 23:56:16 -0700 From: Garrett Cooper <yanegomi@gmail.com> To: Poul-Henning Kamp <phk@phk.freebsd.dk> Cc: freebsd-hackers@freebsd.org, toolchain@freebsd.org Subject: Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program Message-ID: <CAGH67wQty4krGWSpa5JAhT-4hQD4veYKLeY-r3C6K9F5XaFeaw@mail.gmail.com> In-Reply-To: <61600.1348381832@critter.freebsd.dk> References: <CAGH67wSuX7zJrTb5GehQWHKqYKog-aTwkiNw5CSJLrzftzKTaA@mail.gmail.com> <61600.1348381832@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 22, 2012 at 11:30 PM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote: > In message <CAGH67wSuX7zJrTb5GehQWHKqYKog-aTwkiNw5CSJLrzftzKTaA@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wQty4krGWSpa5JAhT-4hQD4veYKLeY-r3C6K9F5XaFeaw>