lambda-buffers icon indicating copy to clipboard operation
lambda-buffers copied to clipboard

Compiler: Performance degradation

Open bladyjoker opened this issue 2 years ago • 1 comments

It seems like #75 introduced some performance issues.

lbf-comp -w goldens/good/work-dir -i goldens/good -f goldens/good/LambdaBuffers.lbf

Takes a couple of seconds to finish.

bladyjoker avatar Mar 21 '23 15:03 bladyjoker

With profiling enabled, it reveals:

image

Commands:

# Generate the compiler-input.pb
...

# Call with performance regression
cd lambda-buffers-compiler
cabal run lambda-buffers-compiler:exe:lbc compile -- -i ./compiler-input.pb -o compiler-output.pb +RTS -p

mputz86 avatar Jun 12 '23 09:06 mputz86