This repository implements the fib function in several languages and measures the execution time for each of them.
gcc -O3 main.c -o main && ./mainNotes: this one runs only on MacOS. Unfortunately I couldn't find a portable way of getting time in nanoseconds. If you know a way, please make a pull request.
clio rungo run .node index.jsWith Python:
python3 main.pyWith PyPy:
pypy3 main.py
