b975111a93
* 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>
19 lines
530 B
CMake
19 lines
530 B
CMake
#
|
|
# Copyright (c) Contributors to the Open 3D Engine Project.
|
|
# For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
#
|
|
#
|
|
|
|
set(FILES
|
|
Include/SurfaceData/Tests/SurfaceDataTestMocks.h
|
|
Tests/SurfaceDataBenchmarks.cpp
|
|
Tests/SurfaceDataColliderComponentTest.cpp
|
|
Tests/SurfaceDataTest.cpp
|
|
Tests/SurfaceDataTestFixtures.cpp
|
|
Tests/SurfaceDataTestFixtures.h
|
|
Source/SurfaceDataModule.cpp
|
|
Source/SurfaceDataModule.h
|
|
)
|