Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Old/profilertest.py
diff options
context:
space:
mode:
Diffstat (limited to 'Old/profilertest.py')
-rwxr-xr-xOld/profilertest.py28
1 files changed, 0 insertions, 28 deletions
diff --git a/Old/profilertest.py b/Old/profilertest.py
deleted file mode 100755
index 3df262b..0000000
--- a/Old/profilertest.py
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/python
-
-import time
-
-from Framework.Core.Profiler import TaskProfiler
-
-TP = TaskProfiler()
-
-
-for j in range(1,10):
- t1 = time.time()
- TP.ProfileBegin( "test" )
- print time.time() - t1
- for i in range(1,100000):i=i
- t1 = time.time()
- TP.ProfileEnd( "test" )
- print time.time() - t1
-
-TP.ProfileBegin( "alah" )
-for i in range(1,100000):j=i
-TP.ProfileEnd("alah")
-TP.ProfileBegin( "blah" )
-for i in range(1,100000):j=i
-TP.ProfileEnd("blah")
-
-print TP.ProfilePrint( "test" )
-
-print TP.PrintAll()