janmarek/WebLoader

Tracy panel might be disabled by default

janedbal opened this issue · 5 comments

I'm not sure if debugger should be enabled by default for debug mode. If you use some (slow) JS minifier and process about 40 files, it may take several seconds for every request (Panel::compute method will take that time). Also, you will not see this time in tracy execution time because it is rendered in shutdown function.

OMG. @fprochazka Why does panel compile the sources on every request? We should use the files which are already generated.

When I was refactoring it, I didn't use it on big files so I didn't notice it compiles them :-(

@janedbal can you try this 37cae88, please? I think it's fixed.

I consider this fixed, please reopen if the issue persists. Thanks for reporting.

@fprochazka Yes, now it works as expected. Thanks