Skip to main content

Manim Quality Stress Testing Tool

Project description

Maniq - Manim Quality Stress Testing Tool

Maniq is a comprehensive stress testing tool for Manim that helps you determine the maximum concurrent rendering capacity of your server across different quality levels.

Features

  • Multi-quality support: Test low (480p), medium (720p), high (1080p), 2K (1440p), and 4K (2160p) quality levels
  • Intelligent resource management: Dynamically adjusts concurrency based on CPU usage to prevent server crashes
  • Detailed video analysis: Measures render time, video duration, and file sizes
  • Flexible configuration: Customizable task launch intervals and quality selection
  • Comprehensive reporting: Generates detailed text and JSON reports with performance statistics

Installation

pip install -U maniq

Usage

# Test all quality levels with default settings
maniq /path/to/manim/code

# Test specific quality levels with custom interval
maniq /path/to/manim/code --qualities high 4k --launch-interval 2.0

# Custom output directories and test duration
maniq /path/to/manim/code --output-dir my_output --max-duration 1200

Command Line Options

  • --qualities: Select quality levels to test (low, medium, high, 2k, 4k)
  • --launch-interval: Time interval between task launches (default: 1.0 seconds)
  • --max-duration: Maximum test duration per quality level in seconds (default: 1800)
  • --output-dir: Render output directory (default: manim_quality_output)
  • --log-output-dir: Task log directory (default: manim_task_logs)
  • --report-file: Text report filename (default: manim_quality_test_report.txt)
  • --json-report: JSON report filename (default: manim_quality_test_results.json)
  • --log-file: Main log filename (default: manim_quality_stress_test.log)

Requirements

  • Python 3.10+
  • Manim
  • psutil
  • ffprobe (optional, for detailed video analysis)

License

Apache2.0 License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

maniq-3.2.0.tar.gz (31.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

maniq-3.2.0-py3-none-any.whl (33.1 kB view details)

Uploaded Python 3

File details

Details for the file maniq-3.2.0.tar.gz.

File metadata

  • Download URL: maniq-3.2.0.tar.gz
  • Upload date:
  • Size: 31.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for maniq-3.2.0.tar.gz
Algorithm Hash digest
SHA256 f78c7de0d94879bb9fa5a19901d549a80e9f8bdd2b6a26fd9fae0488e705fe10
MD5 892c3ca9a069f85c1c94bfb9903f2d99
BLAKE2b-256 f153f5559b8f812489c2a43b7366c37d606974513d3af9fa2fd7e8ec834c9670

See more details on using hashes here.

File details

Details for the file maniq-3.2.0-py3-none-any.whl.

File metadata

  • Download URL: maniq-3.2.0-py3-none-any.whl
  • Upload date:
  • Size: 33.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for maniq-3.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 48dac44de460c5b49af4358e7ef782531af9e8011254a0ddc33894cc463ccad8
MD5 24ed6358ba786dec0093935b7fc762eb
BLAKE2b-256 5fe8a30edda3d002c1b23c114b8b630703e510d9620bab706893ffbcacc59e67

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page