Skip to content

Skip ConfigurationManager when not configured - #370

Merged
slozier merged 1 commit into
IronLanguages:mainfrom
slozier:config
Oct 21, 2026
Merged

slozier merged 1 commit into
IronLanguages:mainfrom
slozier:config

Conversation

@slozier

@slozier slozier commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

This avoids loading ConfigurationManager assemblies and initializing the configuration system when the app config has no microsoft.scripting section. IronPython doesn't normally use one, and skipping it saved about 40ms of startup time when tested locally. As a side effect, invalid config files without the section no longer error at startup.

@slozier
slozier merged commit ab42e2d into IronLanguages:main Oct 21, 2026
8 checks passed
@slozier
slozier deleted the config branch October 21, 2026 11:07
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

Successfully merging this pull request may close these issues.

1 participant