We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7028241 commit 965c5e8Copy full SHA for 965c5e8
cscs-checks/microbenchmarks/cpu/fft/fftw_benchmark.py
@@ -21,13 +21,12 @@ class FFTWTest(rfm.RegressionTest):
21
maintainers = ['AJ']
22
tags = {'benchmark', 'scs', 'craype'}
23
24
- @run_before('performance')
25
- def set_performance(self):
26
- self.perf_patterns = {
27
- 'fftw_exec_time': sn.extractsingle(
28
- r'execution time:\s+(?P<exec_time>\S+)', self.stdout,
29
- 'exec_time', float),
30
- }
+ @performance_function('s')
+ def fftw_exec_time(self):
+ return sn.extractsingle(
+ r'execution time:\s+(?P<exec_time>\S+)', self.stdout,
+ 'exec_time', float
+ )
31
32
@sanity_function
33
def found_execution_time(self):
0 commit comments