From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20432 invoked by alias); 7 Dec 2010 22:05:26 -0000 Received: (qmail 20422 invoked by uid 22791); 7 Dec 2010 22:05:25 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_CX,TW_DC,TW_GM X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 07 Dec 2010 22:05:19 +0000 From: "pluto at agmk dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/46659] std::list iterator debugging (_GLIBCXX_DEBUG) is much slower than stlport's one. X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pluto at agmk dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Date: Tue, 07 Dec 2010 22:05:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-12/txt/msg00791.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D46659 --- Comment #6 from Pawel Sikora 2010-12-07 22:05:1= 5 UTC --- (In reply to comment #5) > With current mainline 200000 elements finishes in 0.1s on my x86_64 syste= m, > which is only 5 times slower than non-debug mode. >=20 > That's compared with 5m36s with 4.5's debug mode. >=20 > I think it's safe to say Fran=C3=A7ois has fixed it :) in fact :) with current git-mirror 54486c25c3df3bdb314929fe30855f0d3bd2e0b5 checkout for 200'000 elemetns i have a fantastic speedup: $ time ./t-libstdcxx ./t-libstdcxx 0,09s user 0,01s system 98% cpu 0,109 total $ time ./t-stlport ./t-stlport 170,91s user 0,01s system 99% cpu 2:50,93 total