Skip to content

compile time performance regression with OverloadedStrings and Text

There is a big performance regression in the compile time from ghc 7.10.1 to ghc 7.10.1.20150612

I believe it is in this file which has a huge literal value which also contains overloaded strings using Text:

https://github.com/JakeWheat/hssqlppp/blob/master/hssqlppp/src/Database/HsSqlPpp/Internals/Catalog/DefaultTemplate1Catalog.lhs

time cabal build with ghc 7.10.1

real	1m20.449s
user	2m5.040s
sys	0m48.504s

time cabal build with ghc 7.10.1.20150612

real	9m3.447s
user	12m19.704s
sys	3m25.724s

I am running debian 64 bit unstable with the ghc binary tarballs from here: https://www.haskell.org/ghc/

Edited by Thomas Miedema
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information