From owner-freebsd-toolchain@FreeBSD.ORG Sun Sep 23 06:56:24 2012 Return-Path: Delivered-To: toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20FD8106566B; Sun, 23 Sep 2012 06:56:24 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id C1EF78FC08; Sun, 23 Sep 2012 06:56:23 +0000 (UTC) Received: by obbun3 with SMTP id un3so5716864obb.13 for ; Sat, 22 Sep 2012 23:56:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=HJcRXREgak9FIhXq54ZdbMC1+HXTI2rVVnDEaqgQNAc=; b=gpFofAmuRyAvBLdQqsb3fxUy8tfau3qyH48j/SUJ/vI8+CNHCJXJMSSehR6DaiE3vt MrpMKSm1TzaX30rk2p1PZsQaeqOOGdyo9wWL+/T9mKvHcxg+qfLqFwu/N6WeOZcvMmz2 jepX0d/M1pselJgXuB/KeUy2PaSQeqk4iepAlr4s8x2MUm1TE7/OpkWEoLM/u4DLykod IFGN5h/aPqG0Je3QSdU6nur25mGRHHRgFXBkvNuotesL7t8TitQKfa4QBOTnL35rMFml sxu0bvq7Bs/hN8Vdq0DKl5FNknxYKP8+cDWe7ZIvSh5ne3iXaAdy4hyeb3aEuKz6nraP Ly7g== MIME-Version: 1.0 Received: by 10.182.121.38 with SMTP id lh6mr7287121obb.16.1348383376745; Sat, 22 Sep 2012 23:56:16 -0700 (PDT) Received: by 10.76.142.201 with HTTP; Sat, 22 Sep 2012 23:56:16 -0700 (PDT) In-Reply-To: <61600.1348381832@critter.freebsd.dk> References: <61600.1348381832@critter.freebsd.dk> Date: Sat, 22 Sep 2012 23:56:16 -0700 Message-ID: From: Garrett Cooper To: Poul-Henning Kamp Content-Type: text/plain; charset=ISO-8859-1 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 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Sep 2012 06:56:24 -0000 On Sat, Sep 22, 2012 at 11:30 PM, Poul-Henning Kamp wrote: > In message > , 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