Aamir Abro
Aamir Abro

Reputation: 858

How to profile QtScript Code?

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.

Upvotes: 6

Views: 216

Answers (2)

Johannes Munk
Johannes Munk

Reputation: 305

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

Cheers,

Johannes

Upvotes: 1

user3328917
user3328917

Reputation: 36

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.

Upvotes: 2

Related Questions