Skip to content

debug: profile ProcessDeath/raw_kill internals (#3106)#3141

Merged
bylins merged 1 commit into
masterfrom
perf/profile-death-chain
Apr 11, 2026
Merged

debug: profile ProcessDeath/raw_kill internals (#3106)#3141
bylins merged 1 commit into
masterfrom
perf/profile-death-chain

Conversation

@bylins
Copy link
Copy Markdown
Owner

@bylins bylins commented Apr 11, 2026

DeathCheck takes 3-4ms (78-86%) in Damage::Process. Need to find which part of the death chain is slow. Added 1ms threshold profilers to ProcessDeath and raw_kill.

ProcessDeath: FindKiller, GroupGain, PkLogs, die (threshold 1ms)
raw_kill: SpellCapable, CombatList, ResetAffects, DeathTrigger, RealKill (threshold 1ms)

DeathCheck takes 3-4ms in Damage::Process - need to find which
part of the death chain is slow.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@bylins bylins merged commit 1f12474 into master Apr 11, 2026
18 of 19 checks passed
@bylins bylins deleted the perf/profile-death-chain branch April 11, 2026 10:31
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