Is there a standard library that makes profiling easy and accurate? e.g., profile.start(); ... writeln(profile.end()); where profile.end() can has some nicely printed string to output(like xxm xxs xxms)?