You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Gems/SurfaceData/Code/Source
Mike Balfour b975111a93
Add benchmarks and unit tests for GetSurfacePoints*. (#7216)
* Add benchmarks and unit tests for GetSurfacePoints*.
The benchmarks are very enlightening - the existing implementation of GetSurfacePointsFromRegion (and GetSurfacePointsFromList) is currently measurably *slower* than just calling GetSurfacePoints() many times in a loop.  This is due to all of the extra allocation overhead that's currently happening with the way these data structures are built.

Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com>

* Small syntax improvement

Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com>

* Small update to the benchmark to use filtered results.

Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com>

* Removed accidental extra include.

Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com>
4 years ago
..
Components Add benchmarks and unit tests for GetSurfacePoints*. (#7216) 4 years ago
Editor review changes 4 years ago
SurfaceDataEditorModule.cpp Merge branch 'development' into cmake/SPEC-7179 4 years ago
SurfaceDataEditorModule.h Merge branch 'development' into cmake/SPEC-7179 4 years ago
SurfaceDataModule.cpp Initial stub terrain gem (#3368) 4 years ago
SurfaceDataModule.h Merge branch 'development' into cmake/SPEC-7179 4 years ago
SurfaceDataSystemComponent.cpp Add benchmarks and unit tests for GetSurfacePoints*. (#7216) 4 years ago
SurfaceDataSystemComponent.h Add benchmarks and unit tests for GetSurfacePoints*. (#7216) 4 years ago
SurfaceDataUtility.cpp Deprecate profiler categories based on global enum 4 years ago
SurfaceTag.cpp Deprecate profiler categories based on global enum 4 years ago