Skip to content

Latest commit

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

PolyEdge Engine — Benchmarks

Public benchmark reports for the PolyEdge execution engine: a high-performance order execution and market signal system built in Rust.

The engine source is proprietary. This repository contains benchmark harnesses and Criterion-generated reports only.


Results at a Glance

Signal & Execution Path

BenchmarkMedianNotes
engine_tick window=4273 nsSingle-timeframe baseline
engine_tick window=8353 ns
engine_tick window=16419 ns
engine_tick_multiframe depth=0395 nsNo filter overhead
engine_tick_multiframe depth=4417 ns+6% over baseline
engine_tick_multiframe depth=6432 ns+9% over baseline
intent_pipeline2.32 µsTick → signal → L2 check → intent
opportunity_evaluator1.65 µsPure scoring, no I/O
pair_calculator 1 pair409 ns
pair_calculator 5 pairs1.25 µs
pair_calculator 10 pairs2.28 µsNear-linear scaling

Event Journal

BenchmarkMedianNotes
event_log_write ×14.0 µs−67% vs prior run
event_log_write ×1019.1 µs1.9 µs/event — −53% vs prior run
event_log_write ×100167 µs1.7 µs/event — −59% vs prior run
event_log_write ×500820 µs1.6 µs/event — −35% vs prior run
event_log_write_durable ×14.60 msfsync per write; worst-case recovery path
event_log_write_durable ×1046.8 ms4.68 ms/event
event_log_write_durable ×50228 ms4.56 ms/event
event_log_replay ×10013.9 ms @ 7.2 K elem/s−18% vs prior run
event_log_replay ×50015.6 ms @ 32.0 K elem/s
event_log_replay ×100014.7 ms @ 67.8 K elem/s−15% vs prior run
serialize_event334 nsBincode
deserialize_event224 nsBincode

Benchmark Environment

CPUApple M4, MacBook Pro
RAM16 GB unified memory
OSmacOS Sequoia 15.5
Rust1.92.0 (ded5c06cf 2025-12-08)
Criterion0.5.1

Benchmarks were run on Apple Silicon. Production target is Linux/x86_64; figures are for relative component comparison, not absolute latency guarantees.


Interactive Reports

Full Criterion HTML reports (PDF of slope, regression plots, MAD, SD) are in criterion/.

BenchmarkReport
engine_ticksummary · w=4 · w=8 · w=16
engine_tick_multiframesummary · d=0 · d=4 · d=6
intent_pipelinereport
opportunity_evaluatorreport
pair_calculatorsummary · 1 pair · 5 pairs · 10 pairs
event_log_writesummary · ×1 · ×10 · ×100 · ×500
event_log_write_durablesummary · ×1 · ×10 · ×50
event_log_replaysummary · ×100 · ×500 · ×1000
event_log_serializationsummary · serialize · deserialize

Benchmark Harnesses

Source is in benches/. Internal engine types are from the private polyedge-engine crate and are not included; the harnesses are provided to show benchmark structure and design intent.

FileCovers
signal_latency.rsengine_tick, engine_tick_multiframe, intent_pipeline, pair_calculator, opportunity_evaluator
journal_throughput.rsevent_log_write, event_log_write_durable, event_log_replay, event_log_serialization

About

Benchmarks for PolyEdge

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages