You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Middleman uses a dope/weird system that implements types in Ruby using
metaprogramming (I highly recommend watching the talk by middleman's
creator about this - https://www.youtube.com/watch?v=W7qj_WFClls).
It's quite slow though. `NO_CONTRACTS=true` will turn off the system
and speed up building. It's [recommended in the middleman
docs](https://middlemanapp.com/basics/build-and-deploy).
```
$ time bundle exec middleman build
real 1m9.209s
user 4m55.782s
sys 0m51.051s
```
```
$ time NO_CONTRACTS=true bundle exec middleman build
real 0m58.144s
user 4m3.325s
sys 0m46.966s
```
0 commit comments