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 Size | Lines | Initial Load | Single Search | 100x Repeated Total | 100x Median | Throughput | Regex | Working Set / Peak |
|---|---|---|---|---|---|---|---|---|
| 100 MB | 862,068 | 79.11 ms | 39.61 ms | 3886.2 ms | 52.2 ms | 2.57 GB/s | 95.2 ms | 142.5 / 168.3 MiB |
| 1 GB | 8,620,675 | 653.28 ms | 45.44 ms | 2747 ms | 36.46 ms | 36.4 GB/s | 856.28 ms | 1162.9 / 1191.2 MiB |
| 5 GB | 43,103,374 | 2965.82 ms | 211.64 ms | 14001.66 ms | 197.65 ms | 35.71 GB/s | 2998.99 ms | 5696.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 Size | Tool | Single Plain | Single CI | Regex | Repeated Median | 100-Query Total (Incl. 1x Load) |
|---|---|---|---|---|---|---|
| 100 MB | LogRAM | 39.61 ms | 87.9 ms | 95.2 ms | 52.2 ms | 3965.3 ms (~1.4x faster) |
| 100 MB | ripgrep 15.2.0 | 57.52 ms | 55.76 ms | 55.8 ms | 53.1 ms | ~5359.8 ms (extrapolated) |
| 1 GB | LogRAM | 45.44 ms | 48.25 ms | 856.28 ms | 36.46 ms | 3400.3 ms (~12.8x faster) |
| 1 GB | ripgrep 15.2.0 | 452.0 ms | 448.76 ms | 448.48 ms | 432.28 ms | ~43379.7 ms (extrapolated) |
| 5 GB | LogRAM | 211.64 ms | 213.88 ms | 2998.99 ms | 197.65 ms | 16967.5 ms (~13.3x faster) |
| 5 GB | ripgrep 15.2.0 | 2471.12 ms | 2223.15 ms | 2276.2 ms | 2258.41 ms | ~226219.7 ms (extrapolated) |
3. MCP Server Latency (End-to-End stdio JSON-RPC)
| File Size | First search_log (Cold Load) | Cached search_log Median | Cached read_log (50 lines) | Matches |
|---|---|---|---|---|
| 100 MB | 87.12 ms | 12.93 ms | 0.14 ms | 431 |
| 1 GB | 603.07 ms | 27.02 ms | 0.22 ms | 4,310 |
| 5 GB | 2998.29 ms | 85.73 ms | 0.15 ms | 21,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):
- Initial load & index: 3.674 s
- Search
SendOrder(1,171 hits): 0.045 s · Searcherror(1 hit): 0.072 s - Memory isolation: Notepad++ editor buffer held only 105 bytes (77.5 MiB working set); LogRAM background worker held 3,514.8 MiB.
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
