Skip to content

Commit

Permalink
Python cpu test - add a comment around reason for print
Browse files Browse the repository at this point in the history
  • Loading branch information
r1viollet committed Aug 4, 2023
1 parent 829edb1 commit 3398098
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scenarios/python_cpu/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ def main():
while time() < end:
a()
b()
# We add a print to prevent optimization that could turn this into a no-op program
print(x)

def a():
Expand Down

0 comments on commit 3398098

Please sign in to comment.