public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-dev] Script to test instruction set.
  @ 2003-08-13  5:04 99%   ` Joerg Plate
  0 siblings, 0 replies; 1+ results
From: Joerg Plate @ 2003-08-13  5:04 UTC (permalink / raw
  To: gentoo-dev


time for /bin/ls (80KB)

Shell: 42 seconds
Perl1: 14 seconds
Perl2:  1 second

time for /usr/bin/ghemical (9.2MB)
Perl2: 27 seconds

--- analyse-x86.pl	2003-08-13 06:46:05.000000000 +0200
+++ analyse-x86	2003-08-13 06:53:16.424813198 +0200
@@ -59,4 +59,7 @@
 my $print;
+my %done;
 while (defined (my $instruction = <PIPE>)) {
 	chomp $instruction; 
+	next if $done{$instruction};
+	$done{$instruction}++;
 	if (scalar (grep /^$instruction$/, "cmpxchg","xadd","bswap","invd","wbinvd","invlpg")) { $i486++; $print=1 }

-- 
"I'm working on it."  <http://Patterner.de>

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2003-08-12 11:55     [gentoo-dev] Script to test instruction set Tavis Ormandy
2003-08-12 18:23     ` Georgi Georgiev
2003-08-13  5:04 99%   ` Joerg Plate

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox