From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Q9Axv-0001Mi-Cj for garchives@archives.gentoo.org; Mon, 11 Apr 2011 06:51:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9B72D1C045; Mon, 11 Apr 2011 06:50:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 642BB1C045 for ; Mon, 11 Apr 2011 06:50:38 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E3AC41B40B1 for ; Mon, 11 Apr 2011 06:50:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 00BF480065 for ; Mon, 11 Apr 2011 06:50:37 +0000 (UTC) From: "Petteri Räty" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Petteri Räty" Message-ID: <6e51788eb73c044b06d5674a384c3b9e245e959c.betelgeuse@gentoo> Subject: [gentoo-commits] proj/libbash:master commit in: / X-VCS-Repository: proj/libbash X-VCS-Files: Makefile.am X-VCS-Directories: / X-VCS-Committer: betelgeuse X-VCS-Committer-Name: Petteri Räty X-VCS-Revision: 6e51788eb73c044b06d5674a384c3b9e245e959c Date: Mon, 11 Apr 2011 06:50:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 6669487bdb180544a7a86d1b84dac904 commit: 6e51788eb73c044b06d5674a384c3b9e245e959c Author: Petteri R=C3=A4ty petteriraty eu> AuthorDate: Sun Apr 10 08:26:34 2011 +0000 Commit: Petteri R=C3=A4ty gentoo org> CommitDate: Mon Apr 11 05:23:57 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/libbash.git;a= =3Dcommit;h=3D6e51788e Add code to benchmark parser speed benchmark_parser target now runs callgrind on versionator.eclass and collects the number of instructions executed. --- Makefile.am | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/Makefile.am b/Makefile.am index 96c01f0..b57922d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -214,3 +214,8 @@ massif.out: variable_printer long.sh =20 massif: massif.out ms_print --threshold=3D10 $< + +benchmark_parser: ast_printer + libtool --mode=3Dexecute valgrind \ + --tool=3Dcallgrind --callgrind-out-file=3D/dev/null \ + ./ast_printer -s -f /usr/portage/eclass/versionator.eclass