Hello,
starting from the original patch submitted by Bastian Friedrich and incorporating the code used in the core for past benchmarking, the devel version has a new module "benchmark". It can be used to log the duration of a configuration part execution, allowing in this way to detect slow elements of routing script. I am sure is a important tool, at least in preparing production systems, so development will continue to make more flexible the printed statistics.
The readme file will give you more details: http://www.openser.org/docs/modules/1.3.x/benchmark.html
The module exports an internal API, so developers can do benchmarking inside the C code.
Feedback is appreciated.
Cheers, Daniel