Mail Archives: djgpp/1997/03/10/08:12:14
OK, I will write here also some remarks from me
about the optimizations and benchmarks.
In my opinion, benchmarks are in most cases can be
compared with games, just for fun. If you want
to see the results of different optimization levels
you shoud use a real program for testing the
speed (not checking somly some loops or so on).
For instance for me I saw the following:
The editor of RHIDE can be build also as an
standalone editor and has there an option, to
profile itself (it scrolls automaticaly an
opened editor from the beginning to the end and
stops the time for it).
I have tested mostly everything with all the
optimization switches and found, that the best
speed is reached with simply '-O2' and nothing
else.
I have tried also '-m486' which blowed up
the exe size and slowed down the excution
time.
Robert
--
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post: Am Berg 3, D-09573 Dittmannsdorf *
* e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE *
* WWW: http://www.tu-chemnitz.de/~rho *
*****************************************************************
- Raw text -