Debug.Trace.traceEvent et al. is too expensive if disabled
@mpickering recently pointed out the existence of the ghc-trace-events library, which offers an cheaper alternative to the eventlog utilities in Debug.Trace. The problem with the latter is that they do appreciable work even if eventlogging is disabled. These should really be no-ops in this case.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information