Skip to content

docs: clarify IOptionsSnapshot<T> performance characteristics#1

Open
heissenberg06 wants to merge 1 commit into
mainfrom
fix/options-snapshot-perf-docs
Open

docs: clarify IOptionsSnapshot<T> performance characteristics#1
heissenberg06 wants to merge 1 commit into
mainfrom
fix/options-snapshot-perf-docs

Conversation

@heissenberg06
Copy link
Copy Markdown
Owner

Summary

Added a "Performance considerations" subsection under the
"Use IOptionsSnapshot to read updated data" section to clarify
that IOptionsSnapshot<T> recomputes the full options pipeline
on every scope, regardless of whether configuration has changed,
and documents cheaper alternatives (IOptions<T> and
IOptionsMonitor<T>).

Fixes dotnet#53890

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.

Docs: clarify IOptionsSnapshot<T> performance characteristics

1 participant