mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 02:54:41 +01:00
A lot of perf micro-optimisations (#20188)
* Refactors Investigate Log * Speedup character loading * Optimise SSinstancing * Removes both path images * Optimises SSdebugview * CRLF --> LF * Update config/example/config.toml
This commit is contained in:
@@ -7,6 +7,10 @@ SUBSYSTEM_DEF(debugview)
|
||||
var/list/client/processing = list()
|
||||
|
||||
/datum/controller/subsystem/debugview/fire(resumed)
|
||||
// Dont generate text if no one is there to look at it
|
||||
if(!length(processing))
|
||||
return
|
||||
|
||||
// Generate debug text
|
||||
var/list/entries = list()
|
||||
entries += "CPU: [round(world.cpu, 1)] | MCPU: [round(world.map_cpu, 1)] | FPS/TPS: [world.fps] | Clients: [length(GLOB.clients)] | BYOND: [world.byond_version].[world.byond_build]"
|
||||
|
||||
Reference in New Issue
Block a user