[cu2qu.benchmark] Document main()
This commit is contained in:
parent
80033bb2a0
commit
4669372b46
@ -39,6 +39,7 @@ def run_benchmark(
|
||||
print('\t%5.1fus' % (min(results) * 1000000. / number))
|
||||
|
||||
def main():
|
||||
"""Benchmark the cu2qu algorithm performance."""
|
||||
run_benchmark('cu2qu.benchmark', 'cu2qu', 'curve_to_quadratic')
|
||||
run_benchmark('cu2qu.benchmark', 'cu2qu', 'curves_to_quadratic')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user