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

Reduce the bootstrapping time for FubuMVC applications #561

Closed
jeremydmiller opened this issue Jan 7, 2014 · 4 comments
Closed

Reduce the bootstrapping time for FubuMVC applications #561

jeremydmiller opened this issue Jan 7, 2014 · 4 comments

Comments

@jeremydmiller
Copy link
Member

There's lots of low hanging fruit and opportunity for parallelizing the startup time

@jeremydmiller
Copy link
Member Author

Alrighty then, I'm declaring success on this today. What I did to address the issue (mostly parallelization):

  1. View discovery is done in parallel to the rest of the BehaviorGraph construction
  2. The new lightweight asset pipeline is much, much lighter weight and happens in parallel
  3. AccessorRules discovery is parallelized
  4. Html Convention construction and discovery is parallelized
  5. Conneg rules are now applied lazily on the first usage of a chain instead of being all upfront
  6. There are many fewer configuration policies that have to do a full table scan on the BehaviorGraph
  7. Bottle imports are built in parallel with the main application, then imported.
  8. There are substantially fewer Activator's (mostly from killing off the old asset pipeline)

@KevM
Copy link
Contributor

KevM commented Apr 23, 2014

This sounds great! Any benchmarks about the benefits seen by a typical app?

@CoreyKaylor
Copy link
Contributor

Not there yet Kevin, but feel free to chime in with your own benchmarks.

@KevM
Copy link
Contributor

KevM commented Apr 23, 2014

Somehow I knew that would be the answer. ⛵ I'll let you know what I find out.

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

No branches or pull requests

3 participants