aboutsummaryrefslogtreecommitdiff
path: root/Profile.py
diff options
context:
space:
mode:
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")