Skip to content

HenrikHoyer/fibonacci-game

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fibonacci game

A fibonacci game for few languages, just for fun.

C/Clojure/go/python/nodejs/JAVA/Smalltalk 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
  • Smalltalk function call faster, but startup slower, compared to Java

About

A language benchmark game, just for fun.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 66.2%
  • Go 9.9%
  • Java 8.3%
  • C 8.2%
  • Clojure 4.6%
  • JavaScript 2.8%