Skip to content

shenfeng/fibonacci-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fibonacci game

A fibonacci game for few languages, just for fun.

C/Clojure/go/python/nodejs/JAVA calculate fibonacci(40) recursively, record the total time and fibonacci(40) time.

This benchmark the language's function call speed. Fibonacci(40) has a total of 331160281 function calls.

Performance comparison chart

  • C is the fatest
  • Nodejs's function call is very efficient
  • Go's function call is very efficient
  • Java startups slower compared to C/go/python
  • Clojure startups slow, but runs quite fast
  • Python runs relatively slow, but startups quite fast

About

A language benchmark game, just for fun.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published