Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
169 changes: 169 additions & 0 deletions research/dihedral-packed-replay/BENCHMARK.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
{
"schema_version": 1,
"python": "3.12.15 (main, Oct 14 2026, 00:55:37) [Clang 23.1.3 ]",
"platform": "macOS-27.0.1-arm64-arm-64bit",
"scope": "complete fresh-process replay including startup, pin reads and certificate comparison",
"flags": [
"-I",
"-O",
"-W",
"error",
"-B"
],
"pairs": 15,
"rows": [
{
"pair": 0,
"order": [
"research/bit-dihedral-commutator/verify.py",
"research/dihedral-packed-replay/run.py"
],
"baseline_ns": 30877041,
"packed_ns": 22495083
},
{
"pair": 1,
"order": [
"research/dihedral-packed-replay/run.py",
"research/bit-dihedral-commutator/verify.py"
],
"baseline_ns": 32130500,
"packed_ns": 22420375
},
{
"pair": 2,
"order": [
"research/bit-dihedral-commutator/verify.py",
"research/dihedral-packed-replay/run.py"
],
"baseline_ns": 31752041,
"packed_ns": 22438875
},
{
"pair": 3,
"order": [
"research/dihedral-packed-replay/run.py",
"research/bit-dihedral-commutator/verify.py"
],
"baseline_ns": 30607792,
"packed_ns": 22176541
},
{
"pair": 4,
"order": [
"research/bit-dihedral-commutator/verify.py",
"research/dihedral-packed-replay/run.py"
],
"baseline_ns": 31458041,
"packed_ns": 23190834
},
{
"pair": 5,
"order": [
"research/dihedral-packed-replay/run.py",
"research/bit-dihedral-commutator/verify.py"
],
"baseline_ns": 30364292,
"packed_ns": 22664833
},
{
"pair": 6,
"order": [
"research/bit-dihedral-commutator/verify.py",
"research/dihedral-packed-replay/run.py"
],
"baseline_ns": 30705500,
"packed_ns": 22319334
},
{
"pair": 7,
"order": [
"research/dihedral-packed-replay/run.py",
"research/bit-dihedral-commutator/verify.py"
],
"baseline_ns": 31259834,
"packed_ns": 21783667
},
{
"pair": 8,
"order": [
"research/bit-dihedral-commutator/verify.py",
"research/dihedral-packed-replay/run.py"
],
"baseline_ns": 30652417,
"packed_ns": 22212917
},
{
"pair": 9,
"order": [
"research/dihedral-packed-replay/run.py",
"research/bit-dihedral-commutator/verify.py"
],
"baseline_ns": 31565542,
"packed_ns": 22640083
},
{
"pair": 10,
"order": [
"research/bit-dihedral-commutator/verify.py",
"research/dihedral-packed-replay/run.py"
],
"baseline_ns": 30526834,
"packed_ns": 22711792
},
{
"pair": 11,
"order": [
"research/dihedral-packed-replay/run.py",
"research/bit-dihedral-commutator/verify.py"
],
"baseline_ns": 31036000,
"packed_ns": 22607542
},
{
"pair": 12,
"order": [
"research/bit-dihedral-commutator/verify.py",
"research/dihedral-packed-replay/run.py"
],
"baseline_ns": 30776917,
"packed_ns": 21606125
},
{
"pair": 13,
"order": [
"research/dihedral-packed-replay/run.py",
"research/bit-dihedral-commutator/verify.py"
],
"baseline_ns": 30390291,
"packed_ns": 21779875
},
{
"pair": 14,
"order": [
"research/bit-dihedral-commutator/verify.py",
"research/dihedral-packed-replay/run.py"
],
"baseline_ns": 29794875,
"packed_ns": 22564375
}
],
"baseline_median_ns": 30776917,
"packed_median_ns": 22438875,
"baseline_range_ns": [
29794875,
32130500
],
"packed_range_ns": [
21606125,
23190834
],
"median_reduction_percent": 27.091868883423253,
"faster_pairs": 15,
"failed_processes": 0,
"stdout_sha256": "e3fcec609ad50af53cd8aad6e20d8b2742fedd403c27f8d0e4600d9a46daf18f",
"source_sha256": {
"research/bit-dihedral-commutator/verify.py": "dff2985bc4ec27d0e527d017471f6e6d43bb7855e555385fc80027aad499735d",
"research/dihedral-packed-replay/run.py": "2fe0708b31277175bed28a5db89c71b298e171d94610d3d8c68768fdc27d4d6e"
}
}
105 changes: 105 additions & 0 deletions research/dihedral-packed-replay/PROFILE.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
{
"scope": "Separate profiled complete commands, excluded from benchmark timings. CPython cProfile instrumentation affects durations.",
"flags": [
"-I",
"-O",
"-W",
"error",
"-B"
],
"profiles": {
"original": {
"total_seconds": 0.025667391999999987,
"total_calls": 135568,
"rows": [
{
"file": "verify.py",
"line": 52,
"function": "run",
"primitive_calls": 1,
"calls": 1,
"own_seconds": 0.00026834600000000004,
"cumulative_seconds": 0.021448292
},
{
"file": "verify.py",
"line": 23,
"function": "ball",
"primitive_calls": 2,
"calls": 2,
"own_seconds": 0.002153237,
"cumulative_seconds": 0.018650083
},
{
"file": "verify.py",
"line": 13,
"function": "step",
"primitive_calls": 13568,
"calls": 13568,
"own_seconds": 0.010420338000000001,
"cumulative_seconds": 0.0162612
}
]
},
"packed": {
"total_seconds": 0.012817212000000001,
"total_calls": 52152,
"rows": [
{
"file": "run.py",
"line": 72,
"function": "replay",
"primitive_calls": 1,
"calls": 1,
"own_seconds": 7.5707e-05,
"cumulative_seconds": 0.008882833
},
{
"file": "verify.py",
"line": 52,
"function": "run",
"primitive_calls": 1,
"calls": 1,
"own_seconds": 0.000280101,
"cumulative_seconds": 0.007277083
},
{
"file": "verify.py",
"line": 23,
"function": "ball",
"primitive_calls": 2,
"calls": 2,
"own_seconds": 0.0024215680000000002,
"cumulative_seconds": 0.0043858330000000004
},
{
"file": "run.py",
"line": 56,
"function": "step",
"primitive_calls": 13568,
"calls": 13568,
"own_seconds": 0.00174741,
"cumulative_seconds": 0.00174741
},
{
"file": "run.py",
"line": 35,
"function": "load_original",
"primitive_calls": 1,
"calls": 1,
"own_seconds": 2.5400000000000002e-06,
"cumulative_seconds": 0.001376375
},
{
"file": "run.py",
"line": 25,
"function": "source_bytes",
"primitive_calls": 1,
"calls": 1,
"own_seconds": 7.627000000000001e-06,
"cumulative_seconds": 0.000158875
}
]
}
}
}
Loading