File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22import ndcctools .taskvine as vine
33import time
4+ import sys
45
56def func ():
67 return
@@ -45,7 +46,7 @@ def main():
4546 throughput = num_tasks / many
4647 chaining = num_tasks / one
4748
48- print (f"Throughput was { throughput } tasks per second" )
49+ print (f"\n Throughput was { throughput } tasks per second" )
4950 print (f"Chaining was { chaining } tasks per second" )
5051 print ("all tasks complete!" )
5152 assert throughput >= 110
Original file line number Diff line number Diff line change 22
33import ndcctools .taskvine as vine
44import time
5+ import sys
56
67if __name__ == "__main__" :
78
4546 one = end - start
4647 throughput = num_tasks / many
4748 chaining = num_tasks / one
48- print (f"Throughput was { throughput } tasks per second" )
49+ print (f"\n Throughput was { throughput } tasks per second" )
4950 print (f"Chaining was { chaining } tasks per second" )
5051 print ("all tasks complete!" )
5152 assert throughput >= 190
You can’t perform that action at this time.
0 commit comments