From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16840 invoked by alias); 13 Nov 2012 10:01:19 -0000 Received: (qmail 15405 invoked by uid 48); 13 Nov 2012 10:00:02 -0000 From: "markus at trippelsdorf dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/55309] New: gcc's address-sanitizer 66% slower than clang's Date: Tue, 13 Nov 2012 10:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: markus at trippelsdorf dot de 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: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2012-11/txt/msg01129.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55309 Bug #: 55309 Summary: gcc's address-sanitizer 66% slower than clang's Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: other AssignedTo: unassigned@gcc.gnu.org ReportedBy: markus@trippelsdorf.de Comparing gcc build times: CC="clang -fsanitize=address -w" CXX="clang++ -fsanitize=address -w" ~/gcc/configure --disable-bootstrap --disable-werror --disable-multilib --enable-languages=c,c++ with CC="gcc -faddress-sanitizer" CXX="g++ -faddress-sanitizer" ... and CC="gcc -fno-var-tracking -faddress-sanitizer" CXX="g++ -fno-var-tracking -faddress-sanitizer" ... Clang : nice -n 19 make -j4 1173.74s user 104.73s system 325% cpu 6:32.18 total gcc : nice -n 19 make -j4 3653.30s user 122.27s system 369% cpu 17:00.77 total gcc_no: nice -n 19 make -j4 2925.20s user 116.42s system 357% cpu 14:11.52 total "perf top" shows references_value_p() and value_member() on top.