abeimler / ecs_benchmark

Benchmarks of common ECS (Entity-Component-System)-Frameworks in C++ (or C)
MIT License
217 stars 14 forks source link

Having problems running the benchmarks cause file is missing #28

Open Terra854 opened 2 months ago

Terra854 commented 2 months ago

I encountered an error will trying to run task benchmark using Ubuntu 24.04 WSL

task: [benchmark:entt:utils:run-benchmark-template] <home directory>/ecs_benchmark/ecs_benchmark/build/benchmark/benchmarks/entt/Release/ecs-benchmark-entt  --benchmark_format=json > <home directory>/ecs_benchmark/ecs_benchmark/reports/entt.json
stat <home directory>/ecs_benchmark/ecs_benchmark/build/benchmark/benchmarks/entt/Release/ecs-benchmark-entt: no such file or directory
task: Failed to run task "benchmark:default": exit status 127

It seems like the benchmark programs were built and placed somewhere else

abeimler commented 1 month ago

Hi, you need to run the build task first. (better make an build/ folder first)

You can run task build benchmark, you can find the results (json) in report/.

This will run ALL the benchmarks, this may take some time.