The dramatic slowdown started with https://gcc.gnu.org/r198096
Closing as a dup. *** This bug has been marked as a duplicate of bug 1619758 ***