SAW simulator backend performance regressions #1425
Labels
performance
Issues that involve or include performance problems
regression
Something that used to work, but now doesn't
type: bug
Issues reporting bugs or unexpected/unwanted behavior
Milestone
Some uses of SAW simulator backends have slowed down by a factor of about 6x since the saw-0.7 release in Dec 2020. I noticed the regression in a proof script that proved a bunch of rewrite rules using
prove_print
with therme
tactic. (Unlike many calls to external provers, the actual solver time here is fast enough that the simulator overhead is the dominant factor in the total time.)The slowdown did not happen all at once; saw-0.8 was about 3x slower that 0.7, and then the current master version of saw is another 2x slower than 0.8. I did a series of bisections and identified a few points where the proof times jumped by noticeable amounts:
GlobalDef
toConstant
for definitions in .sawcore files. saw-core#118 (of which GaloisInc/saw-core@9dfb209 is the important commit). ~3x slowdownPrim
type, which is used for implementing primitives", ~40% slowdownwithSolver
calls", ~10% slowdownThe text was updated successfully, but these errors were encountered: