07-10-2011, 03:32 PM
Hi all;
I recently switched all of my works to Linux, to use the editors in a more efficient way (I got bored of Windows actually), and then while my roommate was playing a level, I noticed there's a huge fps slowdown. It was like 7 FPS. I tried it on Windows and it was nearly same.
I noticed that if I comment out some timer codes, game works fluently again... My code involved 18 different timer with each 0.1 calling time over and over. Means 360 timer calls in one second. How many call engine can handle?
TL;DR: How many timers can I use in one second?
I recently switched all of my works to Linux, to use the editors in a more efficient way (I got bored of Windows actually), and then while my roommate was playing a level, I noticed there's a huge fps slowdown. It was like 7 FPS. I tried it on Windows and it was nearly same.
I noticed that if I comment out some timer codes, game works fluently again... My code involved 18 different timer with each 0.1 calling time over and over. Means 360 timer calls in one second. How many call engine can handle?
TL;DR: How many timers can I use in one second?