projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93f2a09
)
added common entry point to richards benchmark
author
Stefan Behnel
<stefan_ml@behnel.de>
Thu, 5 Jul 2012 10:24:29 +0000
(12:24 +0200)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Thu, 5 Jul 2012 10:24:29 +0000
(12:24 +0200)
Demos/benchmarks/richards.py
patch
|
blob
|
history
diff --git
a/Demos/benchmarks/richards.py
b/Demos/benchmarks/richards.py
index
6366952
..
2798e48
100644
(file)
--- a/
Demos/benchmarks/richards.py
+++ b/
Demos/benchmarks/richards.py
@@
-402,7
+402,7
@@
def entry_point(iterations):
endTime = time.time()
return result, startTime, endTime
-def main(
entry_point = entry_point, iterations = 10
):
+def main(
iterations = 10, entry_point = entry_point
):
print("Richards benchmark (Python) starting... [%r]" % entry_point)
result, startTime, endTime = entry_point(iterations)
if not result: