coin_profiling_intro(3)
π NAME π
coin_profiling_intro β Scene Graph Profiling, aka let's find out where all your render time went, bestie π΅οΈββοΈβ¨
This is part of the Coin manual fam, and it's your whole guide to peeking under the hood of your scene graph. Let's go π
π Enabling profiling in Coin π
To turn profiling on in Coin, you set the environment variable COIN_PROFILER. That's it, that's the whole vibe.
Once profiling is enabled, Coin will gather profiling data during every single scene graph traversal by any action. Every one. No cap. π
π¦ Enabling the default profiling display π¦
Okay so collecting the data is one thing, but you probably want to see it, right? For that you also need the COIN_PROFILER_OVERLAY environment variable. Two variables, double the slay β¨
This gets you the default profiling graphics, which is giving:
- a top list of node timings, categorized by node types π
- a scrolling graph of action traversal timings π
- a scene graph navigator, for when you wanna get all up close and personal with your scene graph π
It's a whole dashboard, literally.
π Read the profiling data π
The SoProfilerStats node is your girl for pulling the profiling data out of the scene graph itself.
If you position it anywhere in the scene graph, its fields get updated every time SoGLRenderAction is applied to the scene graph. And the data it gets is profiling data gathered from every traversal through the scene graph since the last SoGLRenderAction β up to the point where SoProfilerStats is located. Periodt. π
Depending on how you wanna use that data, you've got two options:
- attach sensors to the fields π
- connect the fields on other coin nodes to the fields on
SoProfilerStatsπ
Pick your fighter, both work.
Version 4.0.10, dated Thu Jun 25 2026 00:00:00 β and that's the whole page, bestie π«Ά go profile something iconic π
β¨
π¦ where this page comes from
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms