Example of an idiotic benchmark:

int
main()
{
        long long i;
        double q;

        for (i=0; i<10000000; i++) {
                q = sqrt(i);
        }
}

Under gcc 3.3.5 (Debian Sarge) this pile of drek executes in 1.4-1.8
seconds (depending on -O level). Under icc 9.0 it executes between in
3.4 seconds for -O0 and -O1, and in 0.015 seconds for -O2.

And don't tell me this is not a valid benchmark. I know. This is as
artificial as I can get without using a wooden leg.

M


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to