The testing we did delivered the results as follows:
Mac Mac SuSE Windows Windows
OS 9.2.2 OSX Linux 2000 XP
Average
8750% 140000% 600000% 740000% 166667% 331090%
The documentation says it can be up to, as this was what was measured.
The math used can be seen at
http://slayfire.com/OptimizerScience/speedtest7.html, you can read
about how this was done at
http://slayfire.com/OptimizerScience/speedtest0.html. The math is
correct, per NIST formula. I also cannot see what would result in such
a dramatic performance issue, however, objective, statistically valid
tests do not lie. If you want the test program let me know.....
--
Thank you,
Hank at SlayFire Support
Support board: http://slayfire.com/v-web/bulletin/bb/index.php
On Feb 27, 2005, at 1:14 PM, Mars Saxman wrote:
enter at rovosoft dot com wrote:
Hi all,
Being a sucker for speed, I tried to find something to back my
assumptions, which I found in one of the SlayFire rules. It says the
use
of an If block is on average 150,000% faster than a select case...
Well, as with anything performance related, don't just take someone
else's
word for it: test it in your application both ways and find out which
way
actually works faster in your situation.
I have heard this "150,000%" number before, and I am extremely
skeptical;
Select Case and If-Then boil down to almost the same thing internally,
and I
cannot see anything that would account for such a dramatic performance
penalty. The only difference I can think of actually points in Select's
favor, since it only has to evaluate the test expression once.
Mars Saxman
REAL Software
--
REAL World 2005 - The REALbasic User Conference
March 23rd - 25th, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|