public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Joerg Plate <plate@psyche.kn-bremen.de>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] Script to test instruction set.
Date: Wed, 13 Aug 2003 07:04:09 +0200	[thread overview]
Message-ID: <87k79idu7q.fsf@psyche.kn-bremen.de> (raw)
In-Reply-To: <20030812182343.GA8128%chutz@gg3.net> (Georgi Georgiev's message of "Wed, 13 Aug 2003 03:23:43 +0900")


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


  reply	other threads:[~2003-08-13  5:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-12 11:55 [gentoo-dev] Script to test instruction set Tavis Ormandy
2003-08-12 14:13 ` Norbert Kamenicky
2003-08-12 14:45   ` Tavis Ormandy
2003-08-12 14:26 ` Philippe Lafoucrière
2003-08-12 14:43   ` Tavis Ormandy
2003-08-12 15:37 ` Ned Ludd
2003-08-12 18:23 ` Georgi Georgiev
2003-08-13  5:04   ` Joerg Plate [this message]
2003-08-13  8:08     ` Georgi Georgiev
2003-08-13  8:24       ` Georgi Georgiev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k79idu7q.fsf@psyche.kn-bremen.de \
    --to=plate@psyche.kn-bremen.de \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox