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:
It wasn't clear if the benchmarks needed to be for 2D or 3D, so I made both, along with a benchmark for AStar2D. The 3D navigation benchmarks use a navmesh baked from the Sponza scene, while the 2D counterparts use the nav polygon from the 2D navigation demo.
Results on my PC
{
"benchmarks": [
{
"category": "Navigation > Astar 2d",
"name": "Astar 5000 Times 5000 Points",
"results": {
"time": 739.1
}
},
{
"category": "Navigation > Astar 3d",
"name": "Astar 1000 Times 1000 Points",
"results": {
"time": 891.1
}
},
{
"category": "Navigation > Moving Agents 2d",
"name": "1000 Moving Agents",
"results": {
"render_cpu": 0.1948,
"time": 0.023
}
},
{
"category": "Navigation > Moving Agents 3d",
"name": "1000 Moving Agents",
"results": {
"render_cpu": 6.03,
"time": 0.047
}
},
{
"category": "Navigation > Navigation 2d",
"name": "Navigation 10 000 Random Paths",
"results": {
"time": 134.8
}
},
{
"category": "Navigation > Navigation 3d",
"name": "Navigation 10 000 Random Paths",
"results": {
"time": 104.6
}
}
],
"engine": {
"version": "v4.3.beta2.official",
"version_hash": "b75f0485ba15951b87f1d9a2d8dd0fcd55e178e4"
},
"system": {
"cpu_architecture": "x86_64",
"cpu_count": 12,
"cpu_name": "AMD Ryzen 5 1600 Six-Core Processor",
"os": "Linux"
}
}