Replies: 1 comment
-
I feel that we only need to capture the backtrace when users encounter an |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I noticed
stat failed NotFound
can take as long as 1s. After investigation, I found the culprit isError::new
.Capturing a backtrace can be a quite expensive runtime operation [1][2]. Actually in this case (checking whether a file exists), the overhead is completely unnecessary. However, I'm also reluctant to disable backtrace completely because it may be useful in other cases. Any ideas how we can improve that?
log:
The added log:
Beta Was this translation helpful? Give feedback.
All reactions