Skip to content

Version 2.0.0

Choose a tag to compare

@swaritnarang swaritnarang released this 21 Jul 19:03
· 44 commits to main since this release
  • Added Performance Benchmarking

  • New --benchmark CLI flag for comprehensive system performance testing

  • Component-specific benchmarks: --benchmark --cpu, --benchmark --ram, --benchmark --disk

  • Programmatic access via statz.cpu_benchmark(), statz.mem_benchmark(), statz.disk_benchmark()

  • Performance scoring system with color-coded ratings (Excellent, Good, Fair, Poor)

  • CPU benchmark tests mathematical operations, Fibonacci calculations, and prime number generation

  • Memory benchmark tests large array operations and memory allocation speed

  • Disk benchmark measures read/write speeds with temporary file operations

  • CSV Export Functionality

    • New --csv CLI flag for exporting data to CSV format
    • Support for all data types: specs, usage, processes, health scores, benchmarks, temperatures
    • Smart CSV formatting with proper headers, units, and user-friendly structure
    • Hardware usage CSV includes component-wise data with appropriate units (MB, %, MB/s)
    • System specs CSV organizes data by component type with clear property-value pairs
    • Programmatic CSV export via statz.export_into_file(function, csv=True)
  • Rich Table Output

    • New --table CLI flag for beautiful, formatted table display
    • Professional table formatting using Rich library with rounded borders
    • Context-aware labeling (Process, Drive, Module, Interface, etc.)
    • Color-coded health scores and benchmark ratings in tables
    • Multi-component table support with organized sections
    • Special formatting for complex data types (GPU info, process lists, benchmark results)
  • Major Bug Fixes and Improvements

    • Fixed misleading RAM process reporting: Now shows absolute memory usage (MB/GB) instead of confusing percentages
    • Improved process filtering: Excludes system/idle processes, shows only meaningful active processes
    • Enhanced CPU usage accuracy: Properly caps CPU usage at 100% per process
    • Better Windows temperature detection: Multiple fallback methods, improved error handling
    • Enhanced CLI output formatting: Consistent formatting across all commands and data types
    • Improved error messages: More informative error messages when features aren't available
  • CLI Enhancements

    • Better argument parsing and validation
    • Improved help documentation with clearer descriptions
    • Enhanced process monitoring with --process-count and --process-type options
    • More robust error handling for unsupported features on different platforms
    • Consistent output formatting across all commands
  • API Improvements

    • Enhanced export_into_file() function with CSV support and parameter passing
    • Better function documentation and examples
    • Improved cross-platform compatibility
    • More reliable temperature sensor detection on Windows systems

Full Changelog: v1.1.1...v2.0.0