You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Thomas Heigl (Jira)" <ji...@apache.org> on 2022/03/04 17:57:00 UTC
[jira] [Created] (WICKET-6960) Reduce allocations when encoding ComponentInfo
Thomas Heigl created WICKET-6960:
------------------------------------
Summary: Reduce allocations when encoding ComponentInfo
Key: WICKET-6960
URL: https://issues.apache.org/jira/browse/WICKET-6960
Project: Wicket
Issue Type: Improvement
Components: wicket-core
Affects Versions: 9.8.0
Reporter: Thomas Heigl
Assignee: Thomas Heigl
Attachments: image-2022-03-04-18-54-47-423.png
Our profiler shows a significant amount of allocations coming from {{ComponentInfo.encodeComponentPath}}:
!image-2022-03-04-18-54-47-423.png!
We know the exact length of the strings we are encoding and decoding, so pre-sizing the {{StringBuilder}} should be an easy improvement.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)