You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We ran into a situation where the elmah details page was taking ~8s to load when an error was thrown from our app running inside of docker. I narrowed it down to the call to ErrorDetailHelper.MarkupStackTrace
I was able to reproduce the problem by capturing the Error.Detail values from inside and outside of docker and putting them into unit tests.
I did a find and replace of \ with / in the slow version and that didn't seem to affect the speed of parsing. I haven't tried to debug/profile yet, which may narrow down the problem.
The text was updated successfully, but these errors were encountered:
We ran into a situation where the elmah details page was taking ~8s to load when an error was thrown from our app running inside of docker. I narrowed it down to the call to
ErrorDetailHelper.MarkupStackTrace
I was able to reproduce the problem by capturing the
Error.Detail
values from inside and outside of docker and putting them into unit tests.belav@a8b9409
ThisIsSlow - takes ~20s to run
ThisIsFast - takes ~0s to run
Diffing the strings, one obvious change is
ThisIsSlow uses windows paths such as
ThisIsFast uses linux paths such as
I did a find and replace of
\
with/
in the slow version and that didn't seem to affect the speed of parsing. I haven't tried to debug/profile yet, which may narrow down the problem.The text was updated successfully, but these errors were encountered: