Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Interesting results from benchmarking
[
{:type=>"Functional::Lists::SinglyLinked", :operation=>"#plus", :sample_size=>10000, :benchmark=>0.116519289},
{:type=>"Functional::Lists::SinglyLinked", :operation=>"#plus", :sample_size=>50000, :benchmark=>0.557987583},
{:type=>"Functional::Lists::SinglyLinked", :operation=>"#plus", :sample_size=>750000, :benchmark=>18.900261197},
{:type=>"Functional::Lists::SinglyLinked", :operation=>"#plus", :sample_size=>2000000, :benchmark=>145.656489316}
],
[
{:type=>"Array", :operation=>"#plus", :sample_size=>10000, :benchmark=>1.640012864},
{:type=>"Array", :operation=>"#plus", :sample_size=>50000, :benchmark=>5.108800796},
{:type=>"Array", :operation=>"#plus", :sample_size=>750000, :benchmark=>71.655338726},
{:type=>"Array", :operation=>"#plus", :sample_size=>2000001, :benchmark=>99.299921618}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.