haskell-beam / haskell-beam/beam

defaultDbSettings slow to build in release mode

Open
#359 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
635
Forks
193
PR merge metrics
No merged PRs in 30d

Description

Changing this line:

```haskell
folq :: DatabaseSettings be Folq
folq = defaultDbSettings
```

to

```haskell
folq :: DatabaseSettings be Folq
folq = undefined
```

saves about 40 seconds of build time on my machine. Here `Folq` is a database with around 20 tables. If I build without optimisation (by passing `--fast` to Stack) it only saves about a second, which I can live with.

Is there any way to speed this up?

Cheers!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.