[Icfp04-discuss] simulator speed
Thomas Pototschnig
thomas.pototschnig at gmx.de
Mon Jun 7 02:39:05 EDT 2004
Hi
on my AMD XP 1800+ CPU it tooks about 2min for 100.000 cycles with 182ants
(fullsize-world)
I implemented 2 modes in my GUI -
in the 1st mode my screen is refreshed after every single cycle - this takes
very long for 100.000 cycles
the 2nd mode uses a thread for the ants and my screen is refreshed only
every 1ms
mode 2 speeds it up extremly - but in mode 2 I can't follow the ant :)
(About 400 cycles/ms)
Thomas
----- Original Message -----
From: "Jeff Franklin" <JeffreyFranklin at comcast.net>
To: <icfp04-discuss at lists.seas.upenn.edu>
Sent: Monday, June 07, 2004 1:28 AM
Subject: [Icfp04-discuss] simulator speed
> Just curious, how long does it take your simulators to run through 100000
> iterations? It's taking mine about 2 hours (on a P4 3GHz), so I've just
been
> running through 5000 or 10000 and seeing how it does, which only takes
about
> 10 or 20 minutes (respectively). Is this normal? Does everyones
simulator
> run this slow? All my map/ant lookups are O(1), and I have all the C++
> compiler optimizations on (-O3 -funroll-loops -fomit-frame-pointer), and I
> turned off all the output.
>
> Thanks,
> -Jeff
> _______________________________________________
> Icfp04-discuss mailing list
> Icfp04-discuss at lists.seas.upenn.edu
> http://lists.seas.upenn.edu/mailman/listinfo/icfp04-discuss
>
More information about the Icfp04-discuss
mailing list