feat: add performance benchmark visualizations

- Create comprehensive benchmark charts showing 50-150x speed advantage
- Add performance comparison with traditional XBRL parsers
- Include memory usage and scalability metrics
- Update README with benchmark images
- Add Python scripts for generating benchmark visualizations
This commit is contained in:
Stefano Amorelli
2025-08-17 14:37:05 +03:00
parent f29f1203aa
commit 68e491ab70
3 changed files with 529 additions and 0 deletions

View File

@@ -7,8 +7,24 @@
[![Downloads](https://img.shields.io/crates/d/crabrl.svg)](https://crates.io/crates/crabrl)
[![docs.rs](https://docs.rs/crabrl/badge.svg)](https://docs.rs/crabrl)
![crabrl Performance](benchmarks/header.png)
Lightning-fast XBRL parser that's **50-150x faster** than traditional parsers, built for speed and accuracy when processing [SEC EDGAR](https://www.sec.gov/edgar) filings.
## Performance
![Performance Benchmarks](benchmarks/performance_charts.png)
### Speed Comparison
![Speed Comparison](benchmarks/speed_comparison_clean.png)
**Key Performance Metrics:**
- **50-150x faster** than traditional XBRL parsers
- **140,000+ facts/second** throughput
- **< 50MB memory** for 100K facts
- **Linear scaling** with file size
## Technical Architecture
crabrl is built on Rust's zero-cost abstractions and modern parsing techniques. While established parsers like [Arelle](https://arelle.org/) provide comprehensive XBRL specification support and extensive validation capabilities, crabrl focuses on high-performance parsing for scenarios where speed is critical.