core: prepare to release v0.1.31 #2594
Merged
+45
−14
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
0.1.31 (May 11, 2023)
This release of
tracing-core
fixes a bug that caused threads whichcall
dispatcher::get_default
before a global default subscriber isset to never see the global default once it is set. In addition, it
includes improvements for instrumentation performance in some cases,
especially when using a global default dispatcher.
Fixed
Dispatch::none
ifdispatcher::get_default
is called beforedispatcher::set_global_default
(core: remove thread local caching of the global default subscriber #2593)Changed
Dispatch
that points at a global default subscriber nolonger requires an
Arc
reference count increment, improvingperformance substantially (core: remove thread local caching of the global default subscriber #2593)
dispatcher::get_default
no longer attempts to access a thread localif the scoped dispatcher is not in use, improving performance when the
default dispatcher is global (core: remove thread local caching of the global default subscriber #2593)
#[inline]
annotations called by theevent!
andspan!
macros to reduce the size of macro-generated code and improve
recording performance (
inline
several methods to maketracing::event!
smaller #2555)Thanks to new contributor @ldm0 for contributing to this release!