Skip to main content

Module cross_module

Module cross_module 

Source
Expand description

§Cross-Module Performance Benchmarking Suite

This module provides comprehensive performance benchmarking capabilities for measuring and validating performance characteristics when multiple SciRS2 modules are used together. This is critical for 1.0 release to ensure that module integration doesn’t introduce unexpected performance regressions.

§Features

  • Cross-Module Operation Benchmarks: Measure performance when modules interact
  • Memory Efficiency Analysis: Track memory usage across module boundaries
  • Scalability Testing: Validate performance scaling with data size and module count
  • Regression Detection: Compare against baseline performance metrics
  • Real-World Scenarios: Test common scientific computing workflows
  • Performance Profiling: Detailed analysis of hotspots and bottlenecks

§Benchmarking Categories

§Data Pipeline Benchmarks

  • Linear Algebra → Statistics workflows
  • Signal Processing → FFT → Analysis pipelines
  • Data I/O → Processing → Output workflows
  • Machine Learning training pipelines

§Memory Efficiency Benchmarks

  • Zero-copy data sharing between modules
  • Memory-mapped array processing
  • Out-of-core computation workflows
  • Memory fragmentation analysis

§Scalability Benchmarks

  • Thread scaling across modules
  • Memory scaling with dataset size
  • Module count scaling
  • NUMA and multi-CPU performance

Structs§

BenchmarkSuiteResult
Benchmark suite result
CrossModuleBenchConfig
Cross-module performance benchmarking configuration
CrossModuleBenchmarkRunner
Cross-module benchmark runner
MemoryEfficiencyAnalysis
Memory efficiency analysis
PerformanceMeasurement
Performance measurement result
RegressionAnalysis
Regression analysis results
RegressionResult
Individual regression result
ScalabilityAnalysis
Scalability analysis results

Enums§

RegressionSignificance
Significance levels for performance changes

Functions§

create_default_benchmark_suite
Convenience function to create a default benchmark suite
run_quick_benchmarks
Convenience function to run quick benchmarks for CI/CD