Some stats (Was: Re: Alexandre Julliard : oleaut32/tests: Replace some macros by functions to reduce code size and compile time.)

Michael Stefaniuc mstefani at redhat.com
Mon Jan 15 14:11:30 CST 2007


Alexandre Julliard wrote:
> Module: wine
> Branch: master
> Commit: 25571d878960cd802aa31f291d473888dc01e035
> URL:    http://source.winehq.org/git/wine.git/?a=commit;h=25571d878960cd802aa31f291d473888dc01e035
> 
> Author: Alexandre Julliard <julliard at winehq.org>
> Date:   Mon Jan 15 13:01:42 2007 +0100
> 
> oleaut32/tests: Replace some macros by functions to reduce code size and compile time.
Some compile stats for vartest.c on my P4 3GHz HT, 2 GB RAM, FC6,
gcc version 4.1.1 20070105 (Red Hat 4.1.1-51)


        -O0     -O1     -O2     -O3     -Os     size vartest.o with -O2
before  9s      38s     60s     870s    750s    1352256
after   3s      23s     35s      41s     42s     474300

I would say impressive, especially the -O3 and -Os changes.

bye
	michael
-- 
Michael Stefaniuc               Tel.: +49-711-96437-199
Sr. Network Engineer            Fax.: +49-711-96437-111
Red Hat GmbH                    Email: mstefani at redhat.com
Hauptstaetterstr. 58            http://www.redhat.de/
D-70178 Stuttgart



More information about the wine-devel mailing list