prolix

A debug and benchmark mixin for atom modules


Keywords
debug, benchmark, atom, mixin
License
MIT
Install
npm install prolix@1.0.2

Documentation

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')