This report records the preceding Taylor implementation rounds. For the
subsequent native PyKEP 3.1.0 and trajectory-gym measurements, see the
matched benchmark report.
The follow-up reduces generated coefficient storage, evaluates four-lane
Taylor polynomials without copying their histories into scalar workspaces,
and shares nominal coefficients across seeded sensitivity directions.
Measurements use Rust 1.88.0 on an Intel Xeon Platinum 8573C, affinity to
CPUs 2–5, and the repository’s release profile. B0 is GitHub main at
542158b575ad9d235841d501772c179177d69660. B1 adds the first Taylor patch.
The final source adds the accepted follow-up changes. Paired results use
three ABBA rounds and seven warmed samples per pass. The ratios are medians
of paired round ratios. Host scheduling affects the spread of short timings.
The endpoint metric is max(abs(actual - reference) / max(1, abs(reference))).
All rows meet the 2e-11 fixed-tolerance gate against the tight DOP853
reference. B0 comparisons use the default crate features for both sides.
B1 comparisons enable simd in both builds and call the scalar API here.
The focused runs use the same sources with four times as many calls per sample.
The native Kepler case remains slower than B1. The default-feature comparison against B0 still shows a gain.
Each configuration meets scaled endpoint error 1e-11 on its fixture.
These timings use the fastest tested tolerance from one seven-sample pass per configuration.
The paired fixed-tolerance comparisons above give a better view of timing variation.
The same 1,024 candidates were evaluated in the same order. Times include construction, propagation, and scoring.
Objective
Workers
B1 µs
Final µs
Speedup
Maximum score/residual delta
bcp
1
4255.43
2573.56
1.65×
1.11e-16
zoh_kepler
1
33630.62
29975.51
1.12×
0.00e+00
bcp
4
1784.45
1038.34
1.72×
1.11e-16
zoh_kepler
4
9870.46
9796.29
1.01×
0.00e+00
Each optimizer cell uses seeds 11, 19, and 42 and 4,096 evaluations per run.
These short campaigns compare wall time and final objectives. Time-to-target records are in the raw data.
PyKEP 3.0.1 with heyoka.py 7.10.1 reuses the compiled integrator. Both sides include Python calls.
Rows select the fastest tested tolerance at scaled endpoint error 1e-11.
Model
PyKEP µs
Rust Taylor µs
Rust / PyKEP
kepler
4.023
3.473
0.86×
cr3bp
4.866
9.682
1.99×
bcp
4.564
5.469
1.20×
zoh_kepler
5.430
5.446
1.00×
zoh_cr3bp
5.681
7.913
1.39×
zoh_equinoctial
8.694
12.387
1.42×
solar_sail
7.403
22.481
3.04×
cartesian_mass
4.653
8.618
1.85×
cartesian_time
4.135
6.129
1.48×
equinoctial_mass
622.882
508.383
0.82×
equinoctial_time
554.198
413.126
0.75×
See the comparison guide for reproduction commands. The raw measurements
are in the measurement archive attached to the 0.1.5 release.
Comparison guide