[KongchangAI]
Product

Chunkr

A high-performance text chunking library implemented in Rust, supporting multiple chunking strategies including character-based, recursive, Markdown, lazy, and hierarchical chunking. It includes a built-in PDF loader and achieves significantly higher throughput compared to mainstream Python-based chunking tools.

Timeline (last 90 days)

Oct 5

Chunkr is a text chunking library implemented in Rust that supports multiple chunking strategies including character chunking, recursive chunking, Markdown heading chunking, late chunking, and hierarchical chunking, and includes a native PDF loader and support for other file types.

Unverified50%
Oct 5

In the recursive chunking benchmark (1MB, 1000/200), Chunkr achieved 2,264 MB/s, LangChain achieved 769 MB/s, LlamaIndex only 10 MB/s, and Chonkie 225 MB/s.

Unverified50%
Oct 5

In the BPE tokenization (cl100k_base, 512/50) scenario, Chunkr achieved 38 MB/s, while Chonkie led at 151 MB/s.

Unverified50%
Oct 5

In the full PDF parsing test, Chunkr PDFLoader took 747.9 ms (2,762 pages/second), which is 15.9× faster than the baseline pypdf and 4.5× faster than PyMuPDF.

Unverified50%
Oct 5

All benchmarks were conducted on the author's MacBook (M4 chip, 16GB RAM) as a single machine, with no third-party reproduction.

Unverified50%
Oct 5

Chunkr's benchmarks only measure throughput (MB/s) and do not provide comparative metrics for chunking accuracy or recall.

Unverified50%
Oct 5

Chonkie has been specifically optimized for tiktoken integration, while Chunkr has not yet reached the same level of adaptation at the tokenizer call layer, which is the reason Chunkr lags behind in the BPE scenario.

Unverified50%

All Facts (7)

Source Articles