-
-
Notifications
You must be signed in to change notification settings - Fork 184
Closed
Description
Hi All,
We have been using HtmlUnit to execute a long list of JUnit tests. As part of our performance profiling of our code it has been identified that SimpleScriptable.isReadOnlySettable is an issue and is accounting for ~10% of our processing.
This particular method is calling Method.getAnnotation(JsxGetter.class) and Method.getAnnotation(CanSetReadOnly.class) potentially for each method on the subclass. The getAnnotation method is time consuming and the results are highly unlikely to change. It would be better if the classes could establish a cache which would eliminate the need to process the unnecessary annotations on every execution on every subclass.
Metadata
Metadata
Assignees
Labels
No labels