Skip to content

Do not use initialize modules MEF catalog if the only module in play is Roslyn or Mono#965

Merged
adamralph merged 4 commits into
scriptcs:devfrom
filipw:bugfix/964
Mar 7, 2015
Merged

Do not use initialize modules MEF catalog if the only module in play is Roslyn or Mono#965
adamralph merged 4 commits into
scriptcs:devfrom
filipw:bugfix/964

Conversation

@filipw

@filipw filipw commented Mar 7, 2015

Copy link
Copy Markdown
Member

Fixes #964

Great perf benefit - improves startup from ~1.5s to ~0.5s.

Tested on Win and OS X

@adamralph adamralph self-assigned this Mar 7, 2015
@adamralph

Copy link
Copy Markdown
Contributor

Awesome @filipw!

Although the docker based Travis CI config is a vast improvement, it still fails with the intermittent xunit output path issue 😒. Re-running...

adamralph added a commit that referenced this pull request Mar 7, 2015
Do not use initialize modules MEF catalog if the only module in play is Roslyn or Mono
@adamralph adamralph merged commit e5d42bd into scriptcs:dev Mar 7, 2015
@adamralph

Copy link
Copy Markdown
Contributor

Added #964 to the 0.14 release notes

@adamralph

Copy link
Copy Markdown
Contributor

I've tested locally and my total time to start REPL in an empty folder has gone from ~2 seconds to ~1 second :fistbump:

@filipw

filipw commented Mar 7, 2015

Copy link
Copy Markdown
Member Author

I wonder why is it that slow for you though, you have seen the profiler results (against debug build and started from VS) and it's ~500ms. And that's in a VM!

@filipw

filipw commented Mar 7, 2015

Copy link
Copy Markdown
Member Author

:shipit:

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Only scan for modules when -m is specified

2 participants