Add cull and lightmap probe influence benchmarks #74
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds the following benchmarks from #36:
The rest of the CPU benchmarks under 3D rendering seem to be already implemented in culling.gd
I also formatted culling.gd and improved its static typing.
Results on my PC
{
"benchmarks": [
{
"category": "Rendering > Culling",
"name": "Dynamic Rotate Cull",
"results": {
"render_cpu": 6.082,
"render_gpu": 2.836,
"time": 2.812
}
},
{
"category": "Rendering > Culling",
"name": "Dynamic Spot Light Cull With Shadows",
"results": {
"render_cpu": 2.44,
"render_gpu": 3.092,
"time": 3.426
}
},
{
"category": "Rendering > Culling",
"name": "Static Omni Light Cull With Shadows",
"results": {
"render_cpu": 1.365,
"render_gpu": 3.043,
"time": 0.047
}
},
{
"category": "Rendering > Culling",
"name": "Static Spot Light Cull With Shadows",
"results": {
"render_cpu": 1.585,
"render_gpu": 3.063,
"time": 0.065
}
},
{
"category": "Rendering > Lightmap Probe Influence",
"name": "Lightmap Probe Influence",
"results": {
"render_cpu": 0.9369,
"render_gpu": 3.131,
"time": 10.8
}
}
],
"engine": {
"version": "v4.3.beta1.official",
"version_hash": "a4f2ea91a1bd18f70a43ff4c1377db49b56bc3f0"
},
"system": {
"cpu_architecture": "x86_64",
"cpu_count": 12,
"cpu_name": "AMD Ryzen 5 1600 Six-Core Processor",
"os": "Linux"
}
}