Benchmark results¶
Generated by benchmarks/report.py from oxyz-performance-7b819e8b0e.json — do not edit by hand.
The output column says what each row materialises: numpy frames are
frame objects holding numpy arrays (oxyz's native form, and cextxyz's via
its read_dicts interface), ase.Atoms are full Atoms objects (ASE's
own reader, oxyz.ase.read, and the C parser behind ASE's IO via the
ase-extxyz plugin), and Batch is a single concatenated batch. Rows with
different outputs do different amounts of work. The mode column says
whether parsing uses all cores or one.
Throughput columns divide the work a row does (frames and atoms read,
recorded with the save) by the mean time; rows where a per-frame rate
means nothing (first/last/scan) leave them blank. Rows suffixed -Nt
are the same reader pinned to N threads.
"rel" is relative to the fastest row in the group. Numbers are only
comparable within one run on one machine.
Environment¶
- Apple M3 Pro, Darwin 24.6.0 (arm64)
- CPython 3.13.9
- oxyz 1.3.1, numpy 2.4.6, ase 3.28.0, extxyz 0.4.6, ase-extxyz 0.1.2, atompack-db 0.4.0, lmdb 2.2.1, torch 2.12.1, metatomic-torch 0.1.15
- run 2026-11-16, commit 7b819e8b0
Workloads¶
Only the workload families measured in this saved run are listed.
Synthetic inputs are deterministic fixtures from benchmarks/conftest.py.
| file | shape |
|---|---|
| sweep_dataset_N | N frames, corpus-shaped (mean ~7 atoms, long tail to 240) |
| mad-1.5-r2scan | 180,184 frames × 1–352 atoms (mean 14.6), 303.5 MiB real dataset |
Results¶
Real dataset¶
The real_data/... groups read the full MAD-1.5 r²SCAN training set
(mad-1.5-r2scan-train.xyz, 303.5 MiB, 180,184 frames, 2,630,122 atoms,
1–352 atoms per frame): real, chemically diverse data — molecules, clusters,
bulk crystals, surfaces and low-dimensional structures — from one
standardised all-electron workflow, where every other workload here is
generated. Frames disagree on schema (Lattice on the periodic ones, absent
on the molecular ones), so every row reads frame by frame.
From High-quality, high-information datasets for universal atomistic machine learning by Cesare Malosso, Filippo Bigi, Paolo Pegolo, Joseph W. Abbott, Philip Loche, Mariana Rossi, Michele Ceriotti and Arslan Mazitov — Materials Cloud Archive, doi:10.24435/materialscloud:ak-4p (v3), described in arXiv:2603.02089. Used under CC-BY-4.0.
The dataset is a 303.5 MiB download kept at an ignored local path, so these rows
are skipped wherever absent and cannot be regenerated from this repository
alone. To reproduce them, put the file at data/mad-1.5-r2scan-train.xyz.
One read here is seconds of work, so the slower rows are timed over a single
round: a ± 0.00 spread means the row was measured once, not that it is
perfectly repeatable.
real_data/mad¶
| reader | output | mode | mean ± std (ms) | frames/s | atoms/s | rel |
|---|---|---|---|---|---|---|
| oxyz-8t | numpy frames | parallel | 977 ± 93.3 | 184.5k | 2.69M | 1.00 |
| oxyz | numpy frames | parallel | 1043 ± 12.7 | 172.7k | 2.52M | 1.07 |
| oxyz-4t | numpy frames | parallel | 1086 ± 0.00 | 165.9k | 2.42M | 1.11 |
| oxyz-iter | numpy frames | serial | 1192 ± 0.00 | 151.1k | 2.21M | 1.22 |
| oxyz-2t | numpy frames | parallel | 1246 ± 0.00 | 144.6k | 2.11M | 1.28 |
| oxyz-1t | numpy frames | serial | 1481 ± 0.00 | 121.7k | 1.78M | 1.52 |
| cextxyz | numpy frames | serial | 3359 ± 0.00 | 53.6k | 783.0k | 3.44 |
| cextxyz-to-ase | ase.Atoms | serial | 6022 ± 0.00 | 29.9k | 436.8k | 6.17 |
| oxyz-to-ase | ase.Atoms | parallel | 6983 ± 0.00 | 25.8k | 376.7k | 7.15 |
| oxyz-to-ase-serial | ase.Atoms | serial | 7490 ± 0.00 | 24.1k | 351.1k | 7.67 |
| ase | ase.Atoms | serial | 17121 ± 0.00 | 10.5k | 153.6k | 17.53 |
Scaling sweeps¶
The scaling_dataset/... and scaling_system/... groups sweep one size axis
with the readers overlaid, and scaling_threads/... sweeps thread count for
oxyz alone. The dataset family sweeps frame count over a corpus-shaped file of
many small frames; the system family sweeps atoms per frame over a few large
frames. The per-size tables here are the provenance record for the scaling
curves.
scaling_dataset/1000¶
| reader | output | mode | mean ± std (ms) | frames/s | atoms/s | rel |
|---|---|---|---|---|---|---|
| oxyz-1000 | numpy frames | parallel | 2.41 ± 0.06 | 414.9k | 2.89M | 1.00 |
| oxyz-serial-1000 | numpy frames | serial | 3.85 ± 0.05 | 259.6k | 1.81M | 1.60 |
| oxyz-to-ase-1000 | ase.Atoms | parallel | 11.2 ± 3.23 | 89.6k | 623.4k | 4.63 |
| cextxyz-1000 | numpy frames | serial | 18.0 ± 0.11 | 55.4k | 385.9k | 7.48 |
| cextxyz-to-ase-1000 | ase.Atoms | serial | 31.9 ± 0.09 | 31.4k | 218.5k | 13.21 |
| ase-1000 | ase.Atoms | serial | 68.3 ± 0.20 | 14.6k | 101.8k | 28.35 |
scaling_dataset/10000¶
| reader | output | mode | mean ± std (ms) | frames/s | atoms/s | rel |
|---|---|---|---|---|---|---|
| oxyz-10000 | numpy frames | parallel | 28.3 ± 0.89 | 353.3k | 2.43M | 1.00 |
| oxyz-serial-10000 | numpy frames | serial | 46.9 ± 6.68 | 213.1k | 1.47M | 1.66 |
| oxyz-to-ase-10000 | ase.Atoms | parallel | 126 ± 14.2 | 79.3k | 546.2k | 4.45 |
| cextxyz-10000 | numpy frames | serial | 184 ± 0.62 | 54.2k | 373.4k | 6.52 |
| cextxyz-to-ase-10000 | ase.Atoms | serial | 329 ± 10.9 | 30.4k | 209.1k | 11.64 |
| ase-10000 | ase.Atoms | serial | 688 ± 9.70 | 14.5k | 100.0k | 24.32 |
scaling_dataset/100000¶
| reader | output | mode | mean ± std (ms) | frames/s | atoms/s | rel |
|---|---|---|---|---|---|---|
| oxyz-100000 | numpy frames | parallel | 525 ± 92.8 | 190.6k | 1.33M | 1.00 |
| oxyz-serial-100000 | numpy frames | serial | 686 ± 88.0 | 145.7k | 1.02M | 1.31 |
| oxyz-to-ase-100000 | ase.Atoms | parallel | 1748 ± 82.2 | 57.2k | 398.9k | 3.33 |
| cextxyz-100000 | numpy frames | serial | 1926 ± 8.04 | 51.9k | 362.1k | 3.67 |
| cextxyz-to-ase-100000 | ase.Atoms | serial | 3377 ± 37.2 | 29.6k | 206.5k | 6.44 |
| ase-100000 | ase.Atoms | serial | 6873 ± 21.4 | 14.5k | 101.5k | 13.10 |
scaling_dataset/1000000¶
| reader | output | mode | mean ± std (ms) | frames/s | atoms/s | rel |
|---|---|---|---|---|---|---|
| oxyz-1000000 | numpy frames | parallel | 9203 ± 784 | 108.7k | 756.7k | 1.00 |
| oxyz-serial-1000000 | numpy frames | serial | 10718 ± 1088 | 93.3k | 649.8k | 1.16 |
Where oxyz is not fastest¶
No groups in this run were led by a non-oxyz row.