Changeset - e71abaa857ed
[Not reviewed]
default
0 1 0
Drew Perttula - 11 years ago 2014-06-02 06:04:07
drewp@bigasterisk.com
curvecalc profile option
Ignore-this: 46fba69b29fe3b6da6c8ce782671ad8
1 file changed with 3 insertions and 2 deletions:
0 comments (0 inline, 0 general)
bin/curvecalc
Show inline comments
 
@@ -497,6 +497,7 @@ def main():
 
                      help="live reload of themes and code")
 
    parser.add_option("--startup-only", action='store_true',
 
                      help="quit after loading everything (for timing tests)")
 
    parser.add_option("--profile", action='store_true', help='profile')
 
    clientsession.add_option(parser)
 
    opts, args = parser.parse_args()
 

	
 
@@ -512,8 +513,8 @@ def main():
 

	
 
    graph.initiallySynced.addCallback(
 
        lambda _: launch(args, graph, session, opts, startTime, music))
 

	
 
    reactor.run()
 
    from light9 import prof
 
    prof.run(reactor.run, profile=opts.profile)
 

	
 
main()
 

	
0 comments (0 inline, 0 general)