Skip to content
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 benchmarks in README #24

Closed
kvirani opened this issue May 1, 2017 · 3 comments
Closed

Performance benchmarks in README #24

kvirani opened this issue May 1, 2017 · 3 comments

Comments

@kvirani
Copy link

kvirani commented May 1, 2017

The README is a pleasure to read, and quite extensive!

That said, I was expecting to see some benchmark comparisons (with vs without bootsnap) against one or more large rails apps... OSS ones like Discourse perhaps?

Can't wait to try out this gem in dev and hopefully eventually (partially) in production. Thanks for the amazing work!

@wjordan
Copy link
Contributor

wjordan commented May 4, 2017

FWIW, I've been seeing a ~50% improvement in boot times, using a file-based caching solution instead of the xattr implementation (see #25). (The xattr implementation may be faster, but it only supports OSX.)

I've been experimenting with booting code-dot-org, a large Rails app containing lots of translations within YAML files.

Without caching, the app loads in ~30 seconds, with caching it loads in ~15 seconds.

When loading only English locale, the app loads in ~5.7 seconds without caching, and ~2.7 seconds with.

@jules2689
Copy link
Contributor

  • Discourse reports a boot time reduction of approximately 50%, from roughly 6 to 3 seconds on one machine;
  • One of our smaller internal apps also sees a reduction of 50%, from 3.6 to 1.8 seconds;
  • Our core platform -- a rather large monolithic application -- boots about 75% faster, dropping from around 25s to 6.5s.

I'll add this to the readme

@jules2689
Copy link
Contributor

d99fa76

Thanks for the suggestion 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants