hi,
i did a small profile run here:
$ ruby -v
ruby 1.8.5 (2006-12-25 patchlevel 12) [x86_64-linux]
$ cat test2.rb
require 'yaml'
YAML.load(File.open('yaml'))
$ ruby -r profile test2.rb > test2.rb.txt
(output attached)
seems the yaml parser doesnt like the file size.
on the one hand side i wonder why you still track e.g. actionmailer 0.7
(i saw it when i glanced over the file), but on the other hand if gem
will grow, the problem would just return.
hope this helps
darix
--
openSUSE - SUSE Linux is my linux
openSUSE is good for you
www.opensuse.org
% cumulative self self total
time seconds seconds calls ms/call ms/call name
22.04 23.12 23.12 1 23120.00 104830.00 YAML::Syck::Parser#load
21.94 46.14 23.02 41677 0.55 0.86
YAML::Syck::Resolver#transfer
18.55 65.60 19.46 597020 0.03 0.14
#<YAML::Syck::Resolver:0x2acc76eda748>.node_import
7.03 72.97 7.37 255079 0.03 0.03 Hash#default
3.00 76.12 3.15 4089 0.77 2.38 Rational#reduce
2.76 79.02 2.90 6815 0.43 0.67 Rational#initialize
2.72 81.87 2.85 1363 2.09 3.23 Date#jd_to_civil
2.50 84.49 2.62 4089 0.64 0.80 Integer#gcd
2.34 86.95 2.46 41677 0.06 0.06
Object#yaml_tag_subclasses?
2.21 89.27 2.32 41677 0.06 0.06 Module#yaml_tag_read_class
1.08 90.40 1.13 16356 0.07 0.07 Fixnum#<
1.08 91.53 1.13 2726 0.41 3.58 Rational#/
0.99 92.57 1.04 25897 0.04 0.04 Kernel.kind_of?
0.95 93.57 1.00 1363 0.73 1.70 Date#civil_to_jd
0.85 94.46 0.89 4089 0.22 2.66 Object#Rational
0.82 95.32 0.86 18001 0.05 0.43 Fixnum#-
0.81 96.17 0.85 1363 0.62 5.58 Date#valid_civil?
0.77 96.98 0.81 6815 0.12 0.86 Rational#new!
0.75 97.77 0.79 41677 0.02 0.02
YAML::Object#yaml_initialize
0.67 98.47 0.70 2222 0.32 0.32 IO#read
0.59 99.09 0.62 13630 0.05 0.05 Float#floor
0.55 99.67 0.58 5452 0.11 0.22 Fixnum#/
0.55 100.25 0.58 5452 0.11 0.11 Float#coerce
0.49 100.76 0.51 6818 0.07 0.74 Class#new
0.47 101.25 0.49 10904 0.04 0.04 Fixnum#>
0.44 101.71 0.46 1363 0.34 12.66 Date#jd_to_ajd
0.41 102.14 0.43 6890 0.06 0.06 Fixnum#*
0.33 102.49 0.35 1363 0.26 18.55 Date#new
0.32 102.83 0.34 1363 0.25 2.93 Integer#to_r
0.31 103.15 0.32 2726 0.12 0.15 Date#os?
0.27 103.43 0.28 13937 0.02 0.02 Fixnum#+
0.26 103.70 0.27 1363 0.20 3.61 Rational#-
0.23 103.94 0.24 9541 0.03 0.03 Fixnum#==
0.14 104.09 0.15 5211 0.03 0.03 Time#utc
0.13 104.23 0.14 1363 0.10 1.39 Rational#coerce
0.10 104.33 0.10 6815 0.01 0.01 Fixnum#%
0.08 104.41 0.08 8178 0.01 0.01 Fixnum#div
0.08 104.49 0.08 5211 0.02 0.02 Time#at
0.07 104.56 0.07 10422 0.01 0.01 Time#to_i
0.07 104.63 0.07 8178 0.01 0.01 Fixnum#abs
0.07 104.70 0.07 1363 0.05 0.05 Date#initialize
0.05 104.75 0.05 2726 0.02 0.02 Module#===
0.04 104.79 0.04 16 2.50 13.75 Kernel.require
0.03 104.82 0.03 5452 0.01 0.01 Float#*
0.02 104.84 0.02 1363 0.01 0.07 Class#new0
0.02 104.86 0.02 8178 0.00 0.00 Float#/
0.01 104.87 0.01 25 0.40 0.40 Module#class_eval
0.01 104.88 0.01 26 0.38 0.38 Symbol#to_s
0.01 104.89 0.01 401 0.02 0.02 Module#method_added
0.01 104.90 0.01 28 0.36 0.36 Module#module_eval
0.01 104.91 0.01 2726 0.00 0.00 Fixnum#<=
0.00 104.91 0.00 22 0.00 0.00 Module#alias_method
0.00 104.91 0.00 2 0.00 0.00 Hash#keys
0.00 104.91 0.00 25 0.00 0.00 Module#attr_writer
0.00 104.91 0.00 25 0.00 0.00 Hash#has_key?
0.00 104.91 0.00 25 0.00 0.40 Module#yaml_as
0.00 104.91 0.00 7 0.00 1.43 Date#once
0.00 104.91 0.00 25 0.00 0.00 YAML.tag_class
0.00 104.91 0.00 2 0.00 0.00 Array#join
0.00 104.91 0.00 1 0.00 104830.00 YAML.load
0.00 104.91 0.00 1 0.00 0.00 YAML.resolver
0.00 104.91 0.00 1 0.00 0.00 IO#open
0.00 104.91 0.00 5 0.00 0.00 Module#attr_accessor
0.00 104.91 0.00 1 0.00 0.00 File#initialize
0.00 104.91 0.00 2 0.00 0.00
YAML::Syck::Resolver#initialize
0.00 104.91 0.00 1 0.00 0.00 YAML.parser
0.00 104.91 0.00 2 0.00 0.00 Module#public
0.00 104.91 0.00 1363 0.00 0.00 Array#==
0.00 104.91 0.00 2 0.00 0.00 Module#append_features
0.00 104.91 0.00 5 0.00 0.00
Module#private_class_method
0.00 104.91 0.00 2 0.00 0.00 Module#method_undefined
0.00 104.91 0.00 91 0.00 0.00 Fixnum#to_s
0.00 104.91 0.00 2 0.00 0.00 Module#include
0.00 104.91 0.00 1 0.00 0.00
YAML::Syck::Resolver#use_types_at
0.00 104.91 0.00 27 0.00 0.00 Class#inherited
0.00 104.91 0.00 23 0.00 0.00 Module#private
0.00 104.91 0.00 1 0.00 0.00 Module#undef_method
0.00 104.91 0.00 91 0.00 0.00 Symbol#to_i
0.00 104.91 0.00 1 0.00 0.00 IO#binmode
0.00 104.91 0.00 140 0.00 0.00
Kernel.singleton_method_added
0.00 104.91 0.00 1 0.00 0.00
YAML::Syck::Parser#set_resolver
0.00 104.91 0.00 1 0.00 0.00
Kernel.singleton_method_undefined
0.00 104.91 0.00 25 0.00 0.00 String#dump
0.00 104.91 0.00 2 0.00 0.00 Module#attr
0.00 104.91 0.00 1 0.00 0.00
YAML::Syck::Parser#initialize
0.00 104.91 0.00 1 0.00 0.00 Kernel.hash
0.00 104.91 0.00 10 0.00 2.00 Array#each
0.00 104.91 0.00 25 0.00 0.00 Hash#[]=
0.00 104.91 0.00 2 0.00 0.00 Module#included
0.00 104.91 0.00 2 0.00 0.00 Array#+
0.00 104.91 0.00 1 0.00 104910.00 #toplevel
_______________________________________________
Rubygems-developers mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers