[
https://issues.jboss.org/browse/ARQ-531?page=com.atlassian.jira.plugin.sy...
]
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