Skip to content
Merged
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
188 changes: 188 additions & 0 deletions research/dic3-shift-table-replay/MEASUREMENTS.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@
{
"schema": "dic3-shift-benchmark/v1",
"samples": [
{
"baseline": true,
"elapsed_ns": 8703674917,
"returncode": 0,
"stderr_bytes": 0,
"stdout_sha256": "215612ee4088458105764a46f3801e1e9b8fe4a4bf7b615a18f80e2f50870875",
"command": [
"/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12",
"-I",
"-W",
"error",
"-B",
"/Users/nick/git/imb-research-7/research/dic3-shift-table-replay/replay.py",
"--baseline"
]
},
{
"baseline": false,
"elapsed_ns": 5255297125,
"returncode": 0,
"stderr_bytes": 0,
"stdout_sha256": "215612ee4088458105764a46f3801e1e9b8fe4a4bf7b615a18f80e2f50870875",
"command": [
"/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12",
"-I",
"-W",
"error",
"-B",
"/Users/nick/git/imb-research-7/research/dic3-shift-table-replay/replay.py"
]
},
{
"baseline": true,
"elapsed_ns": 9010664000,
"returncode": 0,
"stderr_bytes": 0,
"stdout_sha256": "215612ee4088458105764a46f3801e1e9b8fe4a4bf7b615a18f80e2f50870875",
"command": [
"/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12",
"-I",
"-W",
"error",
"-B",
"/Users/nick/git/imb-research-7/research/dic3-shift-table-replay/replay.py",
"--baseline"
]
},
{
"baseline": false,
"elapsed_ns": 5738952459,
"returncode": 0,
"stderr_bytes": 0,
"stdout_sha256": "215612ee4088458105764a46f3801e1e9b8fe4a4bf7b615a18f80e2f50870875",
"command": [
"/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12",
"-I",
"-W",
"error",
"-B",
"/Users/nick/git/imb-research-7/research/dic3-shift-table-replay/replay.py"
]
},
{
"baseline": true,
"elapsed_ns": 8699651375,
"returncode": 0,
"stderr_bytes": 0,
"stdout_sha256": "215612ee4088458105764a46f3801e1e9b8fe4a4bf7b615a18f80e2f50870875",
"command": [
"/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12",
"-I",
"-W",
"error",
"-B",
"/Users/nick/git/imb-research-7/research/dic3-shift-table-replay/replay.py",
"--baseline"
]
},
{
"baseline": false,
"elapsed_ns": 5142203750,
"returncode": 0,
"stderr_bytes": 0,
"stdout_sha256": "215612ee4088458105764a46f3801e1e9b8fe4a4bf7b615a18f80e2f50870875",
"command": [
"/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12",
"-I",
"-W",
"error",
"-B",
"/Users/nick/git/imb-research-7/research/dic3-shift-table-replay/replay.py"
]
},
{
"baseline": true,
"elapsed_ns": 9105424291,
"returncode": 0,
"stderr_bytes": 0,
"stdout_sha256": "215612ee4088458105764a46f3801e1e9b8fe4a4bf7b615a18f80e2f50870875",
"command": [
"/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12",
"-I",
"-W",
"error",
"-B",
"/Users/nick/git/imb-research-7/research/dic3-shift-table-replay/replay.py",
"--baseline"
]
},
{
"baseline": false,
"elapsed_ns": 5884180042,
"returncode": 0,
"stderr_bytes": 0,
"stdout_sha256": "215612ee4088458105764a46f3801e1e9b8fe4a4bf7b615a18f80e2f50870875",
"command": [
"/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12",
"-I",
"-W",
"error",
"-B",
"/Users/nick/git/imb-research-7/research/dic3-shift-table-replay/replay.py"
]
},
{
"baseline": true,
"elapsed_ns": 8585229791,
"returncode": 0,
"stderr_bytes": 0,
"stdout_sha256": "215612ee4088458105764a46f3801e1e9b8fe4a4bf7b615a18f80e2f50870875",
"command": [
"/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12",
"-I",
"-W",
"error",
"-B",
"/Users/nick/git/imb-research-7/research/dic3-shift-table-replay/replay.py",
"--baseline"
]
},
{
"baseline": false,
"elapsed_ns": 5058665541,
"returncode": 0,
"stderr_bytes": 0,
"stdout_sha256": "215612ee4088458105764a46f3801e1e9b8fe4a4bf7b615a18f80e2f50870875",
"command": [
"/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12",
"-I",
"-W",
"error",
"-B",
"/Users/nick/git/imb-research-7/research/dic3-shift-table-replay/replay.py"
]
}
],
"baseline": {
"median_ns": 8703674917,
"min_ns": 8585229791,
"max_ns": 9105424291
},
"prepared": {
"median_ns": 5255297125,
"min_ns": 5058665541,
"max_ns": 5884180042
},
"reduction_fraction": 0.39619790776705544,
"errors": 0,
"identical_complete_outputs": 10,
"stdout": "PASS_DIC3_BOUNDED_DIAGONAL_SEARCH ops=56 pair_states=2409 triple_states=94727 depth4_endpoints=1482 depth5_endpoints=1230 depth4_hits=0 depth5_hits=0 coverage4=a1398353921f55628c8329852554a6538f2a075eccc51ae127e25bfc791727f3 coverage5=816765d363f764fdaf4b3cbe4f1bc10ed235fc664924ea11a4112046d2157a1b\n",
"python": "3.12.15 (main, Oct 14 2026, 00:55:37) [Clang 23.1.3 ]",
"platform": "macOS-27.0.1-arm64-arm-64bit",
"machine": "arm64",
"cpu_count": 18,
"load_average_at_end": [
3.82958984375,
3.0390625,
2.30859375
],
"source_hashes": {
"replay.py": "bc8da3e823b98f2810a6f52ccb55eb1f32e64d248ad4721649f1e97c3dc3ae95",
"benchmark.py": "b856af72d1d97cacb190a01b10d406e566464ea89140adb23ca348335b389096",
"SOURCES.json": "8b64563672ef974790fec59721f9497fda73603acca38e1087f6c42c1ee4dee5"
}
}
112 changes: 112 additions & 0 deletions research/dic3-shift-table-replay/PROFILE.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
{
"profile": "complete original verify.py command, separate from timing samples",
"total_seconds": 21.962037332999994,
"functions": [
{
"file": "search.py",
"line": 148,
"function": "right_monomial_shift",
"primitive_calls": 58798872,
"calls": 58798872,
"self_seconds": 7.742912155000001,
"cumulative_seconds": 9.857434091
},
{
"file": "search.py",
"line": 195,
"function": "<genexpr>",
"primitive_calls": 65332080,
"calls": 65332080,
"self_seconds": 6.1734341090000004,
"cumulative_seconds": 16.0308682
},
{
"file": "search.py",
"line": 84,
"function": "<genexpr>",
"primitive_calls": 1120,
"calls": 1120,
"self_seconds": 3.812e-05,
"cumulative_seconds": 3.812e-05
},
{
"file": "search.py",
"line": 188,
"function": "<genexpr>",
"primitive_calls": 13824,
"calls": 13824,
"self_seconds": 0.0009715640000000001,
"cumulative_seconds": 0.0009715640000000001
},
{
"file": "search.py",
"line": 28,
"function": "<genexpr>",
"primitive_calls": 13,
"calls": 13,
"self_seconds": 5.084e-06,
"cumulative_seconds": 1.0248e-05
},
{
"file": "search.py",
"line": 26,
"function": "<genexpr>",
"primitive_calls": 156,
"calls": 156,
"self_seconds": 1.2459e-05,
"cumulative_seconds": 2.7168e-05
},
{
"file": "search.py",
"line": 71,
"function": "<genexpr>",
"primitive_calls": 280,
"calls": 280,
"self_seconds": 3.6714e-05,
"cumulative_seconds": 3.6714e-05
},
{
"file": "search.py",
"line": 179,
"function": "search_domain",
"primitive_calls": 2,
"calls": 2,
"self_seconds": 3.728927634,
"cumulative_seconds": 20.475300375
}
],
"inputs_sha256": {
"EXPECTED.json": "4d6328e45fdc691834824dff8a2c31049c8ff1dd7eada3063ddd19e16cb169e7",
"search.py": "ef90932a6d28bd2dc459fb02681a5cc376b4fc88ee3788db558beab129593e04",
"verify.py": "6502484b0a7b7932d97963083a52b4a16c041561259b380c210342869c4f6951"
},
"candidate_profile": {
"total_seconds": 12.420828617999987,
"functions": [
{
"file": "replay.py",
"line": 83,
"function": "prepared_shift",
"calls": 58798872,
"self_seconds": 1.6327811030000001,
"cumulative_seconds": 1.6327811030000001
},
{
"file": "search.py",
"line": 195,
"function": "<genexpr>",
"calls": 65332080,
"self_seconds": 5.41832988,
"cumulative_seconds": 7.051110983
},
{
"file": "search.py",
"line": 179,
"function": "search_domain",
"calls": 2,
"self_seconds": 3.397297855,
"cumulative_seconds": 10.967569084
}
]
}
}
Loading