benchmark-functions

Community

Measure function performance for critical optimizations.

Authormvillmow
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Identifying performance bottlenecks and comparing different algorithm implementations requires systematic and accurate measurement, which can be complex to set up manually.

Core Features & Use Cases

  • Systematic Measurement: Measures function execution time, memory usage, and performance characteristics with warm-up iterations and statistical analysis.
  • Implementation Comparison: Allows direct comparison of different algorithm implementations or performance before/after optimization.
  • Use Case: When evaluating two different implementations of a matrix multiplication algorithm, use this skill to benchmark both, providing mean, median, and standard deviation of execution times to determine the faster approach.

Quick Start

Use the benchmark-functions skill to benchmark a Python function 'module.function(args)' for 1000 iterations.

Dependency Matrix

Required Modules

python3mojo

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: benchmark-functions
Download link: https://github.com/mvillmow/ProjectOdyssey/archive/main.zip#benchmark-functions

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository