TIC-80: 0.80 running quite slower than 0.70.6
Yesterday I tried 0.80.1344 and I immediately noticed a considerable difference in one of my games:
0.70.6 (~55fps)

0.80 (~30fps)

I haven’t tested this on previous 0.80 versions. Only the latest.
I don’t know if this is a TIC-80 problem or a problem on my end. It’s possible that this is caused by my ATI Radeon HD 4070 being old and no longer well supported by TIC-80. If this happens to more people, then it’s probably not a problem on my end.
I created the small test below. Timing that empty loop in 0.70.6 I get on average ~49.5ms, while on 0.80 it’s ~69.5ms.
local fmt=string.format
local t=0
local total=0
function TIC()
t=t+1
cls()
local t1=time()
for i=1,5000000 do
--deliberately empty
end
local t2=time()-t1
print(fmt("time - %.2fms",t2),0,8,15,true)
-- average
total=total+t2
print(fmt("average - %.2fms",total/t),0,24,14,true)
end
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 27 (19 by maintainers)
Commits related to this issue
- #1205: changes for cmake 3.20 — committed to nesbox/TIC-80 by nesbox 3 years ago
- #1205: build x64 by default for Windows — committed to nesbox/TIC-80 by nesbox 3 years ago
- #1205: added separate build for WinXP — committed to nesbox/TIC-80 by nesbox 3 years ago
Confirmed fixed, performance in 0.90.1554 is now back on par with 0.80.1345. (The performance is still worse than 0.70.6, tho!)
@joshgoebel On the build page, scroll down to Artifacts. Those are all downloadable builds. The name “artifacts” is admittedly quite obscure, and you have to be logged in to be able to download them (or even see that those listed artifacts are clickable links).
Oh, good news, it’s actually slightly faster than 0.70!
I wasn’t quite sure which to download, but I downloaded
workflows/build/main/tic80-winxp.zip, and mycompute_genfunction is actually about a millisecond faster in that one, so it’s at 60 fps as well while stressing it.Just updated the export files to the latest version. I think we can close the issue, thanks all for the help.
The problem was with the updated CMake 3.20 Fixed here 16f1463
Hmm, on my side it takes 2.3Mb only
Something happened with the Github Actions, I’ll try to investigate it soon.
Thanks.
I’ll try to analyze it in the profiler.