Calculate script time


#1

Based from HAR dump example or viewing mitmproxy’s detailed info I see elapsed time in every call step.
Is it possible to calculate spent time in user defined script?

Thanks


#2

I report a very high CPU usage if I have dozens of addon added at mitmdump startup.


#3

Is that on 3.0 or on master? There are significant speed improvements on the latter (which will soon be 4.0). You should be able to just time individual hooks manually, we don’t have anything builtin for that.


#4

I’m on 3.0.4.
I’m waiting 4.0 release.


#5

Ha, there you go :wink: