Skip to content

perf(GLTFImporter): improve memory usage#3500

Merged
finetjul merged 1 commit intoKitware:masterfrom
daker:gltf-memory
May 5, 2026
Merged

perf(GLTFImporter): improve memory usage#3500
finetjul merged 1 commit intoKitware:masterfrom
daker:gltf-memory

Conversation

@daker
Copy link
Copy Markdown
Collaborator

@daker daker commented May 5, 2026

Context

Open "ABeautifulGame" then check tab memory usage
https://kitware.github.io/vtk-js/examples/GLTFImporter/index.html?model=ABeautifulGame&viewAPI=WebGPU

Results

74% reduction of memory usage and 64% faster in rendering

Top tab: with PR
Bottom tab: main branch

image

Changes

  • Documentation and TypeScript definitions were updated to match those changes

PR and Code Checklist

  • semantic-release commit messages
  • Run npm run reformat to have correctly formatted code

Testing

  • This change adds or fixes unit tests
  • Tested environment:
    • vtk.js:
    • OS:
    • Browser:

@daker daker force-pushed the gltf-memory branch 3 times, most recently from e8d74a6 to 7955398 Compare May 5, 2026 15:59
Comment thread Sources/IO/Geometry/GLTFImporter/index.js Outdated
Copy link
Copy Markdown
Member

@finetjul finetjul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@finetjul finetjul added this pull request to the merge queue May 5, 2026
Merged via the queue into Kitware:master with commit f8c70f1 May 5, 2026
2 checks passed
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 5, 2026

🎉 This PR is included in version 35.14.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions Bot added the released Automated label label May 5, 2026
@daker daker deleted the gltf-memory branch May 5, 2026 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Automated label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants