[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-56) Review Poor Performance of ClassPathWorkspaceReader
Andrew Rubinger (JIRA)
jira-events at lists.jboss.org
Sat Sep 1 14:40:32 EDT 2012
[ https://issues.jboss.org/browse/SHRINKRES-56?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715280#comment-12715280 ]
Andrew Rubinger commented on SHRINKRES-56:
------------------------------------------
We create a DOM for all ClassPath entries - parse using a more efficient means should correct the problem.
> Review Poor Performance of ClassPathWorkspaceReader
> ---------------------------------------------------
>
> Key: SHRINKRES-56
> URL: https://issues.jboss.org/browse/SHRINKRES-56
> Project: ShrinkWrap Resolvers
> Issue Type: Task
> Affects Versions: SHRINKRES-39 Unreleased Changes
> Reporter: Andrew Rubinger
> Assignee: Andrew Rubinger
>
> When there are a lot of artifacts to resolve, the ClassPathWorkSpaceReader takes an unreasonable about of time. Consider:
> {code}final File[] files = Maven.resolver().configureFromPom("pom.xml").importRuntimeAndTestDependencies().as(File.class);{code}
> Determine the source of the bottleneck. Also review if we should continue with this enabled by default, or if should be switched on by the user when needed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the shrinkwrap-issues
mailing list