Files
crystall-punk-14/Content.Server
Pieter-Jan Briers 444180c20d Optimizations from server profile (#38290)
* Properly cache regexes in chat sanitization/accents

Wow I wonder if `new Regex()` has a cost to it *looks at server profile*.

* Avoid lag caused by Tippy command completions

CompletionHelper.PrototypeIDs explicitly says *not* to use it with EntityPrototype. Unsurprisingly, reporting a completion result for every entity prototype in the game is a *bad idea*.

* Add active count metrics to some high-load systems

Mover & NPCs

I suspect the thing that caused the Leviathan round to shit itself on performance is NPC spam in space or something. So let's verify that.

* Enable parallel processing on pow3r again

Originally disabled due to a theory of it causing bugs, it was re-enabled on Vulture, and I'm not aware of it having caused any issues there.

* Replace hashset with bitflags for AtmosMonitor alert types.

Allocating these hashsets was like 20% of the CPU of atmos, somehow.

* Cache HashSet used for space movement collider checks

Turns out this was a ton of server allocations. Huh.
2025-07-26 11:44:34 +02:00
..
2025-06-21 11:23:19 -04:00
…
2025-06-23 02:40:55 +02:00
2025-07-17 12:46:38 -04:00
2024-08-25 22:18:42 +10:00
2025-04-18 13:45:48 +10:00
2025-04-19 11:38:22 +10:00
2025-04-19 16:20:40 +10:00
2025-07-13 21:35:47 -07:00
2025-06-21 11:23:19 -04:00
2025-02-14 16:46:25 +01:00
2025-06-05 19:28:55 -04:00
2025-06-21 11:23:19 -04:00
2025-06-23 13:32:56 +02:00
2025-03-13 10:09:07 -07:00
2025-05-20 01:08:55 -04:00
2025-06-25 15:13:03 +02:00
2025-04-10 22:19:48 -07:00
2025-04-25 16:53:50 -04:00
2025-07-03 20:48:04 +02:00
…
…
2025-02-18 23:27:30 +11:00
2025-04-23 16:55:35 -07:00
2024-08-25 22:18:42 +10:00
2025-07-03 20:48:04 +02:00
2025-06-21 11:23:19 -04:00
2025-04-19 16:20:40 +10:00
2025-07-19 15:10:38 -07:00
2025-04-19 16:20:40 +10:00
2025-06-07 17:51:38 +02:00
2025-04-19 16:20:40 +10:00
2024-08-28 10:57:12 +10:00
2025-07-17 12:34:00 -04:00
2025-04-13 15:22:36 +02:00
2025-07-03 20:48:04 +02:00
2025-05-16 14:22:20 +02:00
2025-06-25 15:13:03 +02:00
2025-07-10 04:39:34 +02:00
2025-06-23 02:40:55 +02:00