From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1183 invoked by alias); 6 Nov 2009 16:56:14 -0000 Received: (qmail 1172 invoked by uid 22791); 6 Nov 2009 16:56:13 -0000 X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-px0-f192.google.com (HELO mail-px0-f192.google.com) (209.85.216.192) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 06 Nov 2009 16:56:10 +0000 Received: by pxi30 with SMTP id 30so774833pxi.14 for ; Fri, 06 Nov 2009 08:56:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.162.20 with SMTP id k20mr251156rve.255.1257526568520; Fri, 06 Nov 2009 08:56:08 -0800 (PST) In-Reply-To: <4AF44D10.7010100@gmail.com> References: <7f0369b60911060213k5c50ee14g97e7a066020a5c6d@mail.gmail.com> <4AF4405A.4050502@gmail.com> <7f0369b60911060753l1fcd4be1k79ebcb20b24310a1@mail.gmail.com> <4AF44D10.7010100@gmail.com> Date: Fri, 06 Nov 2009 16:56:00 -0000 Message-ID: <7f0369b60911060856l41ef7e61jc10f4260b130e87c@mail.gmail.com> Subject: Re: New g++ template stress/regression test? From: Sebastian Mach To: Dave Korn Cc: gcc@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-11/txt/msg00146.txt.bz2 2009/11/6 Dave Korn : > > [ =A0You should send these emails to the list so that people with maintai= ner > rights see the thread - I can't approve contributions myself. =A0] [ facepalm, this is the second time this happens to me, sorry. I will re-quote for sake of completeness; errors in the following quotes go at my cost] >> DaveK wrote: >>> How big is it? It might be suitable to go in the contrib/ dir, we alre= ady >>>keep a copy of the paranoia FP tests in there, so your template package = and >>>maybe a testscript to run it and record stats might make a nice little >>>addition in the same spirit. >>> >>> >Sebastian Mach wrote: >>Pardon for the inprecise answer (I am relocating at the moment and am >>posting this from my occupation box), but afair it is somewhere >>between 1000 or 2000 lines of code, currently it's all in one file, >>and only invokes standard headers (the output is in ppm format, but >>arbitrary outputs can be added in a glimpse (like a type-id-name >>output, e.g.)). >> >>Of course the performance is extremely snaily, but I have a small bash >>script that can utilize all cores and which subdivides the compile >>into many pieces (as said, performance degrades superlinear w.r.t. >>type-id count), but still a render of 250x250 pixels took about 26 >>hours. Smaller ones of less than 50x50 can be obtained (as far as I >>remember) in < 1 hr. >> >> DaveK wrote: > =A0It doesn't seem like an excessively large file to me, it's the same sc= ale as > paranoia.cc; maybe you should just whip it up into a patch and submit it = to > the -patches list. =A0Add in the script you have, and if you wanted to be= really > comprehensive, include some sample timing runs in the comments showing the > difference between 4.4 and the (we hope) improvements on HEAD. > > =A0 =A0cheers, > Many thanks for your help. So I will see to get that thing ready in the next days (or, who knows, weeks). Those might be pretty interesting results as for the mentioned quadratic runtime in 4.4 vs. linear 4.5.