Commit Graph

6 Commits

Author SHA1 Message Date
Letter N
f28363ae56 code quality 2020-12-29 11:12:56 +08:00
silicons
ea21151462 LF 2020-12-20 18:55:45 -07:00
Kyle Spier-Swenson
da527e2742 Remove rusty from tgs3.json (#37404) 2018-04-24 04:21:37 -05:00
Bjorn Neergaard
f56e139fda Use a rust DLL for logging (#36858)
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.
2018-04-10 17:02:44 -05:00
Kyle Spier-Swenson
d9a0133a96 Switches database connector over to mariadb (#34708) 2018-01-21 21:16:37 -06:00
Jordan Brown
116041d621 Server tools API v3.1 2017-09-28 22:20:46 -05:00