-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(profiler): remove from optimized builds
While the overhead of profiling is so small that it is difficult to measure, an optimized build should not be slowed down. Remove the corresponding code from optimized builds using conditional compilation. It is possible to opt-in to profiling by disabling `default-features`.
- Loading branch information
1 parent
1ecd11c
commit f434015
Showing
2 changed files
with
64 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters