Reproducible Benchmarks · Scripts Included

LogRAM Performance Benchmarks

Transparent, reproducible measurements comparing LogRAM's in-memory SIMD engine, LogRAM-mcp stdio JSON-RPC server, and ripgrep across 100 MB, 1 GB, and 5 GB log files — including full RAM disclosure.

Automated Suite Results (100 MB / 1 GB / 5 GB)

Measured on Intel(R) Core(TM) Ultra 7 270K Plus (24C/24T) · 63.4 GiB RAM · Microsoft Windows 11 专业版 (10.0.26300) · .NET SDK 11.0.100-rc.1.26425.128 (warm OS page cache, deterministic UTF-8 logs).

1. LogRAM In-Memory Engine: Load, 100x Repeated Search & RAM

File SizeLinesInitial LoadSingle Search100x Repeated Total100x MedianThroughputRegexWorking Set / Peak
100 MB862,06879.11 ms39.61 ms3886.2 ms52.2 ms2.57 GB/s95.2 ms142.5 / 168.3 MiB
1 GB8,620,675653.28 ms45.44 ms2747 ms36.46 ms36.4 GB/s856.28 ms1162.9 / 1191.2 MiB
5 GB43,103,3742965.82 ms211.64 ms14001.66 ms197.65 ms35.71 GB/s2998.99 ms5696.7 / 5726.4 MiB

2. Repeated Query Workload: LogRAM vs ripgrep 15.2.0

Match counts were verified 100% identical against ripgrep 15.2.0 across plain, case-insensitive, and regex queries. Streaming tools excel at one-shot scans, whereas LogRAM compounds its speed advantage across repeated interactive searches while openly reporting RAM footprint and single-pass regex trade-offs.

File SizeToolSingle PlainSingle CIRegexRepeated Median100-Query Total (Incl. 1x Load)
100 MBLogRAM39.61 ms87.9 ms95.2 ms52.2 ms3965.3 ms (~1.4x faster)
100 MBripgrep 15.2.057.52 ms55.76 ms55.8 ms53.1 ms~5359.8 ms (extrapolated)
1 GBLogRAM45.44 ms48.25 ms856.28 ms36.46 ms3400.3 ms (~12.8x faster)
1 GBripgrep 15.2.0452.0 ms448.76 ms448.48 ms432.28 ms~43379.7 ms (extrapolated)
5 GBLogRAM211.64 ms213.88 ms2998.99 ms197.65 ms16967.5 ms (~13.3x faster)
5 GBripgrep 15.2.02471.12 ms2223.15 ms2276.2 ms2258.41 ms~226219.7 ms (extrapolated)

3. MCP Server Latency (End-to-End stdio JSON-RPC)

File SizeFirst search_log (Cold Load)Cached search_log MedianCached read_log (50 lines)Matches
100 MB87.12 ms12.93 ms0.14 ms431
1 GB603.07 ms27.02 ms0.22 ms4,310
5 GB2998.29 ms85.73 ms0.15 ms21,552

Real-World 3.06 GB Notepad++ Host Validation

Separately verified on a real production 3,059,976,898-byte (21,217,913-line) log inside Notepad++ 8.9.8.1 x64 (full validation record):

Reproduce on Your Hardware

git clone https://github.com/HBZHSN/LogRAM.git
cd LogRAM
.\benchmarks\run-benchmark.ps1 -Sizes '100MB','1GB','5GB'
# Include 10 GB (16+ GiB free RAM recommended) and keep files to test klogg / LogExpert / Notepad++:
.\benchmarks\run-benchmark.ps1 -Sizes '100MB','1GB','5GB','10GB' -KeepFiles