You learn interesting things when testing super-fast #hanami apps.

For example: that Faker is very slow to load and you should probably avoid it.

Or that database cleaning in really slow, so you should only clean when you really use the database.

#ruby

@katafrakt woah, I’d have never considered this!
@timriley @katafrakt this makes sense, faker comes with a loooot of files and we know that require is dead slow. Would be nice to do something about it.
@solnic @timriley @katafrakt dont bootsnap make require a lot faster?
@stoivo I can check but I have a feeling bootsnap won't help a lot in this case. Also it only works in CRuby.
@solnic @timriley
@katafrakt @solnic @timriley whats the best way of benchmarking require, is it possible to do with ips?
@stoivo That's an interesting problem. I don't know the answer from the top of my had. Perhaps fork a new process in which you just require?
@solnic @timriley