diku-dk/futhark

Performance regression due to https://github.com/diku-dk/futhark/pull/2133

Closed this issue · 1 comments

On this commit, my Futhark source code takes 47 seconds to compile. (I am using the multicore compiler, I have not checked yet if there are issues with other backends) On the next commit, 64235a1, the same code takes 497 seconds to compile.

I have not yet thoroughly benchmarked the code with the old and new versions. It may be that the performance improvements with the compiled code are well worth the change. Nevertheless, going from a compile/debug cycle of 47 seconds per iteration to 497 seconds per iteration is really just brutal and unfortunate. Would it be possible to improve the performance of this portion of the code so that the compilation times are not so extreme?

Attached, please find the source code for my current project, the main executable is unbalanced_gw.fut.

futhark.zip

Only happens with the multicore backend (and the others that use the multicore optimisation pass). At least that should make it easy to isolate the bug.