Interactive Benchmark

Language Comparison

Same algorithm across Python, C++, Julia, and Haskell

Performance Comparison

Trades
101001K
Scenarios
10K100K500K

Price-Only vs Price + Greeks

AADC's AAD advantage becomes more pronounced with Greeks

Implementation Price Only Price + Greeks Greeks Overhead
Optimised C++ (Safe) 0.27s 1.44s +433%
Julia 3.9s 15.5s +297%
Haskell* 162s 646s +299%
2.1x
AADC Python faster than Optimised C++ (with Greeks)
+23%
AADC Greeks overhead (vs +433% bump-revalue)
2.0x
Optimised C++ faster for price-only (no Greeks needed)

*Haskell took significantly longer at this scale. All measurements at 10 trades × 100K scenarios.

Related Resources

Benchmark Environment

All benchmarks executed on enterprise-grade server hardware

System Configuration

CPU2x Intel Xeon Platinum 8280L @ 2.70GHz
Cores56 physical (28 per socket), 112 threads
Architecturex86_64, Cascade Lake
L3 Cache77 MiB (38.5 MiB per socket)
RAM283 GB DDR4
OSLinux kernel 6.1.0-13-amd64 (Debian)
CPU Features: AVX-512, AVX2, FMA, AES-NI

Test Configuration

ModelAsian Option Monte Carlo
DynamicsGeometric Brownian Motion (GBM)
Timesteps252 (daily over 1 year)
GreeksDelta, Rho, Vega (3 sensitivities)
Threads8 (configurable)
SIMDAVX2 (4 doubles/instruction)
Note: AVX-512 (8 doubles/instruction) provides ~1.7x additional speedup on supported hardware

Compilers & Versions

GCC12.2.0 (Debian)
Clang14.0.6 (Debian)
Python3.11.2
NumPy1.26.x
AADC2.0.0
C++ compiled with -O3 -march=native -std=c++17