diasurgical / devilutionX

Diablo build for modern operating systems
Other
8.08k stars 795 forks source link

dun_render_benchmark: `BM_RenderBlackTile` #7356

Closed glebm closed 3 months ago

glebm commented 3 months ago
tools/build_and_run_benchmark.py dun_render_benchmark -- \
  --benchmark_filter='.*BlackTile.*' \
  --benchmark_repetitions=10 \
  --benchmark_display_aggregates_only
------------------------------------------------------------------------------------
Benchmark                          Time             CPU   Iterations UserCounters...
------------------------------------------------------------------------------------
BM_RenderBlackTile_mean          157 ns          157 ns           10 items_per_second=6.37889M/s
BM_RenderBlackTile_median        157 ns          157 ns           10 items_per_second=6.38348M/s
BM_RenderBlackTile_stddev      0.490 ns        0.487 ns           10 items_per_second=19.8345k/s
BM_RenderBlackTile_cv           0.31 %          0.31 %            10 items_per_second=0.31%

I have a very surprising finding in a follow-up PR...