Skip to content

Conversation

@GregHib
Copy link
Owner

@GregHib GregHib commented Jan 3, 2026

~63% faster when 2k networked bots in lumbridge (480ms -> 150ms)
~100ms tick when 2k bots spread across the map

  • Optimised player + npc tracking with new CharacterMap flattened linked list
  • PlayerUpdateTask encoding loop flattening

@github-actions
Copy link
Contributor

github-actions bot commented Jan 3, 2026

Qodana Community for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

@codecov
Copy link

codecov bot commented Jan 3, 2026

Codecov Report

❌ Patch coverage is 50.83333% with 59 lines in your changes missing coverage. Please review.
✅ Project coverage is 37.67%. Comparing base (db4f6bb) to head (1066c1c).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...ps/engine/client/update/player/PlayerUpdateTask.kt 34.78% 14 Missing and 16 partials ⚠️
...s/voidps/engine/entity/character/player/Players.kt 23.52% 13 Missing ⚠️
...d/gregs/voidps/engine/entity/character/npc/NPCs.kt 40.00% 12 Missing ⚠️
...s/voidps/engine/client/update/npc/NPCUpdateTask.kt 75.00% 0 Missing and 1 partial ⚠️
...kotlin/world/gregs/voidps/engine/data/SaveQueue.kt 0.00% 1 Missing ⚠️
...ld/gregs/voidps/network/login/protocol/Encoders.kt 0.00% 1 Missing ⚠️
.../login/protocol/visual/update/player/Appearance.kt 0.00% 1 Missing ⚠️
Additional details and impacted files
Files with missing lines Coverage Δ
...oidps/engine/entity/character/CharacterIndexMap.kt 100.00% <100.00%> (ø)
game/src/main/kotlin/GameTick.kt 77.58% <100.00%> (ø)
game/src/main/kotlin/content/entity/Movement.kt 76.78% <100.00%> (+0.42%) ⬆️
...s/voidps/engine/client/update/npc/NPCUpdateTask.kt 66.01% <75.00%> (+0.97%) ⬆️
...kotlin/world/gregs/voidps/engine/data/SaveQueue.kt 33.33% <0.00%> (ø)
...ld/gregs/voidps/network/login/protocol/Encoders.kt 0.00% <0.00%> (ø)
.../login/protocol/visual/update/player/Appearance.kt 0.00% <0.00%> (ø)
...d/gregs/voidps/engine/entity/character/npc/NPCs.kt 60.83% <40.00%> (+1.70%) ⬆️
...s/voidps/engine/entity/character/player/Players.kt 48.83% <23.52%> (-11.88%) ⬇️
...ps/engine/client/update/player/PlayerUpdateTask.kt 59.83% <34.78%> (-4.74%) ⬇️

... and 2 files with indirect coverage changes

@@             Coverage Diff              @@
##               main     #822      +/-   ##
============================================
+ Coverage     37.64%   37.67%   +0.03%     
- Complexity     7387     7390       +3     
============================================
  Files          1486     1486              
  Lines         58440    58500      +60     
  Branches      14597    14603       +6     
============================================
+ Hits          21997    22039      +42     
- Misses        31576    31584       +8     
- Partials       4867     4877      +10     
Components Coverage Δ
Content 34.82% <100.00%> (-0.01%) ⬇️
Engine 44.68% <50.86%> (+0.09%) ⬆️
Network 60.64% <0.00%> (+0.32%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@GregHib GregHib merged commit 8f1e7df into main Jan 3, 2026
5 checks passed
@GregHib GregHib deleted the performance branch January 3, 2026 19:28
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.

2 participants