ID:1669711
 
Keywords: byond, cpu, daemon, profiler
(See the best response by Ter13.)
My Task Manager is showing daemon at 40 cpu...
But my profiler is show'ing that the procs aren't taking up that much space. What am i suppose to do . What do you think could be causing this?
Best response
It's likely that you have procs running that started before you enabled the profiler, which are causing unprofiled CPU usage.

Your best bet would be to look at anything that runs regularly at world startup.
In response to Ter13
The game runs smooth and runs at 0 cpu for a while, then randomly jumps to 40 cpu out of nowhere after a couple hours of hosting. :(
Then it should be showing up in the profiler. Sort by total CPU to figure out what's running up the most CPU and optimize from there.
A thought: If you are hosting using Dream Seeker consider hosting with Dream Daemon instead, as it will provide a more accurate result.

Alternatively: The profiler may hide results from procs executed prior to the profiler being activated. Try rebooting the world while keeping the profiler activated to catch these normally hidden procs.
In response to Sir Lazarus
lol no hosting using daemon