public
Description: A tool to profile QScript (Javascript)
Homepage:
Clone URL: git://github.com/icefox/qscriptprofiler.git
README
qscriptprofiler is a profiler for QtScript (a Javascript language that is part of Qt)

qscriptprofiler runs with script files as arguments that are each executed in the order they are passed.  At the end it 
will generate a callgrind file that can be loaded in KCachegrind.  KCachegrind is a very good visual tool for profile 
data.  qscriptprofiler uses gettimeofday() to determine how long something takes so there is the possibility that it 
isn't completly accurate if your system is under heavy load.  The profiler can be used in other projects and a pri file 
is included.  QSProfiler uses the QScriptEngineAgent which is part of Qt 4.4 and greater (As of this writing 4.4 isn't 
released, but you can down snapshots) 

For more information about kcachegrind go here:
http://kcachegrind.sourceforge.net/cgi-bin/show.cgi

For more information about QtScript go here:
http://doc.trolltech.com/4/qtscript.html

TO BUILD:
---
qmake
make

An example is included which is the traveling salsman problem as solved with a genetic algorithm.  To run it do the 
following:
./qscriptprofiler examples/javascriptgeneticalgorithm.js examples/travelingsalesman.js 

- Benjamin Meyer