RiedleroD/BASAV

Get FPS and UPS up to 60 when handling 2048 items

RiedleroD opened this issue · 3 comments

Newest on top:
commit fd3fe1274d60756ecfcbe3eb525955ecfa8ca26e
Greatly improved audio playback quality and performance
UPS|FPS
59|59 Without Load
(Sound OFF)
48|24 Merge Sort
55|34 Radix LSD 10
28|14 Radix LSD 10 OOP
(Sound ON)
40|23 Merge Sort
48|31 Radix LSD 10
25|14 Radix LSD 10 OOP

commit a4c499acfcb00dfeea62d0b488c4886108ac679c
Added a button to disable audio and a better way to get the average UPS/FPS
UPS|FPS
59|59 Without Load
(Sound OFF)
58|56 Bubble Sort
47|24 Merge Sort
56|35 Radix LSD 10
29|14 Radix LSD 10 OOP
(Sound ON)
32|16 Merge Sort
37|19 Radix LSD 10
22|14 Radix LSD 10 OOP

commit 5339da37ef1e2343c8fa91659cf63acddaf7da4e
I changed the wact/ract rendering system from setting all possible vertices and then assigning the colors when needed to generate an amount of verteces in the correct x positions below the screen and updating the y corrdinates when needed.
UPS|FPS
59|59 Without Load
40|25 Bubble Sort
30|17 Merge Sort
35|16 Radix LSD 10
23|13 Radix LSD 10 OOP

commit 7d74706a3926c7ea480eee2d0f20d21931ced469
added somewhat capable audio playback here
UPS|FPS
59|59 Without Load
38|24 Bubble Sort
30|14 Merge Sort
37|17 Radix LSD 10
18|10 Radix LSD 10 OOP

commit 40b01d61286e6377748172185b765334af01c082
"much much faster rendering system"
UPS|FPS
59|59 Without Load
58|49 Bubble Sort
40|20 Merge Sort
50|25 Radix LSD 10
25|12 Radix LSD 10 OOP

currently
UPS|FPS
58|29 on startup
48|24 worst-case-performance
60|60 after sorting once for some reason??

which is acceptable, considering I have a pentium and you can always just lower the amount of items (not yet, but before 0.1 release). But I will try and get this issue solved anyway.

I deem this issue impossible to fix. I am a coward for this, but I won't continue trying to pretend like I know how to make this any faster.
Also I believe my integrated graphics are just struggling with the workload, and there's nothing I can do about that one.