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

COMMAND LINE:
 /usr/bin/mono /opt/ipy/ipy.exe fibonacci.ipy-2.ipy 1000000

PROGRAM FAILED 


PROGRAM OUTPUT:

Cannot open assembly '/opt/ipy/ipy.exe': Adresář nebo soubor neexistuje.

Revised BSD license

  Home   Conclusions   License   Play