I’m running RoR 0.14.1 (Ruby 1.8.2, MySQL 3.23.52) under Freebsd 4.11 on
a PII/400. I’ve got a relatively simple blog-style app with comments and
tags which seems to be rendering very slowly. There’s no advanced
trickery in the templates and I’m preloading associations but
performance is still lacking when using WEBrick production mode.
Completed in 0.85013 (1 reqs/sec) | Rendering: 0.66203 (77%) | DB:
0.10784 (12%) | 200 OK
The render time is always > 0.5 seconds for a ~25kb page, including
Where should I be looking for performance gains? I’ve tried profiling
the object constructors but, as expected, there’s no enormous
time-consumers there. Can I profile the rendering code somehow to work
out what’s going on?
Perhaps this old machine just doesn’t have the grunt it needs.