Technical Guide

Technical Guide

Our JSON Lines Carry Less Than ripgrep’s –json — Wide Field Part 11: Three Fixed Keys, and –tune Measures the Thread Count (6.33 to 16.41 GB/s From 1 to 8)

cut -d: broke. It was splitting search output into a filename and a line number, and the drive letter in C:/lo…
Technical Guide

Writing gz Without Piping rg Into gzip — Wide Field Part 10: 117.20 s to 11.89 s on 50 GB, and Level With ripgrep at 3 GB

The shape did not come back. A log kept as bz2, searched, and the result wanted as bz2 again. Seven compressio…
Technical Guide

ripgrep Cannot Search an OpenStreetMap pbf — Wide Field Part 6: 148 s Through osmium, 29.3 s Direct, 6.8 s From the Second Query On

Two and a half minutes of waiting. That is one query: osmium cat expands an OpenStreetMap pbf into XML, rg rea…
Technical Guide

ripgrep Does Not Look Inside a zip — Wide Field Part 5: 18.4 s to Unzip and Search, 3.3 s Handing It the Archive, 0.6 s on the Second Query

Zero matches. Hand rg a zip and it will not look inside. Exit code 1. If your logs are archived, you have to e…
Technical Guide

ripgrep’s -g Can Exclude Files; Ours Cannot Yet — Wide Field Part 8: Why a File Pattern Is One Quoted Argument, and the Five Things We Fixed

Forget the quotes and it refuses. Type uvf .log ERROR and you get an error telling you to quote the pattern. r…
Technical Guide

xz Alone Was 6.19x Slower Than ripgrep -z — Wide Field Part 2: Seven Formats, No External Commands

[Update 2026-10-04] On Windows, ripgrep was faster on some compressed formats "Zero items lost by 1.5× or more…
Technical Guide

Bundling Costs 1.58x Against ripgrep on Pass One — Wide Field Part 4: 9.77 s After That, and No Rebuild When a File Vanishes

One of them was gone. A source file behind the index I had built to search the whole pile. app.log.9.gz had ag…
Technical Guide

We Matched ripgrep’s Ignore Rules — Wide Field Part 7: 43 Checks Agree on Three OSes, and the One Rule We Refused to Copy

The counts did not match. The same directory, handed to rg --files and to my own CLI, produced two different f…
Technical Guide

12 Plain and gzip Files in One Command — Wide Field Part 1: 1.62x Behind ripgrep, Then 2.42x Ahead, and Never on Plain Text

[Update 2026-10-04] v1.7.3.6.8 made the second (hot) run faster "On five plain files, uvf is the slower side o…
Technical Guide

Searching Compressed Logs Against ugrep, ripgrep and zgrep — On Par the First Time, 0.11–0.12 s in Every Format the Second

[Update 2026-10-04] In v1.7.3.6.9, five plain files are on par too (uvf slightly ahead) "Searching several pla…