Evaluate row storage against pinned EnTT in an isolated deterministic benchmark
This commit is contained in:
@@ -12,6 +12,7 @@ COPY include/ include/
|
||||
COPY src/ src/
|
||||
COPY apps/ apps/
|
||||
COPY tests/ tests/
|
||||
COPY experiments/ experiments/
|
||||
COPY tools/ tools/
|
||||
|
||||
FROM toolchain AS ci-toolchain
|
||||
@@ -29,6 +30,21 @@ RUN cmake --preset tsan -DCMAKE_CXX_COMPILER=clang++-19 \
|
||||
&& cmake --build --preset tsan --parallel 2
|
||||
CMD ["ctest", "--preset", "tsan", "--no-tests=error", "--timeout", "120"]
|
||||
|
||||
FROM ci-toolchain AS ci-ecs
|
||||
# Explicit experiment preparation; normal configure/runtime remains dependency-free.
|
||||
RUN cmake -P tools/prepare-entt.cmake \
|
||||
&& cmake --preset release -B build/ecs -DCMAKE_CXX_COMPILER=g++-14 -DEVO_BUILD_ECS_EXPERIMENT=ON \
|
||||
&& cmake --build build/ecs --target evo-ecs-experiment --parallel 2 \
|
||||
&& ctest --test-dir build/ecs -R ecs-experiment --output-on-failure --no-tests=error \
|
||||
&& ./build/ecs/evo-ecs-experiment --measure \
|
||||
&& stat -c 'experiment_executable_bytes=%s' build/ecs/evo-ecs-experiment
|
||||
RUN cmake --preset asan -B build/ecs-asan -DCMAKE_CXX_COMPILER=clang++-19 -DEVO_BUILD_ECS_EXPERIMENT=ON \
|
||||
&& cmake --build build/ecs-asan --target evo-ecs-experiment --parallel 2 \
|
||||
&& ctest --test-dir build/ecs-asan -R ecs-experiment --output-on-failure --no-tests=error
|
||||
RUN cmake --preset analysis -B build/ecs-analysis -DCMAKE_CXX_COMPILER=clang++-19 -DEVO_BUILD_ECS_EXPERIMENT=ON \
|
||||
&& cmake --build build/ecs-analysis --target evo-ecs-experiment --parallel 2 \
|
||||
&& ctest --test-dir build/ecs-analysis -R ecs-experiment --output-on-failure --no-tests=error
|
||||
|
||||
FROM toolchain AS build
|
||||
RUN cmake --preset release -B build/container \
|
||||
-DCMAKE_CXX_COMPILER=g++-14 -DCMAKE_RUNTIME_OUTPUT_DIRECTORY=/opt/evo/bin \
|
||||
|
||||
Reference in New Issue
Block a user