This repository has been archived on 2024-06-01. You can view files and clone it, but cannot push or open issues or pull requests.
rustboyadvance-ng/core
Michel Heily 21708a3d58 [perf] sysbus: Improve add_cycls()
Fulfill TODO from long ago, I used perf-record (--call-graph dwarf)  and detected that add_cycles() was hot enough,
I added 2 optimizations:
- Removed bound checks from array accesses
- Increase the LUT size to include dummy entries for open-bus to eliminate the if check

run_60_frames           time:   [183.65 ms 183.69 ms 183.73 ms]
                        change: [-9.4414% -9.2849% -9.1315%] (p = 0.00 < 0.05)
                        Performance has improved.


Former-commit-id: 1cbb596b856e604ad6c48eb0d47771e7cee44d1e
Former-commit-id: 9f15e35237f343d0c816fd9d51d81081736d9e17
2021-06-05 17:31:10 +03:00
..
benches core: Add performance benchmark 2020-11-05 15:40:39 -08:00
src [perf] sysbus: Improve add_cycls() 2021-06-05 17:31:10 +03:00
BENCHMARK.md core: Add performance benchmark 2020-11-05 15:40:39 -08:00
build.rs Everyday I'm ~~shuffeling~~ refactoring. 2020-10-17 06:36:02 -07:00
Cargo.toml [perf] core: gpu: Refactor to use unpacked mmio configuration during rendering 2020-11-06 06:26:00 -08:00
overrides.yaml Refactor dir rustboyadvance-core -> core 2020-05-30 13:43:37 +03:00