Created
October 20, 2012 00:29
-
-
Save jmstacey/3921425 to your computer and use it in GitHub Desktop.
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
Jon-Staceys-iMac:Desktop jon$ time jmstacey-rubinius/bin/rbx -X19 -Xprofile ./obj.rb | |
1000000 objects created. | |
2000000 objects created. | |
3000000 objects created. | |
4000000 objects created. | |
5000000 objects created. | |
6000000 objects created. | |
7000000 objects created. | |
8000000 objects created. | |
9000000 objects created. | |
10000000 objects created. | |
Thread 1: total running time: 33.458582660000005s | |
% cumulative self self total | |
time seconds seconds calls ms/call ms/call name | |
------------------------------------------------------------ | |
41.78 33.43 13.99 1 13989.72 33427.21 script:/Users/jon/Desktop/obj.rb | |
21.44 7.18 7.18 25 287.17 287.17 GC.collect_mature | |
18.61 6.23 6.23 103 60.49 60.49 GC.collect_young | |
9.46 4.07 3.17 10000201 0.00 0.00 Array#<< | |
2.60 1.07 0.87 10000000 0.00 0.00 TestObject#initialize | |
2.11 0.91 0.71 10000201 0.00 0.00 Array#set_index | |
1.44 0.68 0.48 10000000 0.00 0.00 Fixnum#% | |
1.39 12.48 0.46 10000800 0.00 0.00 Class#allocate | |
1.00 0.53 0.33 10000004 0.00 0.00 Fixnum#>= | |
0.01 0.00 0.00 10 0.42 0.42 Rubinius::CodeLoader#load_compiled_file | |
0.01 0.01 0.00 279 0.01 0.02 Array#each | |
0.01 0.01 0.00 12 0.25 0.90 Rubinius::CodeLoader#require | |
0.01 0.01 0.00 10 0.30 0.64 Rubinius::CodeLoader#load_file | |
0.01 0.00 0.00 117 0.02 0.02 Rubinius.attach_method | |
0.01 0.01 0.00 72 0.04 0.07 Rubinius.synchronize | |
0.01 0.00 0.00 405 0.01 0.01 Hash#[]= | |
0.01 0.03 0.00 12 0.21 2.50 Rubinius::CodeLoader.require | |
0.01 0.00 0.00 133 0.02 0.03 Rubinius::CodeLoader#check_path | |
0.01 0.00 0.00 169 0.01 0.01 String#gsub! | |
0.01 0.00 0.00 144 0.01 0.01 File::Stat.stat | |
0.01 0.00 0.00 12 0.18 0.38 Rubinius::CodeLoader::require<103> {} | |
0.01 0.00 0.00 12 0.17 0.36 Rubinius::CodeLoader#resolve_require_path | |
0.01 0.00 0.00 346 0.01 0.01 Hash#new_bucket | |
0.01 0.00 0.00 12 0.15 0.33 Rubinius::CodeLoader#verify_require_path | |
0.01 0.00 0.00 72 0.02 0.05 Rubinius::CodeLoader::search_require_path<299> {} | |
0.01 0.00 0.00 12 0.14 0.32 Rubinius::CodeLoader#search_require_path | |
0.00 0.00 0.00 18 0.09 0.09 Module#define_method | |
0.00 33.45 0.00 10 0.16 3345.42 Rubinius.run_script | |
0.00 0.00 0.00 1 1.51 1.51 Gem::Platform.__class_init__ | |
0.00 0.00 0.00 1 1.29 1.29 script:/Users/jon/Desktop/jmstacey-rubinius/lib/rubygems/exceptions.rb | |
0.00 0.00 0.00 134 0.01 0.02 Rubinius::CodeLoader#loadable? | |
0.00 0.00 0.00 13 0.08 0.08 Module#autoload | |
0.00 0.00 0.00 1 0.99 3.36 Gem.__module_init__ | |
0.00 0.00 0.00 1 0.87 2.38 script:/Users/jon/Desktop/jmstacey-rubinius/lib/rubygems/platform.rb | |
0.00 0.00 0.00 1 0.86 4.31 script:/Users/jon/Desktop/jmstacey-rubinius/lib/rubygems/defaults/rbx.rb | |
0.00 0.00 0.00 140 0.01 0.01 RbConfig::RbConfig<223> {} | |
0.00 0.00 0.00 18 0.04 0.12 Gem::Deprecate::deprecate<51> {} | |
0.00 0.03 0.00 1 0.66 26.83 script:/Users/jon/Desktop/jmstacey-rubinius/lib/rubygems.rb | |
0.00 0.00 0.00 169 0.00 0.01 RbConfig.expand | |
0.00 0.01 0.00 1 0.55 6.93 RbConfig.__module_init__ | |
0.00 33.43 0.00 1 0.46 33427.69 Rubinius::CodeLoader#load_script | |
0.00 0.00 0.00 18 0.02 0.12 Module#class_eval | |
0.00 33.43 0.00 1 0.38 33428.09 Rubinius::Loader#script | |
0.00 0.01 0.00 1 0.38 8.69 script:/Users/jon/Desktop/jmstacey-rubinius/lib/rbconfig.rb | |
0.00 0.03 0.00 10 0.04 3.00 Kernel#require | |
11 methods omitted | |
56 methods called a total of 60,004,011 times | |
real 0m40.611s | |
user 0m39.818s | |
sys 0m0.731s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment