Skip to content

Conversation

@xImoZA
Copy link

@xImoZA xImoZA commented Dec 11, 2025

This PR adds performance benchmarks for the core, distributions, and estimators modules using Airspeed Velocity (asv) and includes several bug fixes and stability improvements.

Benchmarks:

  • Module Coverage: Implemented benchmark suites for the following components:
    • core: Speed and memory tracking for MixtureModel methods.
    • distributions: Speed and memory tracking for distribution methods and Parameter descriptor overhead.
    • estimators: Speed and memory tracking for E-/M-steps and ECM fit method (analytical solution).

Fixes & Improvements:

  • Numerical Stability: Prevented log(0) errors in E-/M-steps and integrated handle_numerical_overflow logic into the Pareto Q-function.
  • Core Methods: Fixed behavior in MixtureModel .copy() and .astype() methods.
  • Pipeline.fit: Fixed correct state update logic during pruning (sequential index updates).
  • Documentation: Corrected docstrings for Beta, Cauchy and Uniform distributions.
  • Docs Formatting: Fixed formatting syntax errors to restore correct Sphinx documentation generation.
  • Testing: Added tests covering these fixes and numerical edge cases.

Documentation:

  • Usage Guide: Added benchmarks/README.md providing instructions for environment setup, development runs, and regression testing.

@xImoZA xImoZA self-assigned this Dec 11, 2025
@xImoZA xImoZA marked this pull request as draft December 11, 2025 23:32
@xImoZA xImoZA linked an issue Dec 11, 2025 that may be closed by this pull request
@xImoZA xImoZA marked this pull request as ready for review December 14, 2025 22:48
iraedeus
iraedeus previously approved these changes Dec 18, 2025
@xImoZA xImoZA marked this pull request as draft December 23, 2025 18:58
@xImoZA xImoZA force-pushed the chore/asv-benchmark branch from 9737540 to 23519fa Compare December 24, 2025 01:09
@iraedeus iraedeus self-requested a review January 17, 2026 13:01
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.

CHORE: Add benchmark workflows with airspeed velocity (asv)

3 participants