[
https://issues.apache.org/jira/browse/ISIS-931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14193486#comment-14193486
]
Martin Grigorov commented on ISIS-931:
--------------------------------------
While debugging ISIS-911 I've noticed that is expensive. It is called at start
time and tries to load .layout.json file for every introspected method. This
includes JRE classes, JDO classes, and many more. I think it should be called
only for objects/entities. The expensiveness is that it tries to find a file in
the classpath and if it is not found then it throws
org.apache.isis.core.metamodel.layoutmetadata.LayoutMetadataReader.ReaderException.
The stacktrace of this exception is ignored at
org.apache.isis.core.metamodel.specloader.specimpl.FacetedMethodsBuilder#readMetadataProperties
so
ReaderException could override java.lang.Throwable#fillInStackTrace() to return
null and save some time.
> Make Isis faster to start.
> --------------------------
>
> Key: ISIS-931
> URL: https://issues.apache.org/jira/browse/ISIS-931
> Project: Isis
> Issue Type: Improvement
> Components: Core
> Affects Versions: core-1.7.0
> Reporter: Dan Haywood
> Assignee: Dan Haywood
> Priority: Minor
> Fix For: core-1.8.0
>
>
> Using profiling etc. JProfiler have provided us with an open source license.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)