Delta-v/Content.Server/Speech/EntitySystems
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
..
AddAccentClothingSystem.cs Clean up all missing `EntitySystem` proxy method uses (#38353) 2025-06-26 16:50:49 -07:00
BackwardsAccentSystem.cs Accents Event to Shared (#38948) 2025-07-12 22:52:51 +02:00
BarkAccentSystem.cs Accents Event to Shared (#38948) 2025-07-12 22:52:51 +02:00
BleatingAccentSystem.cs Accents Event to Shared (#38948) 2025-07-12 22:52:51 +02:00
BlockListeningSystem.cs Hackable intercoms (#23984) 2024-01-14 16:37:28 +11:00
DamagedSiliconAccentSystem.cs Accents Event to Shared (#38948) 2025-07-12 22:52:51 +02:00
EmoteBlockerSystem.cs Component for clothes to suppress emotes and scream action in general, and the muzzle to suppress vocal emotes in particular (#32588) 2025-07-11 13:18:15 -04:00
FrenchAccentSystem.cs Accents Event to Shared (#38948) 2025-07-12 22:52:51 +02:00
FrontalLispSystem.cs Accents Event to Shared (#38948) 2025-07-12 22:52:51 +02:00
GermanAccentSystem.cs Accents Event to Shared (#38948) 2025-07-12 22:52:51 +02:00
ListeningSystem.cs Stealthier whispers (#17898) 2023-08-01 17:43:02 +03:00
LizardAccentSystem.cs Accents Event to Shared (#38948) 2025-07-12 22:52:51 +02:00
MeleeSpeechSystem.cs Move ActorComponent to shared (#21293) 2023-10-29 04:21:02 +11:00
MobsterAccentSystem.cs Accents Event to Shared (#38948) 2025-07-12 22:52:51 +02:00
MonkeyAccentSystem.cs Accents Event to Shared (#38948) 2025-07-12 22:52:51 +02:00
MothAccentSystem.cs Accents Event to Shared (#38948) 2025-07-12 22:52:51 +02:00
MumbleAccentSystem.cs Accents Event to Shared (#38948) 2025-07-12 22:52:51 +02:00
OwOAccentSystem.cs Accents Event to Shared (#38948) 2025-07-12 22:52:51 +02:00
ParrotAccentSystem.cs Accents Event to Shared (#38948) 2025-07-12 22:52:51 +02:00
PirateAccentSystem.cs Accents Event to Shared (#38948) 2025-07-12 22:52:51 +02:00
RatvarianLanguageSystem.cs Accents Event to Shared (#38948) 2025-07-12 22:52:51 +02:00
ReplacementAccentSystem.cs Optimizations from server profile (#38290) 2025-07-26 11:44:34 +02:00
RussianAccentSystem.cs Accents Event to Shared (#38948) 2025-07-12 22:52:51 +02:00
ScrambledAccentSystem.cs Accents Event to Shared (#38948) 2025-07-12 22:52:51 +02:00
SkeletonAccentSystem.cs Accents Event to Shared (#38948) 2025-07-12 22:52:51 +02:00
SlowAccentSystem.cs Accents Event to Shared (#38948) 2025-07-12 22:52:51 +02:00
SlurredSystem.cs Accents Event to Shared (#38948) 2025-07-12 22:52:51 +02:00
SouthernAccentSystem.cs Accents Event to Shared (#38948) 2025-07-12 22:52:51 +02:00
SpanishAccentSystem.cs Accents Event to Shared (#38948) 2025-07-12 22:52:51 +02:00
SpeakOnActionSystem.cs Refactor magic speak system to be a component added to actions (#36328) 2025-05-04 13:34:19 -04:00
StutteringSystem.cs Accents Event to Shared (#38948) 2025-07-12 22:52:51 +02:00
UnblockableSpeechSystem.cs Borgs can now speak while in Crit (#21802) 2023-12-01 19:25:20 -05:00
VocalSystem.cs Stop network serializing prototypes (#38602) 2025-06-26 19:27:23 -04:00
VoiceOverrideSystem.cs Voice Mask refactor (#30798) 2024-09-26 18:55:59 +02:00