summaryrefslogtreecommitdiff
path: root/tools/hash_benchmark.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/hash_benchmark.py')
-rw-r--r--tools/hash_benchmark.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/hash_benchmark.py b/tools/hash_benchmark.py
index 8dd3ccf0b..f224474ed 100644
--- a/tools/hash_benchmark.py
+++ b/tools/hash_benchmark.py
@@ -34,12 +34,12 @@ def run_benchmark(deno_exe, method, input_file):
(out, _) = p.communicate()
elapsed = out.split(':')[1].strip()
- print "[{}] {}".format(alg, elapsed)
+ print("[{}] {}".format(alg, elapsed))
def main():
if len(sys.argv) < 4:
- print "Usage ./tools/hash_benchmark.py path/to/deno method input"
+ print("Usage ./tools/hash_benchmark.py path/to/deno method input")
sys.exit(1)
run_benchmark(sys.argv[1], sys.argv[2], sys.argv[3])