GitHub user ahgittin opened a pull request: https://github.com/apache/brooklyn-server/pull/817
Optimizations Minor things I noticed which were chewing up CPU and could be easily fixed You can merge this pull request into a Git repository by running: $ git pull https://github.com/ahgittin/brooklyn-server optimize1 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/brooklyn-server/pull/817.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #817 ---- commit 330f89ee34ee450f00eb6760721d87d5a5466b25 Author: Alex Heneveld <alex.henev...@cloudsoftcorp.com> Date: 2017-09-11T10:03:52Z more performance monitoring util routines commit 14f0398dd500768aa00c4a003be24174448ebc7e Author: Alex Heneveld <alex.henev...@cloudsoftcorp.com> Date: 2017-09-11T14:43:18Z optimization: skip conversion to then from TypeToken if we have a raw class as a type this was a noticeable expense when doing profiling commit aee1b610b6827dce89b5c4e0423b1c16a4d0c3b8 Author: Alex Heneveld <alex.henev...@cloudsoftcorp.com> Date: 2017-09-11T22:14:59Z optimization: cache common type tokens ---- ---