[arquillian-issues] [JBoss JIRA] Commented: (ARQ-531) Allow Performance extension to measure @Deployment annotated methods
Aslak Knutsen (JIRA)
jira-events at lists.jboss.org
Wed Jul 27 14:00:23 EDT 2011
[ https://issues.jboss.org/browse/ARQ-531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617112#comment-12617112 ]
Aslak Knutsen commented on ARQ-531:
-----------------------------------
This would hook into BeforeDeployment and AfterDeployment.
Since multiple extensions can hook into the same Events, the times could be somewhat off. We should consider adding start/end times to the ...spi.DeploymentDescription
> Allow Performance extension to measure @Deployment annotated methods
> --------------------------------------------------------------------
>
> Key: ARQ-531
> URL: https://issues.jboss.org/browse/ARQ-531
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Extension - Performance
> Reporter: Karel Piwko
>
> It should be possible to use @Performance on @Deployment methods. This can impose some restrictions on container speed.
> {code}
> @Deployment
> @Performance(relativeTime=10)
> public static JavaArchive createDeployment() {
> return ShrinkWrap.create(JavaArchive.class ,"test.jar")
> .addPackage(WorkHard.class.getPackage())
> .addAsManifestResource(EmptyAsset.INSTANCE, ArchivePaths.create("beans.xml"));
> }
>
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the arquillian-issues
mailing list