forked from Hartmut/paradiso
add more info about performance issues
This commit is contained in:
parent
b9faf6c22c
commit
cdf2cbd6c0
1 changed files with 10 additions and 10 deletions
|
@ -24,27 +24,27 @@ Here some ideas for improving this tiny engine:
|
||||||
## Build / Dev Support
|
## Build / Dev Support
|
||||||
- [ ] add a test rig either with Snitch or Catch2
|
- [ ] add a test rig either with Snitch or Catch2
|
||||||
- [ ] write some reasonable testcases
|
- [ ] write some reasonable testcases
|
||||||
|
- [ ] add CPU and GPU benchmarks to address various issues
|
||||||
|
|
||||||
|
|
||||||
# Issues
|
# Issues
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
Performance counter stats for 'bin/paradiso_pong':
|
Performance counter stats for 'bin/paradiso_pong':
|
||||||
|
|
||||||
555,35 msec task-clock:u # 0,042 CPUs utilized
|
555,35 msec task-clock:u # 0,042 CPUs utilized
|
||||||
0 context-switches:u # 0,000 /sec
|
0 context-switches:u # 0,000 /sec
|
||||||
0 cpu-migrations:u # 0,000 /sec
|
0 cpu-migrations:u # 0,000 /sec
|
||||||
4.072 page-faults:u # 7,332 K/sec
|
4.072 page-faults:u # 7,332 K/sec
|
||||||
319.484.735 cycles:u # 0,575 GHz
|
319.484.735 cycles:u # 0,575 GHz
|
||||||
358.165.995 instructions:u # 1,12 insn per cycle
|
358.165.995 instructions:u # 1,12 insn per cycle
|
||||||
86.037.942 branches:u # 154,926 M/sec
|
86.037.942 branches:u # 154,926 M/sec
|
||||||
2.469.068 branch-misses:u # 2,87% of all branches
|
2.469.068 branch-misses:u # 2,87% of all branches
|
||||||
|
|
||||||
13,092775373 seconds time elapsed
|
13,092775373 seconds time elapsed
|
||||||
|
|
||||||
0,311565000 seconds user
|
0,311565000 seconds user
|
||||||
0,247491000 seconds sys
|
0,247491000 seconds sys
|
||||||
```
|
```
|
||||||
above run with `perf stat bin/paradiso_pong` shows some really bad performance issues.
|
above run with `perf stat bin/paradiso_pong` shows some really bad performance issues.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue