{"repo":"stefanoamorelli/crabrl","free":true,"listed":false,"github":"https://github.com/stefanoamorelli/crabrl","clone":"git clone https://github.com/stefanoamorelli/crabrl.git","description":"Rust XBRL parser that's 50-150x faster than traditional parsers. Built for speed and accuracy when processing SEC EDGAR filings.","language":"Rust","stars":13,"topics":["finance","high-performance","parser","rust","sec-edgar","xbrl","accounting","cli","edgar","financial-data"],"license":"AGPL-3.0","category":"cli-tools","readme_excerpt":"crabrl 🦀 Lightning-fast XBRL parser that's 50-150x faster than traditional parsers, built for speed and accuracy when processing SEC EDGAR filings. Performance Speed Comparison 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 provide comprehensive XBRL specification support and extensive validation capabilities, crabrl focuses on high-performance parsing for scenarios where speed is critical. Implementation Details Optimization Impact Technology ------------- --------- ------------ Zero-copy parsing -90% memory allocs quick-xml with string slicing No garbage collection Predictable latency Rust's ownership model Faster hashmaps 2x lookup speed ahash instead of default hasher Compact strings -50% memory for small strings compact str Parallelization 4-8x on multicore rayon work-stealing Memory mapping Zero-copy file I/O memmap2 Better allocator -25% allocation time mimalloc Benchmark results: 100,000 XBRL facts parsed in 56ms (crabrl) vs 2,672ms (Arelle) on identical hardware. XBRL Support Status Feature Description Status --------- ------------- --------- XBRL 2.1 Instance Parse facts, contexts, units from .xml files ✅ Stable SEC Validation EDGAR-specific rules and checks ✅ Stable Calculation Linkbase Validate arithmeti","default_branch":null,"files":null,"tree":[],"storefront":"/r/stefanoamorelli","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/stefanoamorelli/crabrl/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}