Improve performance of icon loading in ImageUtilities
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 935
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 17
Description
### Body
With NetBeans now containing [more SVG icons](https://github.com/apache/netbeans/pull/8083), and with more icons being [loaded](https://github.com/apache/netbeans/pull/8194) via ImageUtilities rather than alternative methods, it might be worth taking a look at the performance of ImageUtilities.getIcon, and see if there are possible optimizations that should be done. A first step, switching from Batik to JSVG, was [already done](https://github.com/apache/netbeans/pull/7941).
This issue is intended to continue the discussion that was started in [a comment](https://github.com/apache/netbeans/pull/8194#discussion_r1929834990) in another issue.
### Committer
- [x] I acknowledge that I am a maintainer/committer in the Apache NetBeans project.
Contributor guide
Research direction
Start with ImageUtilities.getIcon and review the performance discussion linked from this issue, including the earlier Batik-to-JSVG change and the referenced icon-loading pull requests. Determine whether a concrete optimization can be identified and define completion around a measurable improvement in icon-loading performance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- performance
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100