mobx.dart icon indicating copy to clipboard operation
mobx.dart copied to clipboard

The method 'debugFindConstructingStackFrame' inside Observer class is impacting performane

Open braj065 opened this issue 3 years ago • 1 comments

Hi,

I am using Mobx in a medium size project. When i look at devtools for which method is taking how much time, i see 'debugFindConstructingStackFrame' takes a lot of time.

image

Let me know if i am looking at the wrong thing. I also have the cpu profiler json. I will provide if required.

braj065 avatar Sep 05 '21 06:09 braj065

It seems like this method is only for debug purposes. You can disable it by settings debugAddStackTraceInObserverName to false. For more details please take a look at Observer class.

Ascenio avatar Oct 07 '21 12:10 Ascenio