0.1.0 • Published 11 years ago

lightprof v0.1.0

Weekly downloads
27
License
-
Repository
github
Last release
11 years ago

lightprof 0.0

A lightweight profiling tool for javascript.

Totally minimal at this point, hopefully will get back to it soon and add some cool stuff.

Usage

var profiled1 		= new Something();
var not_profiled 	= new Something();
var profiled2 		= new SomethingElse();
var profiled3 		= new SomethingElse();

var Profiler = require('lightprof');

var profiler = new Profiler(); // options will be documented later. Or check the source.
profiler.start([profiled1, SomethingElse]); // array of profiled instances and classes

... do your stuff ...

var log = profiler.stop();
// -> { "Something.method1": {calls:..., timeOwn:..., timeTotal:...} , ... }
0.1.0

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago

0.0.0

11 years ago