summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-07-04 13:15:41 +0300
committerPaul Buetow <paul@buetow.org>2025-07-04 13:15:41 +0300
commit5fc1915b36f86e927469f393f7574ec9cba19347 (patch)
tree39edac8c5c891db625048da3fd0e5a070790218c /benchmarks
parentb528895686c7747fcd0d785799843534b325063e (diff)
move
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/baselines/benchmark_comparison_report.md75
1 files changed, 75 insertions, 0 deletions
diff --git a/benchmarks/baselines/benchmark_comparison_report.md b/benchmarks/baselines/benchmark_comparison_report.md
new file mode 100644
index 0000000..89ce05a
--- /dev/null
+++ b/benchmarks/baselines/benchmark_comparison_report.md
@@ -0,0 +1,75 @@
+# Benchmark Comparison Report: v4.3.0 vs Turbo-Enabled
+
+## Summary
+
+This report compares the performance of DTail v4.3.0 (baseline) with the current version that has turbo boost mode enabled by default.
+
+## Performance Improvements
+
+### DCat Operations
+- **10MB file**:
+ - v4.3.0: 9.363 MB/sec
+ - Turbo: 246.8 MB/sec
+ - **Improvement: 2,535% (26.3x faster)**
+
+### DGrep Operations (10MB file)
+- **1% hit rate**:
+ - v4.3.0: 25.38 MB/sec
+ - Turbo: 363.9 MB/sec
+ - **Improvement: 1,334% (14.3x faster)**
+
+- **10% hit rate**:
+ - v4.3.0: 22.81 MB/sec
+ - Turbo: 342.6 MB/sec
+ - **Improvement: 1,402% (15.0x faster)**
+
+- **50% hit rate**:
+ - v4.3.0: 16.14 MB/sec
+ - Turbo: 265.1 MB/sec
+ - **Improvement: 1,543% (16.4x faster)**
+
+- **90% hit rate**:
+ - v4.3.0: 10.99 MB/sec
+ - Turbo: 210.0 MB/sec
+ - **Improvement: 1,811% (19.1x faster)**
+
+### DMap Operations (10MB file)
+- **Count query**:
+ - v4.3.0: 17.09 MB/sec
+ - Turbo: 21.77 MB/sec
+ - **Improvement: 27.4%**
+
+- **Sum/Avg query**:
+ - v4.3.0: 13.54 MB/sec
+ - Turbo: 21.05 MB/sec
+ - **Improvement: 55.5%**
+
+- **Min/Max query**:
+ - v4.3.0: 17.46 MB/sec
+ - Turbo: 21.80 MB/sec
+ - **Improvement: 24.9%**
+
+- **Multi-field query**:
+ - v4.3.0: 21.85 MB/sec
+ - Turbo: 21.32 MB/sec
+ - **Slight decrease: -2.4%** (within margin of error)
+
+## Key Findings
+
+1. **Massive improvements in DCat and DGrep**: The turbo boost mode shows extraordinary performance gains for file reading (DCat) and searching (DGrep) operations, with improvements ranging from 14x to 26x faster.
+
+2. **Moderate improvements in DMap**: MapReduce operations show more modest but still significant improvements of 25-55% for most query types.
+
+3. **Consistent performance across hit rates**: DGrep performance improvements scale well across different hit rates, with even better improvements at higher hit rates.
+
+## Technical Details
+
+The turbo boost mode achieves these improvements through:
+- Direct writing bypassing channels for cat/grep/tail operations
+- Direct line processing without channels for MapReduce in server mode
+- Batch processing to reduce lock contention
+- Memory pooling to reduce garbage collection pressure
+
+## Recommendation
+
+The turbo boost mode delivers exceptional performance improvements and should remain enabled by default. The performance gains are substantial enough to justify any potential trade-offs in code complexity. \ No newline at end of file