davglass / bp-profiler

BrowserPlus based Javascript Profiler

This URL has Read+Write access

name age message
file README Wed Apr 22 12:57:29 -0700 2009 Updated README [Dav Glass]
directory src/ Mon Dec 22 10:14:07 -0800 2008 hack on profiler a bit. don't use callback met... [Lloyd Hilaiel]
directory tests/ Tue Feb 03 10:48:19 -0800 2009 File reorg [Dav Glass]
README
This project's goal is to create a BrowserPlus[1] plugin to profile Javascript.

Service Description:

A service that analyzes the memory and cpu usage of a web browser. The service can take 1 sample or multiple samples at 
a specified
interval. When sampling at intervals, at most 1,000 samples are taken. If you provide a callback function, your 
javascript will be called
after every sample is taken. If no callback is provided, all samples are stored in an array and returned after start() 
completes or stop()
is called.

Right now it's a hack, no, a kludge that's brittle, ugly and smells bad.
It's osx only.

How to get the service installed:

    cd src/native_service/
    make

Now visit the html files under the tests directory


[1] http://developer.yahoo.com/browserplus