Skip to content

Instantly share code, notes, and snippets.

@wanghq
Created August 10, 2013 07:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wanghq/6199530 to your computer and use it in GitHub Desktop.
Save wanghq/6199530 to your computer and use it in GitHub Desktop.
Thread ID: 70329309547740
Fiber ID: 70329342767160
Total: 0.004892
Sort by: self_time
%self total self wait child calls name
7.87 0.001 0.000 0.000 0.001 57 RubyLex#getc
5.05 0.001 0.000 0.000 0.001 5 RubyLex#identify_identifier
3.99 0.000 0.000 0.000 0.000 12 Hash#each
3.74 0.002 0.000 0.000 0.002 24 Proc#call
3.13 0.000 0.000 0.000 0.000 12 Array#&
3.00 0.000 0.000 0.000 0.000 2 Readline#readline
2.66 0.000 0.000 0.000 0.000 8 String#gsub
2.33 0.000 0.000 0.000 0.000 17 RubyLex#ungetc
2.15 0.000 0.000 0.000 0.000 149 Kernel#hash
2.15 0.000 0.000 0.000 0.000 12 String#gsub!
2.06 0.002 0.000 0.000 0.002 19 *IRB::SLex::Node#match_io
1.68 0.003 0.000 0.000 0.003 12 RubyLex#token
1.64 0.000 0.000 0.000 0.000 13 *RubyToken#Token
1.64 0.002 0.000 0.000 0.002 4 Kernel#eval
1.39 0.000 0.000 0.000 0.000 77 Kernel#kind_of?
1.39 0.000 0.000 0.000 0.000 2 Fog::Storage::AWS::Real#signature
1.21 0.000 0.000 0.000 0.000 97 Array#empty?
1.14 0.001 0.000 0.000 0.001 20 Class#new
1.14 0.000 0.000 0.000 0.000 48 <Class::RubyLex>#debug?
1.06 0.000 0.000 0.000 0.000 52 Symbol#to_s
1.00 0.000 0.000 0.000 0.000 12 IRB::Irb#prompt
0.98 0.000 0.000 0.000 0.000 57 Array#shift
0.88 0.000 0.000 0.000 0.000 54 String#==
0.86 0.003 0.000 0.000 0.003 12 IRB::SLex#match
0.84 0.000 0.000 0.000 0.000 16 Array#each
0.82 0.000 0.000 0.000 0.000 57 Array#push
0.82 0.003 0.000 0.000 0.003 2 RubyLex#lex
0.82 0.000 0.000 0.000 0.000 24 Kernel#respond_to?
0.74 0.000 0.000 0.000 0.000 20 Fog::Attributes::InstanceMethods#attributes
0.74 0.002 0.000 0.000 0.002 4 IRB::Irb#signal_status
0.72 0.000 0.000 0.000 0.000 2 Fog::Storage::AWS::Utils#host_path_query
0.70 0.002 0.000 0.000 0.001 2 CarrierWave::Storage::Fog::File#authenticated_url
0.70 0.000 0.000 0.000 0.000 54 Kernel#class
0.67 0.000 0.000 0.000 0.000 8 IRB::Context#verbose?
0.67 0.000 0.000 0.000 0.000 49 Module#===
0.63 0.000 0.000 0.000 0.000 20 Kernel#initialize_dup
0.61 0.000 0.000 0.000 0.000 17 RubyLex#peek
0.61 0.000 0.000 0.000 0.000 40 IO#getbyte
0.61 0.000 0.000 0.000 0.000 12 RubyToken::Token#initialize
0.61 0.000 0.000 0.000 0.000 14 Kernel#dup
0.59 0.005 0.000 0.000 0.005 1 RubyLex#each_top_level_statement
0.57 0.000 0.000 0.000 0.000 16 Array#join
0.57 0.000 0.000 0.000 0.000 4 Array#index
0.57 0.000 0.000 0.000 0.000 35 String#concat
0.55 0.000 0.000 0.000 0.000 12 Kernel#format
0.53 0.000 0.000 0.000 0.000 12 IRB::Notifier::LeveledNotifier#<=>
0.53 0.000 0.000 0.000 0.000 6 IRB::Context#prompting?
0.51 0.000 0.000 0.000 0.000 20 Fog::Attributes::ClassMethods#ignored_attributes
0.51 0.000 0.000 0.000 0.000 15 Regexp#===
0.51 0.000 0.000 0.000 0.000 4 Fog::Collection#new
0.51 0.000 0.000 0.000 0.000 6 Fog::Attributes::InstanceMethods#requires
0.49 0.000 0.000 0.000 0.000 17 String#[]
0.49 0.000 0.000 0.000 0.000 12 IRB::Notifier::LeveledNotifier#notify?
0.49 0.000 0.000 0.000 0.000 2 Fog::Storage::AWS::GetObjectHttpsUrl#get_object_https_url
0.47 0.000 0.000 0.000 0.000 8 Fog::Attributes::InstanceMethods#merge_attributes
0.47 0.000 0.000 0.000 0.000 4 CarrierWave::Uploader::Base#fog_credentials
0.45 0.000 0.000 0.000 0.000 6 Fog::Attributes::InstanceMethods#missing_attributes
0.45 0.000 0.000 0.000 0.000 12 IRB::Notifier::AbstractNotifier#printf
0.45 0.000 0.000 0.000 0.000 20 Fog::Attributes::ClassMethods#aliases
0.43 0.000 0.000 0.000 0.000 17 Array#unshift
0.41 0.000 0.000 0.000 0.000 7 RubyLex#getc_of_rests
0.41 0.000 0.000 0.000 0.000 21 Symbol#==
0.39 0.000 0.000 0.000 0.000 2 <Class::Fog::Time>#now
0.39 0.000 0.000 0.000 0.000 50 Kernel#eql?
0.37 0.000 0.000 0.000 0.000 30 Kernel#nil?
0.37 0.000 0.000 0.000 0.000 2 IO#write
0.35 0.000 0.000 0.000 0.000 6 RubyLex#prompt
0.35 0.000 0.000 0.000 0.000 20 Kernel#instance_variable_defined?
0.35 0.000 0.000 0.000 0.000 16 <Class::BasicObject>#allocate
0.35 0.000 0.000 0.000 0.000 2 CarrierWave::Uploader::Base#fog_authenticated_url_expiration
0.35 0.000 0.000 0.000 0.000 14 String#upcase
0.33 0.000 0.000 0.000 0.000 6 Array#|
0.33 0.000 0.000 0.000 0.000 22 Array#include?
0.31 0.000 0.000 0.000 0.000 5 RubyToken::TkId#initialize
0.31 0.000 0.000 0.000 0.000 12 Comparable#>=
0.31 0.000 0.000 0.000 0.000 22 NilClass#nil?
0.31 0.000 0.000 0.000 0.000 2 <Class::OpenSSL::HMAC>#digest
0.31 0.000 0.000 0.000 0.000 17 Array#pop
0.31 0.000 0.000 0.000 0.000 8 Fog::Storage::AWS::Files#directory
0.31 0.000 0.000 0.000 0.000 2 CarrierWave::Uploader::Base#fog_public
0.29 0.000 0.000 0.000 0.000 10 Hash#[]=
0.29 0.000 0.000 0.000 0.000 4 Fog::Collection#initialize
0.29 0.000 0.000 0.000 0.000 6 Enumerable#any?
0.29 0.000 0.000 0.000 0.000 12 Module#ancestors
0.29 0.000 0.000 0.000 0.000 2 CarrierWave::Uploader::Base#fog_directory
0.27 0.000 0.000 0.000 0.000 2 IRB::ReadlineInputMethod#gets
0.27 0.000 0.000 0.000 0.000 15 Kernel#respond_to_missing?
0.27 0.000 0.000 0.000 0.000 12 String#unpack
0.25 0.000 0.000 0.000 0.000 2 RubyLex#buf_input
0.25 0.000 0.000 0.000 0.000 6 <Module::Fog::AWS>#escape
0.25 0.002 0.000 0.000 0.002 4 IRB::WorkSpace#evaluate
0.25 0.000 0.000 0.000 0.000 6 Hash#merge
0.22 0.000 0.000 0.000 0.000 6 IO#tty?
0.22 0.000 0.000 0.000 0.000 14 <Class::String>#allocate
0.22 0.000 0.000 0.000 0.000 10 Kernel#is_a?
0.22 0.000 0.000 0.000 0.000 2 Fog::Storage::AWS::Files#new
0.22 0.000 0.000 0.000 0.000 1 CarrierWave::Mount::Mounter#uploader
0.20 0.000 0.000 0.000 0.000 4 String#chars
0.20 0.001 0.000 0.000 0.001 2 Fog::Storage::AWS::Files#get_https_url
0.20 0.000 0.000 0.000 0.000 14 String#initialize_copy
0.20 0.000 0.000 0.000 0.000 4 Fog::Collection#model
0.20 0.000 0.000 0.000 0.000 2 String#split
0.20 0.000 0.000 0.000 0.000 2 IRB::Context#set_last_value
0.18 0.000 0.000 0.000 0.000 4 Fog::Storage::AWS::File#key
0.18 0.000 0.000 0.000 0.000 12 String#bytesize
0.18 0.000 0.000 0.000 0.000 4 <Class::CarrierWave::Uploader::Base>#fog_credentials
0.18 0.000 0.000 0.000 0.000 6 <Class::Hash>#allocate
0.18 0.000 0.000 0.000 0.000 2 IRB::Irb#output_value
0.18 0.000 0.000 0.000 0.000 6 Hash#initialize_copy
0.18 0.002 0.000 0.000 0.002 1 CarrierWave::Uploader::Url#url
0.18 0.000 0.000 0.000 0.000 2 <Object::Object>#push
0.18 0.000 0.000 0.000 0.000 10 Kernel#object_id
0.18 0.000 0.000 0.000 0.000 2 RubyLex#get_readed
0.16 0.000 0.000 0.000 0.000 2 Fog::Storage::AWS::Directory#files
0.16 0.000 0.000 0.000 0.000 4 Fog::Model#initialize
0.16 0.001 0.000 0.000 0.001 2 Fog::Storage::AWS::File#url
0.16 0.000 0.000 0.000 0.000 12 String#*
0.16 0.000 0.000 0.000 0.000 2 Kernel#printf
0.16 0.002 0.000 0.000 0.002 2 CarrierWave::Storage::Fog::File#url
0.16 0.000 0.000 0.000 0.000 2 Time#minus_with_coercion
0.16 0.000 0.000 0.000 0.000 4 <Class::ActiveSupport::Duration>#===
0.14 0.000 0.000 0.000 0.000 10 Kernel#instance_of?
0.14 0.000 0.000 0.000 0.000 12 Fixnum#<=>
0.14 0.000 0.000 0.000 0.000 2 Time#minus_with_duration
0.14 0.000 0.000 0.000 0.000 2 <Class::CarrierWave::Uploader::Base>#fog_public
0.14 0.000 0.000 0.000 0.000 1 CarrierWave::Mount::Extension#_mounter
0.14 0.000 0.000 0.000 0.000 2 CarrierWave::Storage::Fog::File#connection
0.14 0.000 0.000 0.000 0.000 2 Fog::Storage::AWS::Files#directory=
0.14 0.002 0.000 0.000 0.002 1 CarrierWave::Uploader::Versions#url
0.14 0.000 0.000 0.000 0.000 4 Kernel#instance_variable_get
0.14 0.000 0.000 0.000 0.000 2 Time#plus_with_duration
0.14 0.000 0.000 0.000 0.000 1 IRB::Irb#eval_input
0.14 0.000 0.000 0.000 0.000 4 <Class::Array>#allocate
0.14 0.000 0.000 0.000 0.000 5 BasicObject#!=
0.12 0.000 0.000 0.000 0.000 2 <Class::CarrierWave::Uploader::Base>#fog_directory
0.12 0.002 0.000 0.000 0.002 1 CarrierWave::Uploader::DefaultUrl#url
0.12 0.000 0.000 0.000 0.000 2 Fog::Storage::AWS::Utils#https_url
0.12 0.000 0.000 0.000 0.000 2 Fog::Storage::AWS::File#key=
0.12 0.000 0.000 0.000 0.000 2 <Module::IRB>#CurrentContext
0.12 0.000 0.000 0.000 0.000 1 String#inspect
0.12 0.000 0.000 0.000 0.000 2 Fog::Storage::AWS::Collections#directories
0.12 0.000 0.000 0.000 0.000 2 Base64#encode64
0.12 0.000 0.000 0.000 0.000 4 Time#to_i
0.10 0.000 0.000 0.000 0.000 2 Fog::HMAC#sign
0.10 0.000 0.000 0.000 0.000 1 CarrierWave::Uploader::Proxy#blank?
0.10 0.000 0.000 0.000 0.000 2 Fog::Storage::AWS::Directory#key
0.10 0.000 0.000 0.000 0.000 2 IO#external_encoding
0.10 0.000 0.000 0.000 0.000 1 Kernel#to_s
0.10 0.000 0.000 0.000 0.000 2 Fog::Storage::AWS::Directory#key=
0.10 0.000 0.000 0.000 0.000 2 IRB::Inspector#inspect_value
0.10 0.000 0.000 0.000 0.000 4 Array#reverse
0.10 0.000 0.000 0.000 0.000 4 Fixnum#to_s
0.10 0.000 0.000 0.000 0.000 8 Symbol#===
0.10 0.000 0.000 0.000 0.000 1 ActiveRecord::Base#frozen?
0.10 0.000 0.000 0.000 0.000 2 IRB::Context#inspect_last_value
0.10 0.000 0.000 0.000 0.000 2 Fog::Storage::AWS::File#directory=
0.10 0.000 0.000 0.000 0.000 2 Enumerator#each
0.10 0.000 0.000 0.000 0.000 2 String#empty?
0.10 0.000 0.000 0.000 0.000 2 Time#plus_without_duration
0.10 0.000 0.000 0.000 0.000 2 <Class::CarrierWave::Uploader::Base>#fog_authenticated_url_expiration
0.10 0.002 0.000 0.000 0.002 1 #<Module:0x007feda319ecc0>#avatar_url
0.08 0.000 0.000 0.000 0.000 1 String#blank?
0.08 0.000 0.000 0.000 0.000 1 Kernel#!~
0.08 0.000 0.000 0.000 0.000 4 Fixnum#divmod
0.08 0.000 0.000 0.000 0.000 1 Object#blank?
0.08 0.000 0.000 0.000 0.000 2 Array#pack
0.08 0.002 0.000 0.000 0.002 1 CarrierWave::Mount::Mounter#url
0.08 0.000 0.000 0.000 0.000 2 Time#minus_without_duration
0.08 0.000 0.000 0.000 0.000 2 Time#initialize
0.08 0.002 0.000 0.000 0.002 2 IRB::Context#evaluate
0.08 0.000 0.000 0.000 0.000 2 Array#sort
0.08 0.000 0.000 0.000 0.000 2 Hash#[]
0.08 0.000 0.000 0.000 0.000 2 Enumerable#to_a
0.08 0.000 0.000 0.000 0.000 2 Hash#keys
0.08 0.000 0.000 0.000 0.000 2 <Class::Time>#now
0.08 0.000 0.000 0.000 0.000 2 Fixnum#-
0.08 0.000 0.000 0.000 0.000 4 Fixnum#+
0.08 0.000 0.000 0.000 0.000 2 <Module::IRB>#conf
0.06 0.000 0.000 0.000 0.000 2 Array#[]=
0.06 0.000 0.000 0.000 0.000 4 String#to_s
0.06 0.000 0.000 0.000 0.000 4 Array#first
0.06 0.000 0.000 0.000 0.000 2 Enumerable#sort
0.06 0.000 0.000 0.000 0.000 2 Array#concat
0.06 0.000 0.000 0.000 0.000 2 String#force_encoding
0.06 0.000 0.000 0.000 0.000 4 NilClass#to_s
0.06 0.000 0.000 0.000 0.000 2 <Module::Readline>#output=
0.06 0.000 0.000 0.000 0.000 1 Method#arity
0.06 0.000 0.000 0.000 0.000 2 <Module::Readline>#input=
0.06 0.000 0.000 0.000 0.000 2 String#downcase
0.06 0.000 0.000 0.000 0.000 2 IRB::ReadlineInputMethod#encoding
0.04 0.000 0.000 0.000 0.000 2 String#chop!
0.04 0.000 0.000 0.000 0.000 2 <Class::Fog::Time>#offset
0.04 0.000 0.000 0.000 0.000 2 <Class::Time>#allocate
0.04 0.000 0.000 0.000 0.000 1 String#encoding_aware?
0.04 0.000 0.000 0.000 0.000 1 String#=~
0.04 0.000 0.000 0.000 0.000 2 CarrierWave::Storage::Fog#connection
0.04 0.000 0.000 0.000 0.000 1 Kernel#method
0.04 0.000 0.000 0.000 0.000 2 String#chomp!
0.02 0.000 0.000 0.000 0.000 1 Kernel#frozen?
0.02 0.000 0.000 0.000 0.000 2 <Class::Time>#at
0.02 0.000 0.000 0.000 0.000 2 Kernel#untaint
0.02 0.000 0.000 0.000 0.000 2 Hash#merge!
0.02 0.000 0.000 0.000 0.000 1 Kernel#inspect
* indicates recursively called methods
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment