-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance issue #2
Comments
That's because Sprockets does a lot of things in order to serve your assets (compress them, set headers, etc.). You can use Rack::Static if you want a more performant solution (obviously you won't get an "asset pipeline"). Here is an example: https://github.com/patriciomacadden/hobbit/wiki/Serving-static-files |
Ok, so you're saying it's normal behavior that the /assets block and sprockets is called, even after commenting out these lines in application.erb:
|
That shouldn't happen. If you don't request any |
I'm benchmarking Hobbit with "hat" and I'm seeing some weird behavior.
I'm using Puma:
The results are not that great on the latest iMac:
However, if I comment out everything inside the /assets block, plus remove the assets from the layout file, I get a pretty decent result:
In other words:
What's the reason for this slowness, anything that can be done to speed things up?
The text was updated successfully, but these errors were encountered: