Mercurial > code > home > repos > light9
diff light9/web/graph.coffee @ 1537:b95b97177de6
console time logs
Ignore-this: 2017a9621712d22de1c367c5f1da71f
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Thu, 11 May 2017 05:30:51 +0000 |
parents | d4de13e83b7f |
children | 2713d2f7a0fc |
line wrap: on
line diff
--- a/light9/web/graph.coffee Thu May 11 05:20:15 2017 +0000 +++ b/light9/web/graph.coffee Thu May 11 05:30:51 2017 +0000 @@ -73,7 +73,9 @@ h = new Handler(func, label) @handlerStack[@handlerStack.length - 1].innerHandlers.push(h) + console.time("handler #{label}") @_rerunHandler(h, null) + console.timeEnd("handler #{label}") _rerunHandler: (handler, patch) -> handler.patterns = []