Challenge 02 (C++ and Rust): workload v3, badge edition v3. Exchange ids are now drawn as on a real venue: large 64-bit numbers with gaps, mostly increasing, a few far below the rest (see "Order Ids" in EXCHANGE.md; a table indexed by part of the id must handle collisions). Both boards check every best bid/ask and queue-position answer, then the whole book at the end, against a reference book, and the public benchmark runs the same checks on a public seed. Rust bronze is now 2550. All scores are being re-run; your v2 badges stay valid under "Earlier editions".
New: FPGA challenges. A cut-through UDP echo in Verilog or Vitis HLS, and a 10GBASE-R receive path scored in nanoseconds. Simulated against hidden tests in minutes, timed in Vivado overnight. See the FPGA challenges
Challenge 02 (Multi-Symbol Order Book), C++ and Rust: new workload, both boards recalibrated (18 Nov). Prices are now positive integers up to 1,000,000 with no guaranteed tick size, and the hot symbols are no longer fixed; the C++ spec and the Rust README say so. The old generator also had a flaw: its books ended crossed, with best bids piled at the price ceiling, so it never behaved like a real order book. Every member's latest and best submissions are being re-run now. Entries whose tables stop at 100,000 fail on the new workload. On the Rust board that range was the published contract, so those entries were right at the time and only need their limits widened. New Rust lines: gold under 1,600, silver under 2,200, bronze under 2,700 (the Rust skeleton now scores about 2,850). C++ lines are unchanged.
Write fast code. Get certified benchmark results.
Your submissions are private. Submit as often as you like — only your best score appears on the leaderboard.
| Challenge | Top 3 | ||
|---|---|---|---|
|
Challenge 01: Best Price Tracker
Build a high-performance limit order book that supports: |
Jikan
14 cycles/op |
odygrd
14 cycles/op |
Antonin Kriz
14 cycles/op |
|
Challenge 02: Multi-Symbol Order Book
Build a multi-symbol order book with queue position tracking, venue interaction, |
Przemek S.
870 cycles/op |
tnn1t1s .
1,462 cycles/op |
Nicolai
1,879 cycles/op |
|
Challenge 03: Event Scheduler
Build a high-performance event scheduler that can handle millions of pending |
Przemek S.
310 cycles/op |
odygrd
434 cycles/op |
frfx
434 cycles/op |
|
Challenge 04: Event Scheduler (No Cancel)
## Event Scheduler — No Cancel |
Przemek S.
248 cycles/op |
odygrd
248 cycles/op |
Malacarne
248 cycles/op |
|
Challenge 05: Ring Buffer
Build a high-performance SPSC (Single-Producer Single-Consumer) ring buffer for passing market data messages between... |
TH
961 cycles/msg |
tnn1t1s .
969 cycles/msg |
Jikan
970 cycles/msg |
|
Challenge 06: Seqlock
Build a high-performance sequence lock (seqlock) that allows one writer and multiple readers to share data without blocking. |
odygrd
355 cycles/op |
Sébastien K.
356 cycles/op |
frfx
356 cycles/op |
|
Challenge 07: String Map
Build a high-performance hash map with string keys (up to 16 characters) and `uint32_t` values. |
Noah
17 cycles/op |
Malacarne
24 cycles/op |
Stefan P.
25 cycles/op |
|
Challenge 08: Ticker Lookup
Build the fastest possible ticker symbol lookup table. |
Przemek S.
7 cycles/op |
Hang
7 cycles/op |
TH
7 cycles/op |
|
Challenge 09: FIX Parser
Build a high-performance FIX protocol parser for order messages. |
Malacarne
123 cycles/KB |
Przemek S.
197 cycles/KB |
Noah
199 cycles/KB |
|
Challenge 10: FIX Encoder
Build a high-performance FIX message encoder for order entry. |
Malacarne
22 cycles/msg |
Przemek S.
37 cycles/msg |
odygrd
54 cycles/msg |
|
Challenge 11: Rolling Counter
Build a high-performance rolling window event counter. |
Przemek S.
3,395 cycles/kop |
Sergey Kintsel
6,754 cycles/kop |
frfx
6,902 cycles/kop |
|
Challenge 12: Feed Arbiter
## Feed Arbitration |
odygrd
9 cycles/op |
Malacarne
9 cycles/op |
Przemek S.
10 cycles/op |
|
Challenge 13: Implied Book
## Implied Order Book |
Przemek S.
41 cycles/op |
Hang
47 cycles/op |
Malacarne
59 cycles/op |
|
Challenge 14: Build Optimization
This challenge is different. The code is frozen — you cannot modify it. |
odygrd
2,127 cycles/kop |
Przemek S.
2,264 cycles/kop |
frfx
2,278 cycles/kop |
|
Challenge 17: Cross-CCX Ring Buffer
Same interface as Challenge 05(/challenge/ring-buffer) — but the producer |
Przemek S.
1,410 cycles/msg |
Hang
1,442 cycles/msg |
frfx
1,527 cycles/msg |
|
Challenge 18: Build Optimization II
A second flags-only challenge. The code is frozen — your only lever is the |
Przemek S.
5 cycles/op |
odygrd
5 cycles/op |
Noah
5 cycles/op |
|
Challenge 19: Memory Triathlon
Write a custom allocator — and only the allocator. We replay a recorded |
odygrd
226 cycles |
Przemek S.
227 cycles |
K. Reznik
230 cycles |
|
Challenge 20: Fast Integer-to-String
Convert a `uint64_t` to decimal text as fast as possible. |
tnn1t1s .
9 cycles/op |
Przemek S.
9 cycles/op |
odygrd
11 cycles/op |