Add python benchmark
This commit is contained in:
parent
4846775529
commit
b9c6f748ce
1 changed files with 8 additions and 0 deletions
8
benching/python3.7/test.py
Normal file
8
benching/python3.7/test.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
def slow_fibo(n):
|
||||
if n <= 1:
|
||||
return 1
|
||||
return slow_fibo(n - 1) + slow_fibo(n - 2)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
slow_fibo(35)
|
Loading…
Reference in a new issue