1.0.2 • Published 10 years ago

prolix v1.0.2

Weekly downloads
5
License
-
Repository
github
Last release
10 years ago

Prolix

Build Status

A debug and benchmark mixin for Atom modules.

Prolix = require 'prolix'

module.exports =
class MyModule
  Prolix('my_module_channel').includeInto(this)

  someFunction: ->
    @log "in the function"

    @startBench()

    # do stuff

    @markIntermediateTime('some stuff done')

    # do more stuff

    @endBench('someFunction execution')