/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/tests/performance/ |
concatenation.py | 31 import timeit 34 t = timeit.Timer(statement, "from __main__ import " + statement)
|
/external/caliper/caliper/src/test/java/com/google/caliper/runner/ |
MalformedBenchmarksTest.java | 53 "Benchmark methods must not be static: timeIt"; 55 "Benchmark methods must have no arguments or accept a single int or long parameter: timeIt"; 78 @Benchmark void timeIt(int reps) {} 87 void timeIt(int reps) {} // not annotated 96 @Benchmark public static void timeIt(int reps) {} 106 @Benchmark void timeIt(Integer reps) {} 111 @Benchmark void timeIt(int reps, int what) {}
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
timeit.py | 12 python timeit.py [-n N] [-r N] [-s S] [-t] [-c] [-h] [--] [statement] 61 # Must be an older Python version (see timeit() below) 66 dummy_src_name = "<timeit-src>" 114 timeit() method. The repeat() method is a convenience to call 115 timeit() multiple times and return a list of results. 158 t.timeit(...) # or t.repeat(...) 178 def timeit(self, number=default_number): member in class:Timer 202 """Call timeit() a few times. 204 This is a convenience function that calls the timeit() 206 specifies how many times to call timeit(), defaulting to 3 227 def timeit(stmt="pass", setup="pass", timer=default_timer, function [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
timeit.py | 12 python timeit.py [-n N] [-r N] [-s S] [-t] [-c] [-h] [--] [statement] 61 # Must be an older Python version (see timeit() below) 66 dummy_src_name = "<timeit-src>" 114 timeit() method. The repeat() method is a convenience to call 115 timeit() multiple times and return a list of results. 158 t.timeit(...) # or t.repeat(...) 178 def timeit(self, number=default_number): member in class:Timer 202 """Call timeit() a few times. 204 This is a convenience function that calls the timeit() 206 specifies how many times to call timeit(), defaulting to 3 227 def timeit(stmt="pass", setup="pass", timer=default_timer, function [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
timeit.py | 12 python timeit.py [-n N] [-r N] [-s S] [-t] [-c] [-h] [--] [statement] 61 # Must be an older Python version (see timeit() below) 66 dummy_src_name = "<timeit-src>" 114 timeit() method. The repeat() method is a convenience to call 115 timeit() multiple times and return a list of results. 158 t.timeit(...) # or t.repeat(...) 178 def timeit(self, number=default_number): member in class:Timer 202 """Call timeit() a few times. 204 This is a convenience function that calls the timeit() 206 specifies how many times to call timeit(), defaulting to 3 227 def timeit(stmt="pass", setup="pass", timer=default_timer, function [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
timeit.py | 12 python timeit.py [-n N] [-r N] [-s S] [-t] [-c] [-h] [--] [statement] 61 # Must be an older Python version (see timeit() below) 66 dummy_src_name = "<timeit-src>" 114 timeit() method. The repeat() method is a convenience to call 115 timeit() multiple times and return a list of results. 158 t.timeit(...) # or t.repeat(...) 178 def timeit(self, number=default_number): member in class:Timer 202 """Call timeit() a few times. 204 This is a convenience function that calls the timeit() 206 specifies how many times to call timeit(), defaulting to 3 227 def timeit(stmt="pass", setup="pass", timer=default_timer, function [all...] |
/external/opencv3/doc/py_tutorials/py_core/py_optimization/ |
py_optimization.markdown | 67 In [6]: %timeit res = cv2.medianBlur(img,49) 76 In [9]: %timeit res = cv2.medianBlur(img,49) 87 magic command %timeit to perform this. It runs the code several times to get more accurate results. 91 x = 5; y = x\*x, x = np.uint8([5]); y = x\*x or y = np.square(x) ? We will find it with %timeit in 96 In [11]: %timeit y=x**2 99 In [12]: %timeit y=x*x 104 In [17]: %timeit y=z*z 107 In [19]: %timeit y=np.square(z) 122 In [35]: %timeit z = cv2.countNonZero(img) 125 In [36]: %timeit z = np.count_nonzero(img [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_cmd_line.py | 66 self.exit_code('-m', 'timeit', '-n', '1'), 71 # Runs the timeit module and checks the __main__ 73 p = spawn_python('-i', '-m', 'timeit', '-n', '1')
|
test_sundry.py | 80 import timeit
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_cmd_line.py | 66 self.exit_code('-m', 'timeit', '-n', '1'), 71 # Runs the timeit module and checks the __main__ 73 p = spawn_python('-i', '-m', 'timeit', '-n', '1')
|
test_sundry.py | 80 import timeit
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_cmd_line.py | 66 self.exit_code('-m', 'timeit', '-n', '1'), 71 # Runs the timeit module and checks the __main__ 73 p = spawn_python('-i', '-m', 'timeit', '-n', '1')
|
test_sundry.py | 80 import timeit
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_cmd_line.py | 66 self.exit_code('-m', 'timeit', '-n', '1'), 71 # Runs the timeit module and checks the __main__ 73 p = spawn_python('-i', '-m', 'timeit', '-n', '1')
|
test_sundry.py | 80 import timeit
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/ |
tracing_backend_unittest.py | 5 import timeit 191 startClock = timeit.default_timer() 210 return timeit.default_timer() - startClock
|
/external/autotest/client/tests/unixbench/ |
unixbench-4.1.0.tar.bz2 | |
/external/vulkan-validation-layers/ |
genvk.py | 35 # timeit - time length of registry loading & header generation 42 timeit = False variable 72 timeit = True variable 91 if (timeit):
|
/external/opencv3/doc/py_tutorials/py_imgproc/py_transforms/py_fourier_transform/ |
py_fourier_transform.markdown | 185 using IPython magic command %timeit. 213 In [22]: %timeit fft1 = np.fft.fft2(img) 215 In [23]: %timeit fft2 = np.fft.fft2(img,[nrows,ncols]) 220 In [24]: %timeit dft1= cv2.dft(np.float32(img),flags=cv2.DFT_COMPLEX_OUTPUT) 222 In [27]: %timeit dft2= cv2.dft(np.float32(nimg),flags=cv2.DFT_COMPLEX_OUTPUT)
|
/frameworks/native/opengl/tools/glgen2/registry/ |
genheaders.py | 33 # timeit - time length of registry loading & header generation 40 timeit = False variable 70 timeit = True variable 89 if (timeit):
|