[kde-solaris] Re: fibonacci

Christopher Layne clayne at anodized.com
Wed Nov 24 09:28:45 CET 2004


Forte is so great a compiler that it is 33% faster on a
CPU architecture that Sun has, comparitively, less experience on
than gcc?

I'm just not buying it - nor am I really buying this form of
benchmarking. A single fibonacci run-through is not enough.

Regardless, at the end of the day - I want to get things done.

-cl

On Sat, Nov 20, 2004 at 03:35:47PM -0500, Stefan Teleman wrote:
> Someone sent me this, so here it is.
> 
> --Stefan
> 
> -----
> 
> > With GCC 3.4.3 (built myself) and Studio 9, on a Celeron P4 2Ghz w/ 
> > Solaris 9 9/04:
> >
> > $ gcc -O3 fibonacci.c -o fibonacci.gcc
> > $ cc -fast fibonacci.c -o fibonacci.forte
> >
> > $ ./fibonacci.gcc 36
> > ./fibonacci.gcc: calculated 10 fibonacci(36) in 6.000000 seconds
> >
> > $ ./fibonacci.forte 36
> > ./fibonacci.forte: calculated 10 fibonacci(36) in 4.000000 seconds
> 
> -- 
> Stefan Teleman          'Nobody Expects the Spanish Inquisition'
> steleman at nyc.rr.com                          -Monty Python
> 
> ___________________________________________________
> This message is from the kde-solaris mailing list.
> Account management:  https://mail.kde.org/mailman/listinfo/kde-solaris.
> Archives: http://lists.kde.org/.
> More info: http://www.kde.org/faq.html.


More information about the kde-solaris mailing list