changeset 1658:ae9f5ac1a48b

sequencer logging Ignore-this: 1ec02885f6c28015576b3b00116afa00
author drewp@bigasterisk.com
date Sat, 10 Jun 2017 23:32:27 +0000
parents 50267ea8c675
children 16e0af42613f
files light9/effect/sequencer.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/light9/effect/sequencer.py	Sat Jun 10 23:31:50 2017 +0000
+++ b/light9/effect/sequencer.py	Sat Jun 10 23:32:27 2017 +0000
@@ -170,6 +170,7 @@
     def compileGraph(self):
         """rebuild our data from the graph"""
         log.info('compileGraph start')
+        t1 = time.time()
         g = self.graph
 
         sharedEffectOutputs = {}
@@ -178,7 +179,7 @@
             self.notes[song] = []
             for note in g.objects(song, L9['note']):
                 self.notes[song].append(Note(g, note, effecteval, sharedEffectOutputs))
-        log.info('compileGraph done')
+        log.info('compileGraph done %.2f ms', 1000 * (time.time() - t1))
 
     @stats.update.time()
     def update(self):