Server performance a factor?

Add a reply

Posted by goibhniu 456 days ago:
I've successfully implemented Rabinowitz' Spigot in Perl in about 3.2 sec on my desktop. I can't get it under 4 seconds on the server, however - Is this a server performance issue? Should I try again at midnight?
Posted by hallvabo 453 days ago:
Try to reduce the number of digits your program calculates (to avoid timeout), and submit it with some timing code included.
Then compare the running time for your submission and the local version on your desktop, and extrapolate to 1000 digits.

You could also submit several times and compare running times. I did this when my Python solution got timeout errors in Conway's Game of Life, and found that the running time on the server showed significant variation between submissions.
Posted by goibhniu 452 days ago:
good ideas. Thanks!

Add a reply