# StratForge Benchmark — C++23 Backtesting Performance

> Performance benchmarks and engineering targets for the StratForge backtesting engine.

StratForge is a header-only C++23 backtesting engine designed for high-performance, deterministic strategy research. This page presents current engineering targets, measured development-build numbers, and comparison methodology.

Official page: https://stratcraft.ai/stratforge/benchmark/
GitHub: https://github.com/StratCraftsAI/StratForge

## Current Engineering Targets

- 3–14 ns per bar for selected incremental indicators
- zero heap allocations per bar on the hot path
- 138 built-in technical indicators
- 10M-bar scale benchmark examples

Definitive headline benchmark comparisons against Python frameworks are reserved for the v1.0 benchmark release.

## QuickFIX vs NexusFIX Comparison

The benchmark page compares StratForge's FIX engine companion (NexusFIX) against the reference QuickFIX implementation across metrics including session throughput, message parsing latency, memory allocation, connection handling, and end-to-end round-trip time.

## Zero-Allocation Hot Path

StratForge's hot path is designed for zero heap allocations per bar. The benchmark page details allocation counts and per-operation comparisons for order creation, indicator update, position tracking, risk check, and fill processing.

## Optimization Techniques

Engineering techniques employed include SIMD vectorization, cache-line alignment, compile-time dispatch, arena allocation, and lock-free data structures.

## Influences

The benchmark page acknowledges 11 open-source projects whose ideas shaped StratForge's architecture, including Abseil, Folly, Boost.Asio, oneTBB, simdjson, robin-map, mimalloc, nanobench, {fmt}, spdlog, and Catch2.

## Development Phases

The StratForge benchmark documents four development phases from initial prototyping through the current v1.0 pre-release stage.

## Usage Boundary

StratForge benchmark numbers are measured development-build results, not production guarantees. All figures are subject to change as the codebase evolves toward v1.0. This page is a research reference, not financial advice or a performance guarantee.

## Main Resources

- StratForge overview: https://stratcraft.ai/stratforge/
- Interactive Q&A: https://stratcraft.ai/stratforge/chatbot/
- News: https://stratcraft.ai/stratforge/news/
- GitHub: https://github.com/StratCraftsAI/StratForge
- StratCraft overview: https://stratcraft.ai/markdown-agents/stratcraft.md

---

Source: https://stratcraft.ai/stratforge/benchmark/
