Python Interpreters Benchmarks
x64 ArchLinux : AMD® Ryzen 7 4700U®

 performance measurements

Each table row shows performance measurements for this program with a particular command-line input value N.

 N  CPU secs Elapsed secs Memory KB Code B ≈ CPU Load

Read the ↓ make, command line, and program output logs to see how this program was run.

Read  benchmark to see what this program should do.

 notes

  source code

import sys


def fib(n):
    a, b = 0, 1
    for i in range(n):
        a, b = b, a + b
    return a

print fib(int(sys.argv[1]))

 make, command-line, and program output logs

 Fri, 30 Oct 2020 19:09:37 GMT

MAKE:
make[1]: Vstupuje se do adresáře „/home/dundee/work/pybenchmarks/bencher/tmp/fibonacci/tmp“
grumpc fibonacci.grumpy-2.grumpy > fibonacci.grumpy-2.grumpy.go
GOPATH not set
make[1]: *** [/home/dundee/work/pybenchmarks/bencher/makefiles/my.linux.Makefile:47: fibonacci.grumpy-2.grumpy_run] Chyba 1
make[1]: Opouští se adresář „/home/dundee/work/pybenchmarks/bencher/tmp/fibonacci/tmp“
0.06s to complete and log all make actions

COMMAND LINE:
 ./fibonacci.grumpy-2.grumpy_run 1000000

MAKE ERROR 

Revised BSD license

  Home   Conclusions   License   Play