Delta-v/Content.Server/Chat
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
..
Commands Command resolves and LEC conversions batch 4 (#38382) 2025-06-19 02:03:28 +02:00
Managers Optimizations from server profile (#38290) 2025-07-26 11:44:34 +02:00
Systems fix: ghosts shouldn't see whisper obfuscation (#38202) 2025-07-14 00:30:53 -07:00
TypingIndicator Predict typing indicator (#29551) 2024-06-29 13:33:56 +10:00
V2 Toolshed refactor (#33598) 2024-12-21 17:45:48 +11:00
AnnounceOnSpawnComponent.cs nar'sie fake (#20299) 2023-12-06 20:24:33 -05:00
AutoEmoteComponent.cs Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
ChatUser.cs Fix erase verb not removing chat messages in some cases (#21355) 2023-11-05 19:19:59 -07:00
EmoteOnDamageComponent.cs Use new ComponentPauseGenerator (#25183) 2024-02-26 14:36:19 +11:00
SpeakOnTriggerComponent.cs Figures can now be activated remotely (#32769) 2024-12-16 19:52:09 +01:00
SuicideSystem.cs Clean up all missing `EntitySystem` proxy method uses (#38353) 2025-06-26 16:50:49 -07:00