apache / apache/netbeans

Improve performance of icon loading in ImageUtilities

Open
#8,207 6 comments 1 reaction 0 assignees View on GitHub
performance UI
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.