Skip to content

debug: profile Damage::Process internals (#3106)#3139

Merged
bylins merged 1 commit into
masterfrom
perf/profile-damage-process
Apr 11, 2026
Merged

debug: profile Damage::Process internals (#3106)#3139
bylins merged 1 commit into
masterfrom
perf/profile-damage-process

Conversation

@bylins
Copy link
Copy Markdown
Owner

@bylins bylins commented Apr 11, 2026

Add stepped profiler (threshold 3ms) to Damage::Process with 11 sections to find the 5-6ms bottleneck in ProcessExtradamage.

Profile sections: Validation, SetFighting, Shields, HandleAffects,
DamageTrigger, GainExp, ApplyDamage, PostDamage, Messages, DeathCheck.
Threshold 3ms to catch the 5-6ms spikes in ProcessExtradamage.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@bylins bylins merged commit 8959a87 into master Apr 11, 2026
20 checks passed
@bylins bylins deleted the perf/profile-damage-process branch April 11, 2026 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant