Pergunta

I know there are tools to profile pure javascript code like firebug and Chrome's Developer Tools, but I want to know if there are any good tools for profiling QTScript. Or how can I use these tools to profile QtScript code.

The use case for this is when there is a Desktop app whose most of the code is written in JavaScript with some code written in native QT/C++. In that scenario if someone wants to profile the the performance, what are some tools that can automate the profiling.

Foi útil?

Solução

There are not many tools designed primarily for profiling QtScript.

But there is one QscriptProfiler by Benjamin Meyer, I haven't used it personally but looks promising.

Outras dicas

I wrote a small QScriptEngineAgent that does the job for me. See my answer in QScriptEngineAgent - obtaining callee name.

Cheers,

Johannes

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top