Timing component execution
Pedro Melo <[email protected]> Thu, 24 May 2012 16:28:50 +0100
| Newsgroups | gmane.comp.web.mason.devel |
|---|---|
| Message-ID | <CACCxPi3EwZcnTbqqmmns1cb=XwgeY=3zaAsx1Nci-WBJg0X9Vw@mail.gmail.com> |
Hi, I'm trying to time each Mason2 component execution to track some deviation on run times. I've tried adding a My::App::Mason::Component and override 'main', but main is the final method, it only exists on generated code. My next option is to override Mason::Compilation::_output_method but that means copying a lot of code. Before I start down this road, any other suggestions? Thanks, -- Pedro Melo @pedromelo http://www.simplicidade.org/ http://about.me/melo xmpp:[email protected] mailto:[email protected] ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/