
This is not enabled by default. You need to run: Travis.Instrumentation.subscribe('render.view') To start capturing info
9 lines
262 B
CoffeeScript
9 lines
262 B
CoffeeScript
Travis.Instrumentation = {
|
|
subscribe: (event) ->
|
|
Em.subscribe event,
|
|
before:(name, timestamp, payload) ->
|
|
timestamp
|
|
after: (name, timestamp, payload, start_timestamp) ->
|
|
console.log(name, payload, timestamp - start_timestamp)
|
|
}
|