theigl opened a new pull request #420:
URL: https://github.com/apache/wicket/pull/420


   This PR provides a JMH benchmark that demonstrated performance issues with 
accessing component metadata.
   
   The benchmark is executed by running the main method in 
`ComponentBenchmarks`. It should be run 2-3 times to get reliable results.
   
   On my machine the results are:
   
   > Run complete. Total time: 00:02:44
   > 
   > Benchmark                                         Mode  Cnt      Score    
Error  Units
   > ComponentBenchmarks.detachComponentWithFlags     thrpt   20  **12295,363** 
± 71,343  ops/s
   > ComponentBenchmarks.detachComponentWithMetaData  thrpt   20   **8855,321** 
± 34,743  ops/s
   
   I couldn't get to the root cause of the performance issues but the PR 
suggests a possible workaround: Using request-level flags that are checked 
before accessing component metadata.
   
   https://issues.apache.org/jira/browse/WICKET-6771


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to