Cataclysm-dda: NPC performance (EPIC)

Created on 19 Nov 2020  Â·  6Comments  Â·  Source: CleverRaven/Cataclysm-DDA

Game is slow when there are multiple NPCs around.
This is an aggregate issue (EPIC) to track all npc-related performance improvements.

Related issues:

  • #42899
  • #27159

Baseline: Experimental build from Nov 13

Waiting Hub 01:
image

Refugee Center
image

Performance NPC / Factions [C++]

Most helpful comment

After: #45491

image

≈60% speedup from baseline (or x2.6)

All 6 comments

After:

  • #45423
  • #45424
  • #45444
  • #45445
  • #45446
  • #45461
  • #45462
  • #45463
  • #45346
  • #45426
  • #45481

Hub01:
image

≈42% speedup from baseline

After: #45491

image

≈60% speedup from baseline (or x2.6)

semi-top(offtop?):
About the game code - i found a good CDDA analysis via PVS-Studio, can it help at some way? More globally than this problem. (original link: https://habr.com/ru/company/pvs-studio/blog/449472/ )

@AnonimusC: Those are related to code quality, not speed. AND most if not all of those have already been fixed.

@AnonimusC , ZhilkinSerg commented on the original article and he regularly uses PVS-studio or similar static analysis tool to find and fix such issues.

@Zireael07, @Aivean
Impressive; didn't notice his comment, thank you.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

RogueYun picture RogueYun  Â·  3Comments

PlasmaChroma picture PlasmaChroma  Â·  3Comments

2birdie picture 2birdie  Â·  3Comments

Coolthulhu picture Coolthulhu  Â·  3Comments

Coolthulhu picture Coolthulhu  Â·  3Comments