jMonkeyEngine / jMonkeyEngine/jmonkeyengine

Nifty uploads a lot of data

Open
#2,358 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.