[ 
https://jira.codehaus.org/browse/JBEHAVE-778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=298432#comment-298432
 ] 

Mauro Talevi commented on JBEHAVE-778:
--------------------------------------

I'm more oriented on a simpler approach that does not use neither AOP, nor 
Spring, nor Perf4J.  Simply time the execution interval before and after a step 
execution.   In fact, given it's a small overhead, I'm thinking that it could 
be done by default on all steps and reported in the StepResult.  
                
> Capture the execution time of steps annotated by @Profiled 
> -----------------------------------------------------------
>
>                 Key: JBEHAVE-778
>                 URL: https://jira.codehaus.org/browse/JBEHAVE-778
>             Project: JBehave
>          Issue Type: Story
>          Components: Core
>            Reporter: prem
>             Fix For: 4.x
>
>
> Create an annotation @Profiled to capture the execution time of a step:
> @Given("I log into mail account as user <username> with password <password>") 
> @Profiled
> public void login(){ 
> .... 
> } 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to