By moving our logging to a DLL we see a drop in CPU/real time of 2-3 orders of magnitude. This is due to BYOND opening and closing file handles on every write, causing incredible amounts of unneeded overhead. The logging library also handles timestamps for us, further increasing performance gains.
This library will also allow for further offloading in the future, such as completely replacing file2text() and friends.
A pre-compiled DLL is bundled, but Linux users will have to compile manually. Directions can be found at the rust-g repo.
Log output is enhanced with millisecond time stamps:
[2018-04-01 15:56:23.522] blah blah blah
This includes runtimes as well, which benefit from the same timestamp improvements and no longer have hacky splitting code to add their own timestamps.
Log shutdown is handled in a dedicated proc called as late as possible, as rust-g integration expands this will be factored out into a generic native code shutdown proc.
* maps, tgui, tools
* defines and helpers
* onclick and controllers
* datums
fucking caught that hulk reversal too.
* game and shuttle modular
* module/admin
* oh god they fucking moved antag shit again
* haaaaate. Haaaaaaaaaate.
* enables moff wings
* more modules things
* tgstation.dme
before I forget something important
* some mob stuff
* s'more mob/living stuff
* some carbon stuff
* ayy lmaos and kitchen meat
* Human stuff
* species things
moff wings have a 'none' version too
* the rest of the module stuff.
* some strings
* misc
* mob icons
* some other icons.
* It compiles FUCK BORERS
FUCK BORERS
* Adds logging crew manifest to seperate file
* Coding blind
* i can spel words
* Not everyone in the lobby please.
* Proper header
* Fix
* Better format
* Garbage collection queuing rewriting
* Some Tweaks
* Fixes some queue tracking oddities
* More tweaks
* Remove the middle two queue steps. tis was a silly idea
* New logging.
We store logging datums for use in tracking the stats of shit qdeleted
Added logging for destroy time as well as hard delete time, per type. As well as a few others
* Fix compile for testing
* Does the cyberboss
* does the antur
* map tweaks/shuttle engines
* helpers and defines
* global/onclick
* controllers and datums
* mapping
* game folder
* some other stuff
* some modules
* modules that aren't mobs
* some mob stuff
* new player stuff
* mob living
* silicon stuff
* simple animal things
* carbon/ayylmao
* update_icons
* carbon/human
* sounds and tools
* icons and stuff
* hippie grinder changes + tgui
* kitchen.dmi
* compile issues fixed
* mapfix
* Mapfixes 2.0
* mapedit2.0
* mapmerger pls
* Revert "mapedit2.0"
This reverts commit 74139a3cacea10df7aafca06c0a10bd3daf3a481.
* clean up vore folder + 2 hotfixes
* admin ticket refinement
* Blob tweaks and LAZYADD
* LAZYADD IS LAZY
* Magic strings purged
* DEFINES NEED HIGHER PRIORITIES
* Only a sleepless idiot deals in absolute TRUE|FALSE
* u h g
* progress bar fix
* reverts ticket logs
* there's always that one guy
* fixes and stuff
* 2/27 fixes
* game folder stuff
* stats
* some modules again
* clothing stuff
gets vg clothing out of the main files
* everything not mobs again
* mob stuff
* maps, tgui, sql stuff
* icons
* additional fixes and compile errors
* don't need this anymore
* Oh right this isn't needed anymore
* maint bar re-added
* that doesn't need to be here
* stupid events
* wtfeven
* probably makes Travis happy
* don't care to fix the grinder atm
* fixes vending sprites, changes turret
* lethal, not lethals
* overylays are finicky creatures
* lazy fix for bleeding edgy (#252)
* map tweaks/shuttle engines
* helpers and defines
* global/onclick
* controllers and datums
* mapping
* game folder
* some other stuff
* some modules
* modules that aren't mobs
* some mob stuff
* new player stuff
* mob living
* silicon stuff
* simple animal things
* carbon/ayylmao
* update_icons
* carbon/human
* sounds and tools
* icons and stuff
* hippie grinder changes + tgui
* kitchen.dmi
* compile issues fixed
* mapfix
* Mapfixes 2.0
* mapedit2.0
* mapmerger pls
* Revert "mapedit2.0"
This reverts commit 74139a3cacea10df7aafca06c0a10bd3daf3a481.
* clean up vore folder + 2 hotfixes
* admin ticket refinement
* Blob tweaks and LAZYADD
* LAZYADD IS LAZY
* Magic strings purged
* DEFINES NEED HIGHER PRIORITIES
* Only a sleepless idiot deals in absolute TRUE|FALSE
* u h g
* progress bar fix
* reverts ticket logs
* there's always that one guy
* fixes and stuff
* 2/27 fixes
* game folder stuff
* stats
* some modules again
* clothing stuff
gets vg clothing out of the main files
* everything not mobs again
* mob stuff
* maps, tgui, sql stuff
* icons
* additional fixes and compile errors
* don't need this anymore
* Oh right this isn't needed anymore
* maint bar re-added
* that doesn't need to be here
* stupid events
* wtfeven
* probably makes Travis happy
* don't care to fix the grinder atm
* fixes vending sprites, changes turret
* lethal, not lethals
* overylays are finicky creatures