Skip to content

World stats details can be configured#390

Draft
mlange-42 wants to merge 12 commits intomainfrom
stats-options
Draft

World stats details can be configured#390
mlange-42 wants to merge 12 commits intomainfrom
stats-options

Conversation

@mlange-42
Copy link
Copy Markdown
Owner

@mlange-42 mlange-42 commented Oct 6, 2025

Allows to omit tables or archetypes from the stats. Do we really need this?

Does not break regular user code, but changes the function signature of World.Stats by adding optional varargs.

  • Speeds up generating (or rather, updating) stats by approx. 30%
  • Cuts down the size of e.g. JSON of the stats to <300B
    • From 16kB for 64 archetypes
    • From 280kB for 1024 archetypes

@mlange-42 mlange-42 self-assigned this Oct 6, 2025
@mlange-42 mlange-42 added feature Feature ideas and requests breaking-change Breaking changes labels Oct 6, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented Oct 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (bf63133) to head (e35a5c8).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #390   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           39        39           
  Lines         9282      9343   +61     
=========================================
+ Hits          9282      9343   +61     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mlange-42 mlange-42 removed the breaking-change Breaking changes label Oct 17, 2025
@mlange-42 mlange-42 added the breaking-change Breaking changes label Oct 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change Breaking changes feature Feature ideas and requests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant