|
| 1 | +ensemble:~/p/ruby/vpim/trunk % time /opt/local/bin/ruby -I lib -rprofile ./profile.rb |
| 2 | + % cumulative self self total |
| 3 | + time seconds seconds calls ms/call ms/call name |
| 4 | + 20.53 73.27 73.27 80616 0.91 1.25 Vpim::Methods.casecmp? |
| 5 | + 17.16 134.53 61.26 16916 3.62 47.95 Array#each |
| 6 | + 7.87 162.61 28.08 66300 0.42 2.09 Proc#call |
| 7 | + 7.63 189.85 27.24 79313 0.34 1.59 Vpim::DirectoryInfo::Field#name? |
| 8 | + 4.71 206.67 16.82 6506 2.59 3.89 Vpim::DirectoryInfo::Field#decode0 |
| 9 | + 2.76 216.51 9.84 84516 0.12 0.12 String#== |
| 10 | + 2.64 225.92 9.41 14300 0.66 1.68 Vpim::DirectoryInfo#enum_by_name |
| 11 | + 2.53 234.94 9.02 80616 0.11 0.11 String#casecmp |
| 12 | + 2.40 243.51 8.57 80691 0.11 0.11 Fixnum#== |
| 13 | + 2.33 251.82 8.31 66300 0.13 0.13 Proc#== |
| 14 | + 2.09 259.29 7.47 14300 0.52 14.92 Vpim::DirectoryInfo#each |
| 15 | + 2.00 266.43 7.14 14300 0.50 15.42 Vpim::Enumerator#each |
| 16 | + 1.80 272.85 6.42 6506 0.99 5.17 Vpim::DirectoryInfo::Field#initialize |
| 17 | + 1.69 278.89 6.04 23413 0.26 26.02 Class#new |
| 18 | + 1.66 284.80 5.91 1300 4.55 212.08 Vpim::Icalendar::Vevent#initialize |
| 19 | + 1.48 290.08 5.28 7800 0.68 19.36 Vpim::DirectoryInfo#text |
| 20 | + 1.46 295.30 5.22 14300 0.37 0.54 Proc#new |
| 21 | + 1.07 299.11 3.81 6502 0.59 1.03 Vpim::DirectoryInfo::Field#param |
| 22 | + 1.06 302.89 3.78 1 3780.00 4800.00 IO#each |
| 23 | + 1.01 306.49 3.60 6502 0.55 1.58 Vpim::DirectoryInfo::Field#encoding |
| 24 | + 0.99 310.02 3.53 6502 0.54 2.29 Vpim::DirectoryInfo::Field#value |
| 25 | + 0.97 313.49 3.47 5200 0.67 15.40 Vpim::DirectoryInfo#field |
| 26 | + 0.96 316.93 3.44 14300 0.24 0.24 Vpim::Enumerator#initialize |
| 27 | + 0.87 320.03 3.10 7800 0.40 17.11 Enumerable.map |
| 28 | + 0.82 322.97 2.94 6506 0.45 5.97 Vpim::DirectoryInfo::Field#decode |
| 29 | + 0.72 325.54 2.57 22114 0.12 0.12 String#upcase |
| 30 | + 0.69 328.01 2.47 14300 0.17 0.17 Object#initialize |
| 31 | + 0.65 330.34 2.33 2600 0.90 1.71 String#scan |
| 32 | + 0.49 332.09 1.75 16913 0.10 0.10 Array#<< |
| 33 | + 0.48 333.81 1.72 7802 0.22 0.30 Hash#[] |
| 34 | + 0.45 335.41 1.60 10405 0.15 0.15 Array#first |
| 35 | + 0.42 336.91 1.50 7802 0.19 0.20 Kernel.=== |
| 36 | + 0.41 338.37 1.46 1301 1.12 3.43 Vpim::DirectoryInfo#initialize |
| 37 | + 0.37 339.70 1.33 1300 1.02 4.68 Vpim::DirectoryInfo::Field#to_text |
| 38 | + 0.36 340.97 1.27 1 1270.00 40120.00 Array#collect |
| 39 | + 0.35 342.23 1.26 13024 0.10 0.10 Fixnum#> |
| 40 | + 0.33 343.41 1.18 7808 0.15 0.15 Module#=== |
| 41 | + 0.29 344.46 1.05 6506 0.16 0.19 Hash#each |
| 42 | + 0.29 345.48 1.02 1300 0.78 20.22 Vpim::DirectoryInfo#[] |
| 43 | + 0.23 346.29 0.81 6506 0.12 0.12 String#length |
| 44 | + 0.23 347.10 0.81 7806 0.10 0.10 Kernel.freeze |
| 45 | + 0.22 347.90 0.80 7807 0.10 0.10 Array#push |
| 46 | + 0.22 348.67 0.77 6506 0.12 0.12 MatchData#[] |
| 47 | + 0.20 349.37 0.70 7809 0.09 0.09 String#to_str |
| 48 | + 0.19 350.04 0.67 1301 0.51 5.18 Vpim.outer_inner |
| 49 | + 0.18 350.67 0.63 3900 0.16 0.16 String#gsub |
| 50 | + 0.17 351.29 0.62 6502 0.10 0.10 Hash#default |
| 51 | + 0.17 351.88 0.59 6506 0.09 0.09 String#strip! |
| 52 | + 0.16 352.46 0.58 1301 0.45 4.16 Vpim::DirectoryInfo#create |
| 53 | + 0.16 353.04 0.58 6506 0.09 0.09 String#chomp! |
| 54 | + 0.16 353.61 0.57 6506 0.09 0.09 String#size |
| 55 | + 0.15 354.16 0.55 1303 0.42 1.44 Vpim::DirectoryInfo::Field#value? |
| 56 | + 0.15 354.71 0.55 10411 0.05 0.05 Array#last |
| 57 | + 0.15 355.25 0.54 1302 0.41 2.30 Enumerable.detect |
| 58 | + 0.15 355.77 0.52 1300 0.40 0.88 Vpim.decode_text |
| 59 | + 0.13 356.24 0.47 6526 0.07 0.07 Kernel.kind_of? |
| 60 | + 0.04 356.40 0.16 1300 0.12 0.12 Hash#key? |
| 61 | + 0.04 356.55 0.15 27 5.56 41.11 Kernel.require |
| 62 | + 0.03 356.65 0.10 1301 0.08 0.08 Array#pop |
| 63 | + 0.03 356.74 0.09 1300 0.07 0.07 Hash#[]= |
| 64 | + 0.01 356.78 0.04 259 0.15 0.15 Module#method_added |
| 65 | + 0.01 356.80 0.02 3 6.67 10.00 Integer#gcd |
| 66 | + 0.01 356.82 0.02 3 6.67 20.00 Rational#reduce |
| 67 | + 0.00 356.83 0.01 1 10.00 10.00 Date#civil_to_jd |
| 68 | + 0.00 356.84 0.01 5 2.00 2.00 Rational#initialize |
| 69 | + 0.00 356.85 0.01 1 10.00 20.00 Date#valid_civil? |
| 70 | + 0.00 356.86 0.01 91 0.11 0.11 Symbol#to_i |
| 71 | + 0.00 356.87 0.01 2 5.00 30.00 Rational#/ |
| 72 | + 0.00 356.88 0.01 82 0.12 0.12 Fixnum#* |
| 73 | + 0.00 356.89 0.01 91 0.11 0.11 Fixnum#to_s |
| 74 | + 0.00 356.89 0.00 107 0.00 0.00 Kernel.singleton_method_added |
| 75 | + 0.00 356.89 0.00 5 0.00 0.00 Module#included |
| 76 | + 0.00 356.89 0.00 2 0.00 0.00 Array#join |
| 77 | + 0.00 356.89 0.00 28 0.00 0.00 Module#module_eval |
| 78 | + 0.00 356.89 0.00 1 0.00 0.00 Class#new0 |
| 79 | + 0.00 356.89 0.00 2 0.00 0.00 Date#os? |
| 80 | + 0.00 356.89 0.00 4 0.00 0.00 Float#* |
| 81 | + 0.00 356.89 0.00 2 0.00 0.00 Fixnum#<= |
| 82 | + 0.00 356.89 0.00 1 0.00 0.00 Module#module_function |
| 83 | + 0.00 356.89 0.00 1 0.00 25780.00 Vpim.expand |
| 84 | + 0.00 356.89 0.00 1 0.00 0.00 Kernel.singleton_method_undefined |
| 85 | + 0.00 356.89 0.00 1 0.00 40.00 Rational#- |
| 86 | + 0.00 356.89 0.00 24 0.00 0.00 Fixnum#>> |
| 87 | + 0.00 356.89 0.00 10 0.00 0.00 Float#floor |
| 88 | + 0.00 356.89 0.00 8 0.00 0.00 Module#private_class_method |
| 89 | + 0.00 356.89 0.00 11 0.00 0.00 Fixnum#+ |
| 90 | + 0.00 356.89 0.00 4 0.00 0.00 Module#attr_reader |
| 91 | + 0.00 356.89 0.00 3 0.00 0.00 Fixnum#<< |
| 92 | + 0.00 356.89 0.00 3 0.00 20.00 Object#Rational |
| 93 | + 0.00 356.89 0.00 2 0.00 0.00 Module#attr |
| 94 | + 0.00 356.89 0.00 7 0.00 7.14 Date#once |
| 95 | + 0.00 356.89 0.00 1 0.00 0.00 Date#jd_to_civil |
| 96 | + 0.00 356.89 0.00 1 0.00 0.00 File#initialize |
| 97 | + 0.00 356.89 0.00 1 0.00 90.00 Date#new |
| 98 | + 0.00 356.89 0.00 1 0.00 356550.00 Vpim::Icalendar#decode |
| 99 | + 0.00 356.89 0.00 6 0.00 0.00 Fixnum#div |
| 100 | + 0.00 356.89 0.00 14 0.00 0.00 Class#inherited |
| 101 | + 0.00 356.89 0.00 2 0.00 0.00 Module#public |
| 102 | + 0.00 356.89 0.00 1 0.00 0.00 Array#== |
| 103 | + 0.00 356.89 0.00 2 0.00 0.00 Hash#keys |
| 104 | + 0.00 356.89 0.00 1 0.00 0.00 Module#undef_method |
| 105 | + 0.00 356.89 0.00 5 0.00 0.00 Module#append_features |
| 106 | + 0.00 356.89 0.00 47 0.00 0.00 Fixnum#[] |
| 107 | + 0.00 356.89 0.00 1 0.00 10.00 Vpim::DirectoryInfo#check_begin_end |
| 108 | + 0.00 356.89 0.00 4 0.00 0.00 Float#coerce |
| 109 | + 0.00 356.89 0.00 22 0.00 0.00 Module#alias_method |
| 110 | + 0.00 356.89 0.00 2 0.00 0.00 Module#method_undefined |
| 111 | + 0.00 356.89 0.00 6 0.00 0.00 Float#/ |
| 112 | + 0.00 356.89 0.00 1 0.00 285850.00 Vpim::Icalendar#initialize |
| 113 | + 0.00 356.89 0.00 1 0.00 0.00 Date#initialize |
| 114 | + 0.00 356.89 0.00 2 0.00 0.00 Array#+ |
| 115 | + 0.00 356.89 0.00 1 0.00 4800.00 Vpim.unfold |
| 116 | + 0.00 356.89 0.00 12 0.00 0.00 Fixnum#< |
| 117 | + 0.00 356.89 0.00 23 0.00 0.00 Module#private |
| 118 | + 0.00 356.89 0.00 5 0.00 0.00 Module#include |
| 119 | + 0.00 356.89 0.00 5 0.00 2.00 Rational#new! |
| 120 | + 0.00 356.89 0.00 6 0.00 0.00 Fixnum#abs |
| 121 | + 0.00 356.89 0.00 26 0.00 1.54 Fixnum#- |
| 122 | + 0.00 356.89 0.00 1 0.00 44920.00 Vpim.decode |
| 123 | + 0.00 356.89 0.00 26 0.00 0.00 Symbol#to_s |
| 124 | + 0.00 356.89 0.00 1 0.00 0.00 Kernel.open |
| 125 | + 0.00 356.89 0.00 1 0.00 0.00 Integer#to_r |
| 126 | + 0.00 356.89 0.00 1 0.00 0.00 Rational#coerce |
| 127 | + 0.00 356.89 0.00 1 0.00 70.00 Date#jd_to_ajd |
| 128 | + 0.00 356.89 0.00 4 0.00 0.00 Fixnum#/ |
| 129 | + 0.00 356.89 0.00 1 0.00 356890.00 #toplevel |
| 130 | + |
| 131 | +/opt/local/bin/ruby -I lib -rprofile ./profile.rb 356.98s user 10.38s system 100% cpu 6:07.22 total |
| 132 | + |
| 133 | + |
| 134 | + |
| 135 | + |
| 136 | + |
| 137 | + |
| 138 | + |
| 139 | + |
| 140 | + |
| 141 | + |
| 142 | + |
| 143 | + |
| 144 | + |
| 145 | + |
| 146 | + |
1 | 147 | ensemble:~/p/ruby/vpim/trunk % ruby -I lib profile.rb
|
2 | 148 | % cumulative self self total
|
3 | 149 | time seconds seconds calls ms/call ms/call name
|
|
0 commit comments