# Fast-CrewAI Benchmark Report

> Generated: 2025-12-10 00:16:33 UTC

## Summary

| Metric | Value |
|--------|-------|
| Rust Acceleration | ✅ Available |
| Iterations | 300 |
| Average Improvement | 🚀 13.43x |

## Performance Improvements

| Component | Improvement |
|-----------|-------------|
| Memory Storage | 🚀 1.00x faster |
| Tool Execution | 🚀 17.34x faster |
| Serialization | 🚀 34.51x faster |
| Database | ⚠️ 1.16x slower |

## Memory Usage

| Component | Python | Rust | Savings |
|-----------|--------|------|---------|
| Memory Storage | 0.1 MB | 0.1 MB | ➡️ Same |
| Tool Execution | 1.2 MB | 0.0 MB | 🚀 99.2% less |
| Serialization | 8.0 MB | 3.4 MB | 🚀 57.7% less |
| Database | 0.1 MB | 0.1 MB | 🚀 30.8% less |

## Environment

| Component | Version |
|-----------|---------|
| Python | 3.12.3 |
| Platform | Linux-6.14.0-36-generic-x86_64-with-glibc2.39 |
| Fast-CrewAI | 0.1.0 |
| Rust Extension | available |

## Detailed Results

### Memory Storage

| Metric | Performance |
|--------|-------------|
| Save | Python: 541,201 ops/s | Rust: 541,666 ops/s |
| Search | Python: 667,584 ops/s | Rust: 674,161 ops/s |
| Memory | Python: 0.1 MB | Rust: 0.1 MB |

### Tool Execution

| Metric | Performance |
|--------|-------------|
| Execute | Python: 670 ops/s | Rust: 11,616 ops/s |
| Memory | Python: 1.2 MB | Rust: 0.0 MB |

### Serialization

| Metric | Performance |
|--------|-------------|
| Serialize | Python: 2,333 ops/s | Rust: 80,525 ops/s |
| Deserialize | Python: 3,531 ops/s | Rust: 51,525 ops/s |
| Memory | Python: 8.0 MB | Rust: 3.4 MB |

### Database Operations

| Metric | Performance |
|--------|-------------|
| Insert | Python: 484 ops/s | Rust: 416 ops/s |
| Query | Python: 1,262 ops/s | Rust: 1,586 ops/s |
| FTS Search | Python: 913 ops/s | Rust: 10,206 ops/s |
| Memory | Python: 0.1 MB | Rust: 0.1 MB |

## How to Reproduce

```bash
# Run benchmarks locally
uv run python scripts/test_benchmarking.py \
    --iterations 300 \
    --report-output BENCHMARK.md
```

## Notes

- Benchmarks compare Python implementations with Rust-accelerated implementations
- Higher improvement numbers indicate better Rust performance
- Results may vary based on hardware and system load
- The Rust extension must be built for acceleration to be available

---

*This report was automatically generated by the Fast-CrewAI benchmark suite.*
