Logger System 0.1.3
High-performance C++20 thread-safe logging system with asynchronous capabilities
Loading...
Searching...
No Matches
BASELINE

autotoc_md2502

doc_id: "LOG-PERF-006" doc_title: "Logger System - Performance Baseline Metrics" doc_version: "1.0.0" doc_date: "2026-04-04" doc_status: "Released" project: "logger_system"

category: "PERF"

Logger System - Performance Baseline Metrics

SSOT: This document is the single source of truth for Logger System - Performance Baseline Metrics.

English | 한국어


Version: 0.1.0.0 Date: 2025-10-09 Phase: Phase 0 - Foundation Status: Baseline Established


System Information

Hardware Configuration

  • CPU: Apple M1 (ARM64)
  • RAM: 8 GB
  • Storage: SSD

Software Configuration

  • OS: macOS 26.1
  • Compiler: Apple Clang 17.0.0.17000319
  • Build Type: Release (-O3)
  • C++ Standard: C++20

Performance Metrics

Logging Throughput

  • Synchronous Logging: 850,000 messages/second
  • Asynchronous Logging: 4,340,000 messages/second
  • Console Output: 120,000 messages/second
  • File Output: 2,100,000 messages/second

Latency (Async Mode)

  • P50: <0.3 μs
  • P95: <0.8 μs
  • P99: <1.5 μs

Memory Performance

  • Baseline: 2.5 MB
  • Buffer (1K messages): 5.2 MB
  • Buffer (10K messages): 18 MB

Benchmark Results

Mode Throughput Latency (P50) Memory Best For
Sync Console 120K msg/s 8 μs 2.5 MB Development
Sync File 850K msg/s 1.2 μs 2.8 MB Simple apps
Async File 4.34M msg/s 0.3 μs 5 MB Production
Async Multi-sink 3.8M msg/s 0.4 μs 7 MB Enterprise

Key Features

  • 4.34M messages/second in async mode
  • Sub-microsecond latency (P50 < 0.3 μs)
  • Low memory footprint (2.5 MB baseline)
  • Multiple sink support with minimal overhead
  • Zero-allocation hot path (memory pooling)

Baseline Validation

Phase 0 Requirements

  • Benchmark infrastructure ✅
  • Performance metrics baselined ✅

Acceptance Criteria

  • Throughput > 3M msg/s ✅ (4.34M)
  • Latency < 1 μs (P50) ✅ (0.3 μs)
  • Memory < 5 MB ✅ (2.5 MB)

Baseline Established: 2025-10-09 Maintainer: kcenon