Skip to content

arxdsilva/fib-go-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

about

This is a comparison of golang's and rust's performance for a implementation of fibonacci algorithm.

running

go

    $ cd go
    $ go run test -bench=.

rust

    $ cd rust
    $ cargo run --release

results

name average (ns/operation)
fib_go_2k 4.918
fib_r_2k 2.339
fib_go_3k 11.244
fib_r_3k 4.345
fib_go_10k 83.450
fib_r_10k 34.594
fib_go_20k 140.047
fib_r_20k 122.787
fib_go_40k 474.574
fib_r_40k 467.620

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published