delorie.com/archives/browse.cgi | search |
Date: | Tue, 04 Sep 2001 21:21:04 +0300 |
From: | "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> |
Sender: | halo1 AT zahav DOT net DOT il |
To: | Marco Vienup <Marco AT Vienup DOT de> |
Message-Id: | <2427-Tue04Sep2001212103+0300-eliz@is.elta.co.il> |
X-Mailer: | Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 |
CC: | djgpp AT delorie DOT com |
In-reply-to: | <2p1aptcsq4ra5m2vb0mor7553fcbipv50l@4ax.com> (message from Marco |
Vienup on Tue, 04 Sep 2001 19:17:23 +0200) | |
Subject: | Re: speed of compiled programms |
References: | <80o7ptk35260gn4l05obuh0du6k37psstq AT 4ax DOT com> <Pine DOT SUN DOT 3 DOT 91 DOT 1010904111633 DOT 28761F-100000 AT is> <2p1aptcsq4ra5m2vb0mor7553fcbipv50l AT 4ax DOT com> |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> From: Marco Vienup <Marco AT Vienup DOT de> > Newsgroups: comp.os.msdos.djgpp > Date: Tue, 04 Sep 2001 19:17:23 +0200 > > Hm, I have a simple timeout for(...) construct. > > for(int i=0; i<=500;i++){ one small if(...) } > If it is the fast code, it will run in a timeout, with > the slow code the maximum is 100-120. So it's a four-fold slow-down? That's a _lot_... > >Anyway, I'd suggest to run objdump on both .exe files, and compare the > >results. That could show what are the differences between the two > >programs. > > objdump ? I dont know what it is, can you explain it ? It's a program which comes with the Binutils package, it should be already on your disk. Type "objdump --help" for more details. objdump can disassemble the program into a text file, and then you could compare the two text files created from each program.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |