egraphs-good
egglog-python
BlogDocsChangelog

Add ability to create custom model and pass them in to extract

#357Merged
Comparing
custom-cost-model
(
9aa04b1
) with
main
(
a46b180
)
CodSpeed Performance Gauge
-17%
Regressions
1
(
1
)
Untouched
6

Benchmarks

Passed

test_run_lda[base]
python/tests/test_array_api.py
CodSpeed Performance Gauge
0%
2.2 ms2.1 ms
test_run_lda[array_api-optimized-numba]
python/tests/test_array_api.py
CodSpeed Performance Gauge
0%
236.5 µs236.8 µs
test_run_lda[array_api]
python/tests/test_array_api.py
CodSpeed Performance Gauge
0%
3.4 ms3.4 ms
test_run_lda[array_api-optimized]
python/tests/test_array_api.py
CodSpeed Performance Gauge
-1%
882.3 µs888.3 µs
test_jit[add]
python/tests/test_array_api.py
CodSpeed Performance Gauge
-1%
348.5 ms350.9 ms
test_jit[tuple]
python/tests/test_array_api.py
CodSpeed Performance Gauge
-5%
578.5 ms607 ms
test_jit[lda]
python/tests/test_array_api.py
Regression
CodSpeed Performance Gauge
-17%
7.1 s8.6 s

Commits

Click on a commit to change the comparison range
Base
main
a46b180
-0.19%
clippy fixes
ff280f8
16 days ago
by saulshanabrook
-0.35%
Bubble up errors and always call into Python for costs
042e76e
11 days ago
by saulshanabrook
-28.06%
Change cost model to just be function
05934d9
9 days ago
by saulshanabrook
+11.29%
Cache cost models
468172b
9 days ago
by saulshanabrook
+0.24%
Try refactoring default cost model to make it faster
9aa04b1
9 days ago
by saulshanabrook
© 2025 CodSpeed Technology
Home Terms Privacy Docs