Fellow monks, I have a question for you. How do I best profile a forking program? It is a daemon, and all the heavy computation is performed in the child processes that are spawned. I also do some slightly messy things with string evals that load classes, and then more string evals to get an object from that class.
My question is essentially "How do I figure out what to speed up?". I think profiling is a good start since the code is almost mature and I would rather not redesign unless I can document that I need to.