You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
samply record ./target/profiling/egglog --dont-print-messages tests/eqsat-basic.egg
Around 20% of the time is spent in TermDag::to_string. We should add a way to disable printing extracting values to strings, because when using with the Python bindings, this work is thrown away.
The remaining 80% is spent in Extract::find_best with about a third inside of that spent in VecSort::extract_expr, ptr::drop_in_place<GenericExpr>, and TermDag::expr_to_term.
The text was updated successfully, but these errors were encountered:
There is currently a performance issue when extracting a large expression with vecs in it.
This PR (#492) adds an example of such a file to the test suite.
I was able to profile the file with
samply
and can share the performance results:Around 20% of the time is spent in
TermDag::to_string
. We should add a way to disable printing extracting values to strings, because when using with the Python bindings, this work is thrown away.The remaining 80% is spent in
Extract::find_best
with about a third inside of that spent inVecSort::extract_expr
,ptr::drop_in_place<GenericExpr>
, andTermDag::expr_to_term
.The text was updated successfully, but these errors were encountered: