jMonkeyEngine / jMonkeyEngine/jmonkeyengine
Nifty uploads a lot of data
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.3k
- Forks
- 1.2k
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 14
Description
The UI shows up as a hotspot in https://github.com/tonihele/OpenKeeper CPU profiles cause it constantly uploads data via glBufferData.
Is this a problem on the user side or does the code lack optimizations to avoid that:
https://github.com/jMonkeyEngine/jmonkeyengine/blob/03c26a8a253395bbd2736784cd4cb1c6dd102270/jme3-niftygui/src/main/java/com/jme3/niftygui/JmeBatchRenderBackend.java#L557-L570
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with JmeBatchRenderBackend.java at lines 557-570 and inspect the glBufferData calls mentioned in the issue. Use CPU profiling or the linked OpenKeeper profiles to determine whether the repeated uploads are expected on the user side or avoidable in the rendering backend. Done means identifying the cause and documenting or implementing a concrete optimization.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- computer-graphics, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100