From b9faf6c22cce6ca83d1b84cb4ca7d341ff63e3c8 Mon Sep 17 00:00:00 2001 From: Hartmut Date: Thu, 30 May 2024 09:07:24 +0200 Subject: [PATCH] add a excerpt for perf run showing performance issues --- docs/README.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/docs/README.md b/docs/README.md index 93b4603..92a878e 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,4 +1,3 @@ - # Todo Here some ideas for improving this tiny engine: @@ -25,3 +24,27 @@ Here some ideas for improving this tiny engine: ## Build / Dev Support - [ ] add a test rig either with Snitch or Catch2 - [ ] write some reasonable testcases + + +# Issues + + + +```sh + Performance counter stats for 'bin/paradiso_pong': + + 555,35 msec task-clock:u # 0,042 CPUs utilized + 0 context-switches:u # 0,000 /sec + 0 cpu-migrations:u # 0,000 /sec + 4.072 page-faults:u # 7,332 K/sec + 319.484.735 cycles:u # 0,575 GHz + 358.165.995 instructions:u # 1,12 insn per cycle + 86.037.942 branches:u # 154,926 M/sec + 2.469.068 branch-misses:u # 2,87% of all branches + + 13,092775373 seconds time elapsed + + 0,311565000 seconds user + 0,247491000 seconds sys +``` +above run with `perf stat bin/paradiso_pong` shows some really bad performance issues. \ No newline at end of file