Created
December 21, 2013 19:28
-
-
Save thatrubylove/8073789 to your computer and use it in GitHub Desktop.
Interesting results from benchmarking
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{: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