-
Notifications
You must be signed in to change notification settings - Fork 19
Description
The changes incorporated with 62311a4 result in a massive increase in compile time. Compared to 47f4b88, we see compilation time for a random anyq benchmark rise from less than 1.5 seconds to over 7 seconds. The entire build slows down by over 27×, which makes this effectively a blocking issue, as what used to take < 3 min would now take well over an hour.
Based on some initial perf data (see below), it seems that artic post development branch merge spends almost half of the entire build time just rehashing hash tables during rewriting. THORIN_PROFILE does not yield any warnings regarding collisions, so this appears to be a consequence of the changes rather than just some issue with the hash tables.
repro.art, compile with --emit-llvm to reproduce problem