aboutsummaryrefslogtreecommitdiff
path: root/Profile.py
diff options
context:
space:
mode:
authorGravatar Thomas B Thompson <tbent@spice.(none)>2011-01-04 00:04:05 -0500
committerGravatar Thomas B Thompson <tbent@spice.(none)>2011-01-04 00:04:05 -0500
commit134de4472d3f2fa913944770595de9221dd27fdf (patch)
treecf83e29a1ef4931a15f9b30125fedbd8fba8caf9 /Profile.py
parentf9aeaf10e3c9077504a78374640e79415734546b (diff)
worked on profiling, made a bunch of changes, huge speedup!
Diffstat (limited to 'Profile.py')
-rw-r--r--Profile.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Profile.py b/Profile.py
new file mode 100644
index 0000000..45ccc35
--- /dev/null
+++ b/Profile.py
@@ -0,0 +1,4 @@
+import cProfile
+from LightInstallation import main
+command = """main(['', 'config/Outdoor.xml'])"""
+cProfile.runctx(command, globals(), locals(), filename="smootlight.profile")