PDA

View Full Version : You are cool if you run this test


filburt1
02-15-2003, 12:20 AM
Please upload the attached file to your admin/ directory and run it, and copy and paste the results. You should get something like this, only hopefully with much faster times:

Cache test 1...Done (341.828 msec)
Cache test 2...Done (304.107 msec)
Cache test 3...Done (304.835 msec)
Cache test 4...Done (314.325 msec)
Cache test 5...Done (304.61 msec)
Done with tests (617 users, 0.508818479566 msec per user)

The script loads all users and their ids into two arrays for cache purposes and I'm hoping that these obscene times are just my crappy computer. It's for a hack I'm making, or at least hoping to.

It runs five queries in case it matters.

Jalrock
02-15-2003, 12:31 AM
Cache test 1...Done (5.614 msec)
Cache test 2...Done (4.692 msec)
Cache test 3...Done (4.963 msec)
Cache test 4...Done (4.646 msec)
Cache test 5...Done (4.559 msec)
Done with tests (60 users, 0.08158008257548 msec per user)

filburt1
02-15-2003, 12:35 AM
Nuts, my host still gets almost as bad results as localhost:

Cache test 1...Done (282.298 msec)
Cache test 2...Done (254.323 msec)
Cache test 3...Done (282.916 msec)
Cache test 4...Done (257.419 msec)
Cache test 5...Done (329.33 msec)
Done with tests (681 users, 0.4130061677549 msec per user)

Maybe I'll have to find a new method :(

filburt1
02-15-2003, 12:38 AM
GRR! I DON'T HAVE TO HACK AT ALL TO DO THIS!

/me smashes keyboard with claw hammer

Dankinit
02-15-2003, 03:20 AM
Cache test 1...
Fatal error: Maximum execution time of 60 seconds exceeded in /.../test.php on line 16

Yeah, and I had increased the time from the usual 30 just to try it. That was with 25,000 members though.