Profile Report

Thread ID Fiber ID Total Time
70136917001940 70136875141200 43.66689500000183

Thread 70136917001940, Fiber: 70136875141200

%Total %Self Total Self Wait Child Calls Name Line
100.00% 0.00% 43.67 0.00 0.00 43.67 1 Global#[No method] 26
    43.67 0.00 0.00 43.67 1/719819 Array#each 30
    0.00 0.00 0.00 0.00 1/1 <Class::Searches>#series_for 30
    0.00 0.00 0.00 0.00 1/100012 Kernel#respond_to? 26
    0.00 0.00 0.00 0.00 62359/719819 Enumerable#sort_by
    0.00 0.00 0.00 0.00 50000/719819 Kernel#loop
    0.00 0.00 0.00 0.00 5/719819 Searches#each 12
    0.00 0.00 0.00 0.00 457449/719819 Enumerable#inject
    0.00 0.00 0.00 0.00 1/719819 Picky::Categories#each 1
    0.00 0.00 0.00 0.00 50000/719819 Picky::Query::Allocations#each 1
    0.00 0.00 0.00 0.00 50000/719819 Enumerable#any?
    0.00 0.00 0.00 0.00 50000/719819 Picky::Query::Allocations#calculate_score 32
    0.00 0.00 0.00 0.00 4/719819 Picky::QualifierMapper#add 19
    43.67 0.00 0.00 43.67 1/719819 Global#[No method] 30
100.00% 0.00% 43.67 0.00 0.00 43.67 719819 *Array#each
    40.64 0.00 0.00 40.64 5/5 Searches#each
    39.69 0.18 0.00 39.51 50000/50000 Picky::Search#search
    13.64 0.19 0.00 13.46 50000/50000 Picky::Query::Indexes#allocation_for
    11.59 0.40 0.00 11.19 150000/150000 Picky::Query::Token#possible_combinations
    7.46 1.31 0.00 6.16 600000/600000 Picky::Query::Token#combination_for
    3.98 0.21 0.00 3.77 62359/62359 Picky::Query::Allocation#process!
    3.18 0.27 0.00 2.91 67010/67010 Picky::Query::Allocation#calculate_score
    3.02 0.00 0.00 3.02 5/5 Searches#prepare
    0.43 0.24 0.00 0.19 206529/206529 Picky::Query::Combination#ids
    0.21 0.21 0.00 0.00 211195/211195 Picky::Query::Combination#weight
    0.13 0.10 0.00 0.03 100000/100012 Kernel#respond_to?
    0.08 0.08 0.00 0.00 144185/144205 Symbol#==
    0.04 0.03 0.00 0.02 23332/672141 Class#new
    0.04 0.04 0.00 0.00 67010/167010 Fixnum#+
    0.04 0.04 0.00 0.00 66186/245555 Array#empty?
    0.03 0.03 0.00 0.00 55262/61783 Fixnum#zero?
    0.00 0.00 0.00 0.00 4/4 Picky::QualifierMapper#add
    0.00 0.00 0.00 0.00 5/5 Picky::Search#terminate_early
    0.00 0.00 0.00 0.00 4/4 Hash#[]=
    0.00 0.00 0.00 0.00 4/4 Symbol#intern
    0.00 0.00 0.00 0.00 4/4 Hash#has_key?
    0.00 0.00 0.00 0.00 300000/300000 String#[]
    0.00 0.00 0.00 0.00 300000/1100005 String#=~
    40.64 0.00 0.00 40.64 5/5 Array#each
93.07% 0.00% 40.64 0.00 0.00 40.64 5 Searches#each 11
    0.00 0.00 0.00 0.00 5/719819 Array#each 12
    39.69 0.18 0.00 39.51 50000/50000 Array#each
90.89% 0.40% 39.69 0.18 0.00 39.51 50000 Picky::Search#search 215
    28.11 1.43 0.00 26.68 50000/50000 Picky::Search#search_with 216
    11.34 0.23 0.00 11.12 50000/50000 Picky::Search#tokenized 216
    0.06 0.06 0.00 0.00 100000/100000 Integer#to_i 216
    28.11 1.43 0.00 26.68 50000/50000 Picky::Search#search 216
64.38% 3.27% 28.11 1.43 0.00 26.68 50000 Picky::Search#search_with 223
    26.64 0.30 0.00 26.34 50000/50000 Picky::Helpers::Measuring#timed 226
    0.05 0.05 0.00 0.00 50000/50000 Float#round 229
    26.64 0.30 0.00 26.34 50000/50000 Picky::Search#search_with 226
61.00% 0.68% 26.64 0.30 0.00 26.34 50000 Picky::Helpers::Measuring#timed 10
    24.69 0.11 0.00 24.59 50000/50000 Proc#call 15
    0.99 0.75 0.00 0.24 100000/100000 <Class::Time>#now 17
    0.62 0.23 0.00 0.40 100000/100000 Time#to_f 17
    0.03 0.03 0.00 0.00 50000/50010 Kernel#lambda 11
    24.69 0.11 0.00 24.59 50000/50000 Picky::Helpers::Measuring#timed 15
56.55% 0.24% 24.69 0.11 0.00 24.59 50000 Proc#call
    24.59 0.13 0.00 24.46 50000/50000 Picky::Search#execute
    24.59 0.13 0.00 24.46 50000/50000 Proc#call
56.30% 0.29% 24.59 0.13 0.00 24.46 50000 Picky::Search#execute 238
    18.90 0.09 0.00 18.81 50000/50000 Picky::Search#sorted_allocations 239
    5.56 0.16 0.00 5.40 50000/50000 <Class::Picky::Results>#from 239
    18.90 0.09 0.00 18.81 50000/50000 Picky::Search#execute 239
43.28% 0.20% 18.90 0.09 0.00 18.81 50000 Picky::Search#sorted_allocations 268
    18.81 0.32 0.00 18.50 50000/50000 Picky::Query::Indexes#prepared_allocations_for 269
    18.81 0.32 0.00 18.50 50000/50000 Picky::Search#sorted_allocations 269
43.08% 0.73% 18.81 0.32 0.00 18.50 50000 Picky::Query::Indexes#prepared_allocations_for 65
    14.15 0.10 0.00 14.05 50000/50000 Picky::Query::Indexes#allocations_for 66
    3.36 0.08 0.00 3.29 50000/50000 Picky::Query::Allocations#calculate_score 72
    0.98 0.08 0.00 0.90 50000/50000 Picky::Query::Allocations#sort! 84
    0.00 0.00 0.00 0.00 6516/457449 Array#collect!
    0.00 0.00 0.00 0.00 50000/457449 Picky::Query::Tokens#possible_combinations_in 47
    0.00 0.00 0.00 0.00 4554/457449 Picky::Query::Indexes#expand_combinations_from 190
    0.00 0.00 0.00 0.00 150000/457449 Picky::Categories#possible_for 40
    0.65 0.09 0.00 0.56 67010/457449 Picky::Query::Combinations#score 30
    0.81 0.09 0.00 0.72 62359/457449 Picky::Query::Combinations#inject 1
    0.85 0.09 0.00 0.76 67010/457449 Array#clustered_uniq 11
    13.83 0.08 0.00 13.75 50000/457449 Picky::Query::Indexes#allocations_ary_for 106
36.95% 0.78% 16.14 0.34 0.00 15.79 457449 *Enumerable#inject
    0.00 0.00 0.00 0.00 457449/719819 Array#each
    14.15 0.10 0.00 14.05 50000/50000 Picky::Query::Indexes#prepared_allocations_for 66
32.41% 0.24% 14.15 0.10 0.00 14.05 50000 Picky::Query::Indexes#allocations_for 102
    13.92 0.08 0.00 13.83 50000/50000 Picky::Query::Indexes#allocations_ary_for 103
    0.13 0.07 0.00 0.06 50000/672141 Class#new 103
    13.92 0.08 0.00 13.83 50000/50000 Picky::Query::Indexes#allocations_for 103
31.87% 0.19% 13.92 0.08 0.00 13.83 50000 Picky::Query::Indexes#allocations_ary_for 105
    13.83 0.08 0.00 13.75 50000/457449 Enumerable#inject 106
    13.64 0.19 0.00 13.46 50000/50000 Array#each
31.24% 0.42% 13.64 0.19 0.00 13.46 50000 Picky::Query::Indexes#allocation_for 110
    12.12 0.08 0.00 12.04 50000/50000 Picky::Query::Tokens#possible_combinations_in 113
    0.80 0.14 0.00 0.66 50000/50000 Array#map! 121
    0.54 0.15 0.00 0.39 50000/50000 Picky::Query::Indexes#expand_combinations_from 117
    12.12 0.08 0.00 12.04 50000/50000 Picky::Query::Indexes#allocation_for 113
27.77% 0.19% 12.12 0.08 0.00 12.04 50000 Picky::Query::Tokens#possible_combinations_in 46
    0.00 0.00 0.00 0.00 50000/457449 Enumerable#inject 47
    11.59 0.40 0.00 11.19 150000/150000 Array#each
26.54% 0.91% 11.59 0.40 0.00 11.19 150000 Picky::Query::Token#possible_combinations 250
    11.03 0.40 0.00 10.63 150000/150000 Picky::Categories#possible_for 251
    0.16 0.16 0.00 0.00 150000/150000 Picky::Query::Token#similar? 251
    11.34 0.23 0.00 11.12 50000/50000 Picky::Search#search 216
25.98% 0.52% 11.34 0.23 0.00 11.12 50000 Picky::Search#tokenized 258
    6.32 0.13 0.00 6.19 50000/50000 <Class::Picky::Query::Tokens>#processed 260
    4.33 0.33 0.00 4.00 50000/50000 Picky::Tokenizer#tokenize 259
    0.46 0.16 0.00 0.29 50000/50000 Picky::Query::Tokens#partialize_last 262
    11.03 0.40 0.00 10.63 150000/150000 Picky::Query::Token#possible_combinations 251
25.26% 0.92% 11.03 0.40 0.00 10.63 150000 Picky::Categories#possible_for 39
    1.53 0.34 0.00 1.19 150000/150000 Picky::Categories#possible_categories 40
    0.00 0.00 0.00 0.00 150000/457449 Enumerable#inject 40
    7.46 1.31 0.00 6.16 600000/600000 Array#each
17.09% 2.99% 7.46 1.31 0.00 6.16 600000 Picky::Query::Token#combination_for 258
    5.60 2.15 0.00 3.45 600000/600000 Picky::Category#weight 259
    0.56 0.22 0.00 0.34 164726/672141 Class#new 260
    0.14 0.03 0.00 0.10 4554/104554 Picky::Query::Indexes#expand_combinations_from 199
    0.36 0.27 0.00 0.09 50000/104554 Picky::Tokenizer#tokens_for 280
    5.96 0.51 0.00 5.45 50000/104554 <Class::Picky::Query::Tokens>#processed 29
14.79% 1.87% 6.46 0.82 0.00 5.64 104554 Array#collect!
    5.19 0.31 0.00 4.88 150000/150000 <Class::Picky::Query::Token>#processed
    0.26 0.26 0.00 0.00 150000/400000 String#split
    0.09 0.09 0.00 0.00 150000/150000 String#downcase!
    0.01 0.01 0.00 0.00 6516/6516 Array#*
    0.00 0.00 0.00 0.00 6516/61783 Fixnum#zero?
    0.00 0.00 0.00 0.00 6516/457449 Enumerable#inject
    6.32 0.13 0.00 6.19 50000/50000 Picky::Search#tokenized 260
14.48% 0.31% 6.32 0.13 0.00 6.19 50000 <Class::Picky::Query::Tokens>#processed 28
    5.96 0.51 0.00 5.45 50000/104554 Array#collect! 29
    0.16 0.07 0.00 0.08 50000/672141 Class#new 29
    0.07 0.07 0.00 0.00 50000/54554 Array#zip 29
    5.60 2.15 0.00 3.45 600000/600000 Picky::Query::Token#combination_for 259
12.82% 4.93% 5.60 2.15 0.00 3.45 600000 Picky::Category#weight 18
    1.80 0.95 0.00 0.85 600000/618685 Picky::Category#bundle_for 19
    0.99 0.99 0.00 0.00 600000/600000 Picky::Bundle#weight 28
    0.66 0.66 0.00 0.00 600000/618685 Picky::Query::Token#range 20
    5.56 0.16 0.00 5.40 50000/50000 Picky::Search#execute 239
12.73% 0.37% 5.56 0.16 0.00 5.40 50000 <Class::Picky::Results>#from 27
    5.19 0.11 0.00 5.08 50000/50000 Picky::Results#prepare! 29
    0.21 0.07 0.00 0.14 50000/672141 Class#new 28
    5.19 0.31 0.00 4.88 150000/150000 Array#collect!
11.89% 0.71% 5.19 0.31 0.00 4.88 150000 <Class::Picky::Query::Token>#processed 39
    4.34 0.91 0.00 3.43 150000/150000 Picky::Query::Token#process 40
    0.54 0.22 0.00 0.32 150000/672141 Class#new 40
    5.19 0.11 0.00 5.08 50000/50000 <Class::Picky::Results>#from 29
11.88% 0.25% 5.19 0.11 0.00 5.08 50000 Picky::Results#prepare! 38
    5.08 0.74 0.00 4.34 50000/50000 Picky::Query::Allocations#process! 41
    5.08 0.74 0.00 4.34 50000/50000 Picky::Results#prepare! 41
11.63% 1.69% 5.08 0.74 0.00 4.34 50000 Picky::Query::Allocations#process! 116
    4.34 0.09 0.00 4.25 50000/50000 Picky::Query::Allocations#each 117
    4.34 0.91 0.00 3.43 150000/150000 <Class::Picky::Query::Token>#processed 40
9.94% 2.09% 4.34 0.91 0.00 3.43 150000 Picky::Query::Token#process 42
    0.86 0.52 0.00 0.34 150000/150000 Picky::Query::Token#partialize 45
    0.83 0.68 0.00 0.16 150000/150000 Picky::Query::Token#qualify 43
    0.81 0.43 0.00 0.37 150000/150000 Picky::Query::Token#similarize 44
    0.57 0.34 0.00 0.23 150000/150000 Picky::Query::Token#remove_illegals 47
    0.36 0.25 0.00 0.11 150000/150000 Picky::Query::Token#rangify 46
    4.34 0.09 0.00 4.25 50000/50000 Picky::Query::Allocations#process! 117
9.94% 0.21% 4.34 0.09 0.00 4.25 50000 Picky::Query::Allocations#each 1
    0.00 0.00 0.00 0.00 50000/719819 Array#each 1
    4.33 0.33 0.00 4.00 50000/50000 Picky::Search#tokenized 259
9.92% 0.76% 4.33 0.33 0.00 4.00 50000 Picky::Tokenizer#tokenize 235
    2.56 0.27 0.00 2.29 50000/50000 Picky::Tokenizer#pretokenize 238
    0.58 0.16 0.00 0.42 50000/50000 Picky::Tokenizer#tokens_for 240
    0.43 0.21 0.00 0.22 50000/50000 Picky::Tokenizer#preprocess 236
    0.40 0.13 0.00 0.26 50000/200000 String#blank? 237
    0.03 0.03 0.00 0.00 50000/50015 String#to_s 236
    3.98 0.21 0.00 3.77 62359/62359 Array#each
9.11% 0.48% 3.98 0.21 0.00 3.77 62359 Picky::Query::Allocation#process! 72
    3.72 0.17 0.00 3.56 62359/62359 Picky::Query::Allocation#calculate_ids 73
    0.04 0.04 0.00 0.00 62359/62359 Array#slice! 75
    3.72 0.17 0.00 3.56 62359/62359 Picky::Query::Allocation#process! 73
8.53% 0.39% 3.72 0.17 0.00 3.56 62359 Picky::Query::Allocation#calculate_ids 53
    3.42 0.80 0.00 2.62 62359/62359 Picky::Backends::Backend#ids 55
    0.14 0.10 0.00 0.03 62359/129369 Picky::Query::Combinations#empty? 54
    3.42 0.80 0.00 2.62 62359/62359 Picky::Query::Allocation#calculate_ids 55
7.83% 1.83% 3.42 0.80 0.00 2.62 62359 Picky::Backends::Backend#ids 74
    1.71 0.26 0.00 1.45 62359/62359 <Class::Performant::Array>#memory_efficient_intersect 85
    0.91 0.10 0.00 0.81 62359/62359 Picky::Query::Combinations#inject 77
    3.36 0.08 0.00 3.29 50000/50000 Picky::Query::Indexes#prepared_allocations_for 72
7.70% 0.18% 3.36 0.08 0.00 3.29 50000 Picky::Query::Allocations#calculate_score 31
    0.00 0.00 0.00 0.00 50000/719819 Array#each 32
    3.18 0.27 0.00 2.91 67010/67010 Array#each
7.28% 0.61% 3.18 0.27 0.00 2.91 67010 Picky::Query::Allocation#calculate_score 39
    1.87 0.10 0.00 1.77 67010/67010 Picky::Query::Combinations#boost_for 43
    0.85 0.10 0.00 0.75 67010/67010 Picky::Backends::Backend#weight 43
    0.15 0.11 0.00 0.04 67010/129369 Picky::Query::Combinations#empty? 44
    0.04 0.04 0.00 0.00 67010/67010 Float#+ 43
    3.02 0.00 0.00 3.02 5/5 Array#each
6.93% 0.00% 3.02 0.00 0.00 3.02 5 Searches#prepare 15
    3.02 0.74 0.00 2.28 5/5 CSV#each 19
    0.00 0.00 0.00 0.00 5/5 <Class::CSV>#open 19
    3.02 0.74 0.00 2.28 5/5 Searches#prepare 19
6.92% 1.70% 3.02 0.74 0.00 2.28 5 CSV#each 1714
    2.19 0.15 0.00 2.04 50000/50000 CSV#shift 28
    0.09 0.09 0.00 0.00 50000/50000 Integer#times 23
    0.00 0.00 0.00 0.00 50000/50040 Array#join 27
    0.00 0.00 0.00 0.00 50000/50000 Array#first 21
    0.00 0.00 0.00 0.00 50000/154554 Array#shift 26
    0.00 0.00 0.00 0.00 5/15 Kernel#block_given? 1715
    2.56 0.27 0.00 2.29 50000/50000 Picky::Tokenizer#tokenize 238
5.86% 0.62% 2.56 0.27 0.00 2.29 50000 Picky::Tokenizer#pretokenize 269
    1.83 0.08 0.00 1.74 50000/50000 Picky::Tokenizer#reject 272
    0.34 0.08 0.00 0.26 50000/50000 Picky::Tokenizer#split 270
    0.06 0.06 0.00 0.00 50000/50000 Picky::Tokenizer#cap? 273
    0.06 0.06 0.00 0.00 50000/50000 Picky::Tokenizer#normalize_with_patterns? 271
    0.00 0.00 0.00 0.00 1/672141 Picky::Tokenizer#splits_text_on 105
    0.00 0.00 0.00 0.00 1/672141 <Class::Picky::Tokenizer>#searching 24
    0.00 0.00 0.00 0.00 25/672141 CSV#encode_re 2247
    0.00 0.00 0.00 0.00 10/672141 CSV#init_converters 2083
    0.00 0.00 0.00 0.00 10/672141 Picky::Search#initialize 46
    0.00 0.00 0.00 0.00 5/672141 Range#each
    0.00 0.00 0.00 0.00 1/672141 Picky::Categories#qualifier_mapper 43
    0.00 0.00 0.00 0.00 10/672141 <Class::CSV>#open 1261
    0.03 0.03 0.00 0.00 50000/672141 CSV#shift 1772
    0.04 0.03 0.00 0.02 23332/672141 Array#each
    0.13 0.07 0.00 0.06 50000/672141 Picky::Query::Indexes#allocations_for 103
    0.16 0.07 0.00 0.08 50000/672141 <Class::Picky::Query::Tokens>#processed 29
    0.21 0.07 0.00 0.14 50000/672141 <Class::Picky::Results>#from 28
    0.54 0.22 0.00 0.32 150000/672141 <Class::Picky::Query::Token>#processed 40
    0.56 0.22 0.00 0.34 164726/672141 Picky::Query::Token#combination_for 260
    0.66 0.16 0.00 0.49 134020/672141 Array#map!
5.32% 1.97% 2.32 0.86 0.00 1.46 672141 *Class#new
    0.42 0.21 0.00 0.21 67010/67010 Picky::Query::Allocation#initialize
    0.34 0.34 0.00 0.00 164726/164726 Picky::Query::Combination#initialize
    0.32 0.32 0.00 0.00 150000/150000 Picky::Query::Token#initialize
    0.14 0.14 0.00 0.00 50000/50000 Picky::Results#initialize
    0.08 0.08 0.00 0.00 50000/50000 Picky::Query::Tokens#initialize
    0.07 0.07 0.00 0.00 67010/67010 Picky::Query::Combinations#initialize
    0.06 0.06 0.00 0.00 50000/50000 Picky::Query::Allocations#initialize
    0.02 0.02 0.00 0.00 73337/73337 Array#initialize
    0.00 0.00 0.00 0.00 5/5 CSV#initialize
    0.00 0.00 0.00 0.00 5/5 Picky::Search#initialize
    0.00 0.00 0.00 0.00 1/1 Picky::QualifierMapper#initialize
    0.00 0.00 0.00 0.00 5/5 Picky::Query::Indexes#initialize
    0.00 0.00 0.00 0.00 1/1 Picky::Tokenizer#initialize
    0.00 0.00 0.00 0.00 1/1 RegexpWrapper#initialize
    0.00 0.00 0.00 0.00 25/25 Regexp#initialize
    0.00 0.00 0.00 0.00 5/5 Picky::Query::Boosts#initialize
    0.00 0.00 0.00 0.00 5/5 Hash#initialize
    0.00 0.00 0.00 0.00 5/5 Searches#initialize
    2.19 0.15 0.00 2.04 50000/50000 CSV#each 28
5.01% 0.35% 2.19 0.15 0.00 2.04 50000 CSV#shift 1751
    2.01 0.55 0.00 1.47 50000/50000 Kernel#loop 1774
    0.03 0.03 0.00 0.00 50000/672141 Class#new 1772
    0.00 0.00 0.00 0.00 50000/50000 CSV#header_row? 1758
    2.01 0.55 0.00 1.47 50000/50000 CSV#shift 1774
4.61% 1.25% 2.01 0.55 0.00 1.47 50000 Kernel#loop
    0.00 0.00 0.00 0.00 50000/719819 Array#each
    0.00 0.00 0.00 0.00 50000/400000 String#split
    0.00 0.00 0.00 0.00 50000/50000 String#sub!
    0.00 0.00 0.00 0.00 50000/50005 IO#gets
    0.40 0.13 0.00 0.26 50000/200000 Picky::Tokenizer#tokenize 237
    1.60 0.39 0.00 1.21 150000/200000 Array#reject!
4.57% 1.19% 2.00 0.52 0.00 1.48 200000 String#blank? 102
    1.27 0.26 0.00 1.01 200000/200000 Kernel#!~ 105
    0.20 0.20 0.00 0.00 200000/200000 String#encoding_aware? 104
    1.87 0.10 0.00 1.77 67010/67010 Picky::Query::Allocation#calculate_score 43
4.28% 0.24% 1.87 0.10 0.00 1.77 67010 Picky::Query::Combinations#boost_for 32
    1.77 0.14 0.00 1.63 67010/67010 Picky::Query::Boosts#boost_for 33
    0.05 0.03 0.00 0.02 18685/618685 Picky::Category#ids 35
    1.80 0.95 0.00 0.85 600000/618685 Picky::Category#weight 19
4.24% 2.25% 1.85 0.98 0.00 0.87 618685 Picky::Category#bundle_for 54
    0.87 0.87 0.00 0.00 618685/618685 Picky::Query::Token#select_bundle 56
    1.83 0.08 0.00 1.74 50000/50000 Picky::Tokenizer#pretokenize 272
4.18% 0.19% 1.83 0.08 0.00 1.74 50000 Picky::Tokenizer#reject 163
    1.74 0.14 0.00 1.60 50000/50000 Array#reject! 164
    1.77 0.14 0.00 1.63 67010/67010 Picky::Query::Combinations#boost_for 33
4.05% 0.31% 1.77 0.14 0.00 1.63 67010 Picky::Query::Boosts#boost_for 62
    1.13 0.11 0.00 1.02 67010/67010 Picky::Query::Boosts#boost_for_categories 63
    0.51 0.28 0.00 0.22 67010/67055 Array#map 63
    1.74 0.14 0.00 1.60 50000/50000 Picky::Tokenizer#reject 164
3.99% 0.33% 1.74 0.14 0.00 1.60 50000 Array#reject!
    1.60 0.39 0.00 1.21 150000/200000 String#blank?
    0.00 0.00 0.00 0.00 5/1100005 CSV#init_separators 1985
    0.00 0.00 0.00 0.00 300000/1100005 Array#each
    0.34 0.34 0.00 0.00 300000/1100005 Picky::Query::Token#partialize 125
    0.37 0.37 0.00 0.00 300000/1100005 Picky::Query::Token#similarize 170
    1.01 1.01 0.00 0.00 200000/1100005 Kernel#!~
3.94% 3.94% 1.72 1.72 0.00 0.00 1100005 String#=~
    1.71 0.26 0.00 1.45 62359/62359 Picky::Backends::Backend#ids 85
3.91% 0.59% 1.71 0.26 0.00 1.45 62359 <Class::Performant::Array>#memory_efficient_intersect
    1.45 0.09 0.00 1.36 62359/62359 Array#sort_by!
    1.53 0.34 0.00 1.19 150000/150000 Picky::Categories#possible_for 40
3.50% 0.77% 1.53 0.34 0.00 1.19 150000 Picky::Categories#possible_categories 53
    1.02 0.24 0.00 0.79 150000/150000 Picky::Query::Token#predefined_categories 54
    0.17 0.17 0.00 0.00 150000/150000 Picky::Categories#qualifier_mapper 54
    1.45 0.09 0.00 1.36 62359/62359 <Class::Performant::Array>#memory_efficient_intersect
3.31% 0.21% 1.45 0.09 0.00 1.36 62359 Array#sort_by!
    1.36 1.19 0.00 0.17 62359/62359 Enumerable#sort_by
    1.36 1.19 0.00 0.17 62359/62359 Array#sort_by!
3.11% 2.72% 1.36 1.19 0.00 0.17 62359 Enumerable#sort_by
    0.12 0.12 0.00 0.00 218626/218626 Fixnum#<=>
    0.00 0.00 0.00 0.00 62359/719819 Array#each
    1.27 0.26 0.00 1.01 200000/200000 String#blank? 105
2.91% 0.61% 1.27 0.26 0.00 1.01 200000 Kernel#!~
    1.01 1.01 0.00 0.00 200000/1100005 String#=~
    1.13 0.11 0.00 1.02 67010/67010 Picky::Query::Boosts#boost_for 63
2.58% 0.25% 1.13 0.11 0.00 1.02 67010 Picky::Query::Boosts#boost_for_categories 49
    1.02 0.17 0.00 0.85 67010/67010 Array#clustered_uniq 50
    1.02 0.24 0.00 0.79 150000/150000 Picky::Categories#possible_categories 54
2.34% 0.54% 1.02 0.24 0.00 0.79 150000 Picky::Query::Token#predefined_categories 67
    0.79 0.39 0.00 0.40 150000/150000 Picky::Query::Token#extract_predefined 68
    1.02 0.17 0.00 0.85 67010/67010 Picky::Query::Boosts#boost_for_categories 50
2.33% 0.39% 1.02 0.17 0.00 0.85 67010 Array#clustered_uniq 9
    0.85 0.09 0.00 0.76 67010/457449 Enumerable#inject 11
    0.99 0.99 0.00 0.00 600000/600000 Picky::Category#weight 28
2.27% 2.27% 0.99 0.99 0.00 0.00 600000 Picky::Bundle#weight 49
    0.99 0.75 0.00 0.24 100000/100000 Picky::Helpers::Measuring#timed 17
2.27% 1.71% 0.99 0.75 0.00 0.24 100000 <Class::Time>#now
    0.24 0.18 0.00 0.06 100000/100000 Time#initialize
    0.98 0.08 0.00 0.90 50000/50000 Picky::Query::Indexes#prepared_allocations_for 84
2.25% 0.18% 0.98 0.08 0.00 0.90 50000 Picky::Query::Allocations#sort! 39
    0.90 0.23 0.00 0.67 50000/50000 Array#sort! 40
    0.91 0.10 0.00 0.81 62359/62359 Picky::Backends::Backend#ids 77
2.09% 0.24% 0.91 0.10 0.00 0.81 62359 Picky::Query::Combinations#inject 1
    0.81 0.09 0.00 0.72 62359/457449 Enumerable#inject 1
    0.90 0.23 0.00 0.67 50000/50000 Picky::Query::Allocations#sort! 40
2.07% 0.53% 0.90 0.23 0.00 0.67 50000 Array#sort!
    0.67 0.49 0.00 0.17 325497/325497 Picky::Query::Allocation#<=>
    0.87 0.87 0.00 0.00 618685/618685 Picky::Category#bundle_for 56
1.99% 1.99% 0.87 0.87 0.00 0.00 618685 Picky::Query::Token#select_bundle 82
    0.86 0.52 0.00 0.34 150000/150000 Picky::Query::Token#process 45
1.96% 1.19% 0.86 0.52 0.00 0.34 150000 Picky::Query::Token#partialize 117
    0.34 0.34 0.00 0.00 300000/1100005 String#=~ 125
    0.85 0.10 0.00 0.75 67010/67010 Picky::Query::Allocation#calculate_score 43
1.96% 0.23% 0.85 0.10 0.00 0.75 67010 Picky::Backends::Backend#weight 55
    0.75 0.10 0.00 0.65 67010/67010 Picky::Query::Combinations#score 56
    0.83 0.68 0.00 0.16 150000/150000 Picky::Query::Token#process 43
1.91% 1.55% 0.83 0.68 0.00 0.16 150000 Picky::Query::Token#qualify 278
    0.16 0.16 0.00 0.00 150000/400000 String#split 279
    0.81 0.43 0.00 0.37 150000/150000 Picky::Query::Token#process 44
1.85% 0.99% 0.81 0.43 0.00 0.37 150000 Picky::Query::Token#similarize 168
    0.37 0.37 0.00 0.00 300000/1100005 String#=~ 170
    0.80 0.14 0.00 0.66 50000/50000 Picky::Query::Indexes#allocation_for 121
1.82% 0.32% 0.80 0.14 0.00 0.66 50000 Array#map!
    0.66 0.16 0.00 0.49 134020/672141 Class#new
    0.79 0.39 0.00 0.40 150000/150000 Picky::Query::Token#predefined_categories 68
1.80% 0.89% 0.79 0.39 0.00 0.40 150000 Picky::Query::Token#extract_predefined 70
    0.24 0.24 0.00 0.00 150000/150000 Picky::QualifierMapper#restrict 72
    0.15 0.15 0.00 0.00 150000/150000 Picky::Query::Token#categorize_with 71
    0.75 0.10 0.00 0.65 67010/67010 Picky::Backends::Backend#weight 56
1.72% 0.24% 0.75 0.10 0.00 0.65 67010 Picky::Query::Combinations#score 29
    0.65 0.09 0.00 0.56 67010/457449 Enumerable#inject 30
    0.02 0.02 0.00 0.00 18685/618685 Picky::Category#ids 36
    0.66 0.66 0.00 0.00 600000/618685 Picky::Category#weight 20
1.56% 1.56% 0.68 0.68 0.00 0.00 618685 Picky::Query::Token#range 222
    0.67 0.49 0.00 0.17 325497/325497 Array#sort!
1.53% 1.13% 0.67 0.49 0.00 0.17 325497 Picky::Query::Allocation#<=> 99
    0.17 0.17 0.00 0.00 325497/325497 Float#<=> 100
    0.62 0.23 0.00 0.40 100000/100000 Picky::Helpers::Measuring#timed 17
1.42% 0.52% 0.62 0.23 0.00 0.40 100000 Time#to_f
    0.22 0.12 0.00 0.10 100000/100000 Numeric#quo
    0.18 0.11 0.00 0.06 100000/100000 Rational#to_f
    0.00 0.00 0.00 0.00 50000/400000 Kernel#loop
    0.16 0.16 0.00 0.00 150000/400000 Picky::Query::Token#qualify 279
    0.17 0.17 0.00 0.00 50000/400000 RegexpWrapper#split 8
    0.26 0.26 0.00 0.00 150000/400000 Array#collect!
1.33% 1.33% 0.58 0.58 0.00 0.00 400000 String#split
    0.58 0.16 0.00 0.42 50000/50000 Picky::Tokenizer#tokenize 240
1.32% 0.37% 0.58 0.16 0.00 0.42 50000 Picky::Tokenizer#tokens_for 279
    0.36 0.27 0.00 0.09 50000/104554 Array#collect! 280
    0.06 0.06 0.00 0.00 50000/50000 Picky::Tokenizer#downcase? 280
    0.57 0.34 0.00 0.23 150000/150000 Picky::Query::Token#process 47
1.31% 0.78% 0.57 0.34 0.00 0.23 150000 Picky::Query::Token#remove_illegals 234
    0.23 0.23 0.00 0.00 150000/150000 String#gsub! 237
    0.54 0.15 0.00 0.39 50000/50000 Picky::Query::Indexes#allocation_for 117
1.23% 0.34% 0.54 0.15 0.00 0.39 50000 Picky::Query::Indexes#expand_combinations_from 182
    0.18 0.07 0.00 0.12 50000/50000 Enumerable#any? 186
    0.14 0.03 0.00 0.10 4554/104554 Array#collect! 199
    0.04 0.04 0.00 0.00 50000/50011 Symbol#to_proc 186
    0.01 0.01 0.00 0.00 4554/54554 Array#zip 236
    0.00 0.00 0.00 0.00 4554/154554 Array#shift 236
    0.00 0.00 0.00 0.00 4554/457449 Enumerable#inject 190
    0.00 0.00 0.00 0.00 5/67055 <Class::Picky::Query::Indexes::Check>#check_backends 22
    0.00 0.00 0.00 0.00 40/67055 CSV#encode_str 2255
    0.51 0.28 0.00 0.22 67010/67055 Picky::Query::Boosts#boost_for 63
1.16% 0.65% 0.51 0.28 0.00 0.22 67055 Array#map
    0.22 0.22 0.00 0.00 211195/211195 Picky::Query::Combination#category_name
    0.00 0.00 0.00 0.00 5/67015 Picky::Index#backend
    0.00 0.00 0.00 0.00 95/120 String#encode
    0.00 0.00 0.00 0.00 95/95 Encoding#name
    0.46 0.16 0.00 0.29 50000/50000 Picky::Search#tokenized 262
1.05% 0.38% 0.46 0.16 0.00 0.29 50000 Picky::Query::Tokens#partialize_last 71
    0.14 0.11 0.00 0.03 50000/50000 Picky::Query::Token#partial= 72
    0.12 0.09 0.00 0.03 50000/50000 Picky::Query::Tokens#empty? 72
    0.03 0.03 0.00 0.00 50000/50005 Array#last 72
    0.43 0.21 0.00 0.22 50000/50000 Picky::Tokenizer#tokenize 236
0.99% 0.48% 0.43 0.21 0.00 0.22 50000 Picky::Tokenizer#preprocess 251
    0.09 0.09 0.00 0.00 50000/50000 Picky::Tokenizer#remove_illegals 253
    0.08 0.08 0.00 0.00 50000/50000 Picky::Tokenizer#substitute_characters 252
    0.06 0.06 0.00 0.00 50000/50000 Picky::Tokenizer#remove_non_single_stopwords 259
    0.43 0.24 0.00 0.19 206529/206529 Array#each
0.98% 0.55% 0.43 0.24 0.00 0.19 206529 Picky::Query::Combination#ids 47
    0.19 0.07 0.00 0.12 18685/18685 Picky::Category#ids 48
    0.42 0.21 0.00 0.21 67010/67010 Class#new
0.97% 0.48% 0.42 0.21 0.00 0.21 67010 Picky::Query::Allocation#initialize 23
    0.11 0.11 0.00 0.00 67010/67010 Picky::Index#result_identifier 28
    0.10 0.10 0.00 0.00 67010/67015 Picky::Index#backend 29
    0.36 0.25 0.00 0.11 150000/150000 Picky::Query::Token#process 46
0.82% 0.57% 0.36 0.25 0.00 0.11 150000 Picky::Query::Token#rangify 217
    0.11 0.11 0.00 0.00 150000/150000 String#include? 218
    0.34 0.34 0.00 0.00 164726/164726 Class#new
0.78% 0.78% 0.34 0.34 0.00 0.00 164726 Picky::Query::Combination#initialize 18
    0.34 0.08 0.00 0.26 50000/50000 Picky::Tokenizer#pretokenize 270
0.77% 0.19% 0.34 0.08 0.00 0.26 50000 Picky::Tokenizer#split 108
    0.26 0.09 0.00 0.17 50000/50000 RegexpWrapper#split 109
    0.32 0.32 0.00 0.00 150000/150000 Class#new
0.74% 0.74% 0.32 0.32 0.00 0.00 150000 Picky::Query::Token#initialize 27
    0.14 0.10 0.00 0.03 62359/129369 Picky::Query::Allocation#calculate_ids 54
    0.15 0.11 0.00 0.04 67010/129369 Picky::Query::Allocation#calculate_score 44
0.65% 0.48% 0.28 0.21 0.00 0.07 129369 Picky::Query::Combinations#empty? 1
    0.07 0.07 0.00 0.00 129369/245555 Array#empty? 1
    0.26 0.09 0.00 0.17 50000/50000 Picky::Tokenizer#split 109
0.59% 0.20% 0.26 0.09 0.00 0.17 50000 RegexpWrapper#split 7
    0.17 0.17 0.00 0.00 50000/400000 String#split 8
    0.24 0.24 0.00 0.00 150000/150000 Picky::Query::Token#extract_predefined 72
0.56% 0.56% 0.24 0.24 0.00 0.00 150000 Picky::QualifierMapper#restrict 38
    0.24 0.18 0.00 0.06 100000/100000 <Class::Time>#now
0.56% 0.42% 0.24 0.18 0.00 0.06 100000 Time#initialize
    0.06 0.06 0.00 0.00 100000/167010 Fixnum#+
    0.23 0.23 0.00 0.00 150000/150000 Picky::Query::Token#remove_illegals 237
0.52% 0.52% 0.23 0.23 0.00 0.00 150000 String#gsub!
    0.22 0.22 0.00 0.00 211195/211195 Array#map
0.51% 0.51% 0.22 0.22 0.00 0.00 211195 Picky::Query::Combination#category_name 27
    0.22 0.12 0.00 0.10 100000/100000 Time#to_f
0.50% 0.28% 0.22 0.12 0.00 0.10 100000 Numeric#quo
    0.10 0.10 0.00 0.00 100000/100000 Rational#/
    0.21 0.21 0.00 0.00 211195/211195 Array#each
0.48% 0.48% 0.21 0.21 0.00 0.00 211195 Picky::Query::Combination#weight 39
    0.20 0.20 0.00 0.00 200000/200000 String#blank? 104
0.47% 0.47% 0.20 0.20 0.00 0.00 200000 String#encoding_aware? 3
    0.19 0.07 0.00 0.12 18685/18685 Picky::Query::Combination#ids 48
0.43% 0.16% 0.19 0.07 0.00 0.12 18685 Picky::Category#ids 34
    0.05 0.03 0.00 0.02 18685/618685 Picky::Category#bundle_for 35
    0.04 0.04 0.00 0.00 18685/18685 Picky::Bundle#ids 48
    0.02 0.02 0.00 0.00 18685/618685 Picky::Query::Token#range 36
    0.18 0.07 0.00 0.12 50000/50000 Picky::Query::Indexes#expand_combinations_from 186
0.42% 0.15% 0.18 0.07 0.00 0.12 50000 Enumerable#any?
    0.00 0.00 0.00 0.00 50000/719819 Array#each
    0.18 0.11 0.00 0.06 100000/100000 Time#to_f
0.40% 0.26% 0.18 0.11 0.00 0.06 100000 Rational#to_f
    0.06 0.06 0.00 0.00 100000/100000 Fixnum#fdiv
    0.17 0.17 0.00 0.00 325497/325497 Picky::Query::Allocation#<=> 100
0.40% 0.40% 0.17 0.17 0.00 0.00 325497 Float#<=>
    0.17 0.17 0.00 0.00 150000/150000 Picky::Categories#possible_categories 54
0.39% 0.39% 0.17 0.17 0.00 0.00 150000 Picky::Categories#qualifier_mapper 42
    0.00 0.00 0.00 0.00 1/672141 Class#new 43
    0.16 0.16 0.00 0.00 150000/150000 Picky::Query::Token#possible_combinations 251
0.37% 0.37% 0.16 0.16 0.00 0.00 150000 Picky::Query::Token#similar? 228
    0.15 0.15 0.00 0.00 150000/150000 Picky::Query::Token#extract_predefined 71
0.35% 0.35% 0.15 0.15 0.00 0.00 150000 Picky::Query::Token#categorize_with 74
    0.14 0.14 0.00 0.00 50000/50000 Class#new
0.33% 0.33% 0.14 0.14 0.00 0.00 50000 Picky::Results#initialize 18
    0.14 0.11 0.00 0.03 50000/50000 Picky::Query::Tokens#partialize_last 72
0.33% 0.26% 0.14 0.11 0.00 0.03 50000 Picky::Query::Token#partial= 90
    0.03 0.03 0.00 0.00 50000/50010 NilClass#nil? 91
    0.03 0.03 0.00 0.00 50000/245555 Picky::Query::Tokens#empty? 1
    0.04 0.04 0.00 0.00 66186/245555 Array#each
    0.07 0.07 0.00 0.00 129369/245555 Picky::Query::Combinations#empty? 1
0.32% 0.32% 0.14 0.14 0.00 0.00 245555 Array#empty?
    0.00 0.00 0.00 0.00 1/100012 Picky::Tokenizer#splits_text_on 102
    0.00 0.00 0.00 0.00 5/100012 CSV#raw_encoding 2265
    0.00 0.00 0.00 0.00 5/100012 Picky::Search#terminate_early 110
    0.00 0.00 0.00 0.00 1/100012 Global#[No method] 26
    0.13 0.10 0.00 0.03 100000/100012 Array#each
0.30% 0.22% 0.13 0.10 0.00 0.03 100012 Kernel#respond_to?
    0.03 0.03 0.00 0.00 100007/100012 Kernel#respond_to_missing?
    0.12 0.09 0.00 0.03 50000/50000 Picky::Query::Tokens#partialize_last 72
0.28% 0.21% 0.12 0.09 0.00 0.03 50000 Picky::Query::Tokens#empty? 1
    0.03 0.03 0.00 0.00 50000/245555 Array#empty? 1
    0.12 0.12 0.00 0.00 218626/218626 Enumerable#sort_by
0.27% 0.27% 0.12 0.12 0.00 0.00 218626 Fixnum#<=>
    0.11 0.11 0.00 0.00 150000/150000 Picky::Query::Token#rangify 218
0.25% 0.25% 0.11 0.11 0.00 0.00 150000 String#include?
    0.11 0.11 0.00 0.00 67010/67010 Picky::Query::Allocation#initialize 28
0.25% 0.25% 0.11 0.11 0.00 0.00 67010 Picky::Index#result_identifier 17
    0.00 0.00 0.00 0.00 5/67015 Array#map
    0.10 0.10 0.00 0.00 67010/67015 Picky::Query::Allocation#initialize 29
0.24% 0.24% 0.10 0.10 0.00 0.00 67015 Picky::Index#backend 135
    0.04 0.04 0.00 0.00 67010/167010 Array#each
    0.06 0.06 0.00 0.00 100000/167010 Time#initialize
0.23% 0.23% 0.10 0.10 0.00 0.00 167010 Fixnum#+
    0.10 0.10 0.00 0.00 100000/100000 Numeric#quo
0.22% 0.22% 0.10 0.10 0.00 0.00 100000 Rational#/
    0.09 0.09 0.00 0.00 50000/50000 CSV#each 23
0.21% 0.21% 0.09 0.09 0.00 0.00 50000 Integer#times
    0.00 0.00 0.00 0.00 100000/154554 Array#shift
    0.09 0.09 0.00 0.00 150000/150000 Array#collect!
0.21% 0.21% 0.09 0.09 0.00 0.00 150000 String#downcase!
    0.09 0.09 0.00 0.00 50000/50000 Picky::Tokenizer#preprocess 253
0.20% 0.20% 0.09 0.09 0.00 0.00 50000 Picky::Tokenizer#remove_illegals 89
    0.01 0.01 0.00 0.00 4554/54554 Picky::Query::Indexes#expand_combinations_from 236
    0.07 0.07 0.00 0.00 50000/54554 <Class::Picky::Query::Tokens>#processed 29
0.20% 0.20% 0.09 0.09 0.00 0.00 54554 Array#zip
    0.08 0.08 0.00 0.00 50000/50000 Class#new
0.19% 0.19% 0.08 0.08 0.00 0.00 50000 Picky::Query::Tokens#initialize 21
    0.08 0.08 0.00 0.00 50000/50000 Picky::Tokenizer#preprocess 252
0.19% 0.19% 0.08 0.08 0.00 0.00 50000 Picky::Tokenizer#substitute_characters 145
    0.00 0.00 0.00 0.00 10/144205 CSV#init_separators 1973
    0.00 0.00 0.00 0.00 10/144205 CSV#init_converters 2079
    0.08 0.08 0.00 0.00 144185/144205 Array#each
0.18% 0.18% 0.08 0.08 0.00 0.00 144205 Symbol#==
    0.07 0.07 0.00 0.00 67010/67010 Class#new
0.16% 0.16% 0.07 0.07 0.00 0.00 67010 Picky::Query::Combinations#initialize 21
    0.06 0.06 0.00 0.00 50000/50000 Picky::Tokenizer#pretokenize 273
0.15% 0.15% 0.06 0.06 0.00 0.00 50000 Picky::Tokenizer#cap? 187
    0.06 0.06 0.00 0.00 50000/50000 Picky::Tokenizer#pretokenize 271
0.14% 0.14% 0.06 0.06 0.00 0.00 50000 Picky::Tokenizer#normalize_with_patterns? 134
    0.06 0.06 0.00 0.00 100000/100000 Rational#to_f
0.14% 0.14% 0.06 0.06 0.00 0.00 100000 Fixnum#fdiv
    0.06 0.06 0.00 0.00 50000/50000 Class#new
0.13% 0.13% 0.06 0.06 0.00 0.00 50000 Picky::Query::Allocations#initialize 25
    0.06 0.06 0.00 0.00 100000/100000 Picky::Search#search 216
0.13% 0.13% 0.06 0.06 0.00 0.00 100000 Integer#to_i
    0.06 0.06 0.00 0.00 50000/50000 Picky::Tokenizer#tokens_for 280
0.13% 0.13% 0.06 0.06 0.00 0.00 50000 Picky::Tokenizer#downcase? 174
    0.06 0.06 0.00 0.00 50000/50000 Picky::Tokenizer#preprocess 259
0.13% 0.13% 0.06 0.06 0.00 0.00 50000 Picky::Tokenizer#remove_non_single_stopwords 74
    0.05 0.05 0.00 0.00 50000/50000 Picky::Search#search_with 229
0.11% 0.11% 0.05 0.05 0.00 0.00 50000 Float#round
    0.04 0.04 0.00 0.00 62359/62359 Picky::Query::Allocation#process! 75
0.10% 0.10% 0.04 0.04 0.00 0.00 62359 Array#slice!
    0.04 0.04 0.00 0.00 18685/18685 Picky::Category#ids 48
0.09% 0.09% 0.04 0.04 0.00 0.00 18685 Picky::Bundle#ids 26
    0.04 0.04 0.00 0.00 67010/67010 Picky::Query::Allocation#calculate_score 43
0.09% 0.09% 0.04 0.04 0.00 0.00 67010 Float#+
    0.00 0.00 0.00 0.00 5/61783 Numeric#nonzero?
    0.00 0.00 0.00 0.00 6516/61783 Array#collect!
    0.03 0.03 0.00 0.00 55262/61783 Array#each
0.08% 0.08% 0.04 0.04 0.00 0.00 61783 Fixnum#zero?
    0.00 0.00 0.00 0.00 10/50011 <Class::Picky::Query::Indexes::Check>#check_backends 23
    0.00 0.00 0.00 0.00 1/50011 Picky::Tokenizer#default_options 226
    0.04 0.04 0.00 0.00 50000/50011 Picky::Query::Indexes#expand_combinations_from 186
0.08% 0.08% 0.04 0.04 0.00 0.00 50011 Symbol#to_proc
    0.00 0.00 0.00 0.00 5/50005 <Class::CSV>#open 1249
    0.03 0.03 0.00 0.00 50000/50005 Picky::Query::Tokens#partialize_last 72
0.07% 0.07% 0.03 0.03 0.00 0.00 50005 Array#last
    0.00 0.00 0.00 0.00 5/100012 String#==
    0.03 0.03 0.00 0.00 100007/100012 Kernel#respond_to?
0.07% 0.07% 0.03 0.03 0.00 0.00 100012 Kernel#respond_to_missing?
    0.00 0.00 0.00 0.00 15/50015 CSV#init_separators 2014
    0.03 0.03 0.00 0.00 50000/50015 Picky::Tokenizer#tokenize 236
0.07% 0.07% 0.03 0.03 0.00 0.00 50015 String#to_s
    0.00 0.00 0.00 0.00 10/50010 CSV#init_separators 2029
    0.03 0.03 0.00 0.00 50000/50010 Picky::Helpers::Measuring#timed 11
0.07% 0.07% 0.03 0.03 0.00 0.00 50010 Kernel#lambda
    0.00 0.00 0.00 0.00 10/50010 CSV#init_converters 2089
    0.03 0.03 0.00 0.00 50000/50010 Picky::Query::Token#partial= 91
0.07% 0.07% 0.03 0.03 0.00 0.00 50010 NilClass#nil?
    0.02 0.02 0.00 0.00 73337/73337 Class#new
0.04% 0.04% 0.02 0.02 0.00 0.00 73337 Array#initialize
    0.01 0.01 0.00 0.00 6516/6516 Array#collect!
0.02% 0.02% 0.01 0.01 0.00 0.00 6516 Array#*
    0.00 0.00 0.00 0.00 50000/154554 CSV#each 26
    0.00 0.00 0.00 0.00 100000/154554 Integer#times
    0.00 0.00 0.00 0.00 4554/154554 Picky::Query::Indexes#expand_combinations_from 236
0.01% 0.01% 0.00 0.00 0.00 0.00 154554 Array#shift
    0.00 0.00 0.00 0.00 5/5 Searches#prepare 19
0.00% 0.00% 0.00 0.00 0.00 0.00 5 <Class::CSV>#open 1247
    0.00 0.00 0.00 0.00 10/672141 Class#new 1261
    0.00 0.00 0.00 0.00 5/11 Hash#merge 1252
    0.00 0.00 0.00 0.00 5/5 <Class::IO>#open 1254
    0.00 0.00 0.00 0.00 5/15 Kernel#block_given? 1264
    0.00 0.00 0.00 0.00 5/10 Kernel#is_a? 1249
    0.00 0.00 0.00 0.00 5/50005 Array#last 1249
    0.00 0.00 0.00 0.00 5/5 Class#new
0.00% 0.00% 0.00 0.00 0.00 0.00 5 CSV#initialize 1483
    0.00 0.00 0.00 0.00 5/5 CSV#init_separators 1510
    0.00 0.00 0.00 0.00 5/5 CSV#init_parsers 1511
    0.00 0.00 0.00 0.00 5/5 CSV#init_headers 1513
    0.00 0.00 0.00 0.00 5/10 CSV#init_converters 1512
    0.00 0.00 0.00 0.00 5/5 CSV#raw_encoding 1490
    0.00 0.00 0.00 0.00 5/5 CSV#init_comments 1514
    0.00 0.00 0.00 0.00 5/11 Hash#merge 1485
    0.00 0.00 0.00 0.00 10/120 String#encode 1507
    0.00 0.00 0.00 0.00 5/10 Kernel#is_a? 1488
    0.00 0.00 0.00 0.00 15/80 Hash#delete 1518
    0.00 0.00 0.00 0.00 5/5 CSV#initialize 1510
0.00% 0.00% 0.00 0.00 0.00 0.00 5 CSV#init_separators 1948
    0.00 0.00 0.00 0.00 10/40 CSV#encode_str 2025
    0.00 0.00 0.00 0.00 5/25 CSV#encode_re 1985
    0.00 0.00 0.00 0.00 5/5 Array#include? 1964
    0.00 0.00 0.00 0.00 5/5 String#== 2010
    0.00 0.00 0.00 0.00 5/5 Numeric#nonzero? 1998
    0.00 0.00 0.00 0.00 10/50010 Kernel#lambda 2029
    0.00 0.00 0.00 0.00 5/5 String#end_with? 1980
    0.00 0.00 0.00 0.00 5/1100005 String#=~ 1985
    0.00 0.00 0.00 0.00 5/50005 IO#gets 1978
    0.00 0.00 0.00 0.00 5/5 IO#pos 1972
    0.00 0.00 0.00 0.00 5/5 IO#rewind 1992
    0.00 0.00 0.00 0.00 10/144205 Symbol#== 1973
    0.00 0.00 0.00 0.00 15/120 String#encode 2014
    0.00 0.00 0.00 0.00 15/50015 String#to_s 2014
    0.00 0.00 0.00 0.00 20/80 Hash#delete 2017
    0.00 0.00 0.00 0.00 5/5 CSV#initialize 1511
0.00% 0.00% 0.00 0.00 0.00 0.00 5 CSV#init_parsers 2047
    0.00 0.00 0.00 0.00 20/25 CSV#encode_re 2055
    0.00 0.00 0.00 0.00 5/40 CSV#encode_str 2055
    0.00 0.00 0.00 0.00 10/10 CSV#escape_re 2054
    0.00 0.00 0.00 0.00 10/80 Hash#delete 2050
    0.00 0.00 0.00 0.00 5/40 CSV#init_parsers 2055
    0.00 0.00 0.00 0.00 10/40 CSV#init_separators 2025
    0.00 0.00 0.00 0.00 25/40 CSV#encode_re 2247
0.00% 0.00% 0.00 0.00 0.00 0.00 40 CSV#encode_str 2254
    0.00 0.00 0.00 0.00 40/67055 Array#map 2255
    0.00 0.00 0.00 0.00 40/50040 Array#join 2255
    0.00 0.00 0.00 0.00 5/25 CSV#init_separators 1985
    0.00 0.00 0.00 0.00 20/25 CSV#init_parsers 2055
0.00% 0.00% 0.00 0.00 0.00 0.00 25 CSV#encode_re 2246
    0.00 0.00 0.00 0.00 25/40 CSV#encode_str 2247
    0.00 0.00 0.00 0.00 25/672141 Class#new 2247
    0.00 0.00 0.00 0.00 5/10 CSV#init_headers 2116
    0.00 0.00 0.00 0.00 5/10 CSV#initialize 1512
0.00% 0.00% 0.00 0.00 0.00 0.00 10 CSV#init_converters 2078
    0.00 0.00 0.00 0.00 10/50010 NilClass#nil? 2089
    0.00 0.00 0.00 0.00 10/10 Kernel#method 2086
    0.00 0.00 0.00 0.00 10/10 String#sub 2086
    0.00 0.00 0.00 0.00 10/10 Kernel#instance_variable_set 2083
    0.00 0.00 0.00 0.00 10/672141 Class#new 2083
    0.00 0.00 0.00 0.00 20/20 Symbol#to_s 2086
    0.00 0.00 0.00 0.00 15/80 Hash#delete 2104
    0.00 0.00 0.00 0.00 10/144205 Symbol#== 2079
    0.00 0.00 0.00 0.00 5/5 Class#new
0.00% 0.00% 0.00 0.00 0.00 0.00 5 Picky::Search#initialize 40
    0.00 0.00 0.00 0.00 5/5 <Class::Picky::Tokenizer>#searching 45
    0.00 0.00 0.00 0.00 5/15 Kernel#block_given? 43
    0.00 0.00 0.00 0.00 10/672141 Class#new 46
    0.00 0.00 0.00 0.00 5/5 CSV#initialize 1513
0.00% 0.00% 0.00 0.00 0.00 0.00 5 CSV#init_headers 2108
    0.00 0.00 0.00 0.00 5/10 CSV#init_converters 2116
    0.00 0.00 0.00 0.00 15/80 Hash#delete 2111
    0.00 0.00 0.00 0.00 1/1 Class#new
0.00% 0.00% 0.00 0.00 0.00 0.00 1 Picky::QualifierMapper#initialize 11
    0.00 0.00 0.00 0.00 1/1 Picky::Categories#each 13
    0.00 0.00 0.00 0.00 1/1 Picky::QualifierMapper#initialize 13
0.00% 0.00% 0.00 0.00 0.00 0.00 1 Picky::Categories#each 1
    0.00 0.00 0.00 0.00 1/719819 Array#each 1
    0.00 0.00 0.00 0.00 4/4 Array#each
0.00% 0.00% 0.00 0.00 0.00 0.00 4 Picky::QualifierMapper#add 18
    0.00 0.00 0.00 0.00 4/4 Picky::Category#qualifiers 19
    0.00 0.00 0.00 0.00 4/719819 Array#each 19
    0.00 0.00 0.00 0.00 5/5 Class#new
0.00% 0.00% 0.00 0.00 0.00 0.00 5 Picky::Query::Indexes#initialize 28
    0.00 0.00 0.00 0.00 5/5 <Class::Picky::Query::Indexes::Check>#check_backends 29
    0.00 0.00 0.00 0.00 5/5 Picky::Query::Indexes#initialize 29
0.00% 0.00% 0.00 0.00 0.00 0.00 5 <Class::Picky::Query::Indexes::Check>#check_backends 21
    0.00 0.00 0.00 0.00 5/67055 Array#map 22
    0.00 0.00 0.00 0.00 5/5 Array#uniq! 23
    0.00 0.00 0.00 0.00 10/50011 Symbol#to_proc 23
    0.00 0.00 0.00 0.00 5/5 Picky::Search#initialize 45
0.00% 0.00% 0.00 0.00 0.00 0.00 5 <Class::Picky::Tokenizer>#searching 23
    0.00 0.00 0.00 0.00 1/672141 Class#new 24
    0.00 0.00 0.00 0.00 5/5 CSV#init_separators 1964
0.00% 0.00% 0.00 0.00 0.00 0.00 5 Array#include?
    0.00 0.00 0.00 0.00 20/20 BasicObject#==
    0.00 0.00 0.00 0.00 1/1 Class#new
0.00% 0.00% 0.00 0.00 0.00 0.00 1 Picky::Tokenizer#initialize 201
    0.00 0.00 0.00 0.00 1/1 Hash#each 203
    0.00 0.00 0.00 0.00 1/1 Picky::Tokenizer#default_options 202
    0.00 0.00 0.00 0.00 1/11 Hash#merge 202
    0.00 0.00 0.00 0.00 5/5 CSV#initialize 1490
0.00% 0.00% 0.00 0.00 0.00 0.00 5 CSV#raw_encoding 2264
    0.00 0.00 0.00 0.00 5/5 IO#external_encoding 2266
    0.00 0.00 0.00 0.00 5/5 IO#internal_encoding 2266
    0.00 0.00 0.00 0.00 5/100012 Kernel#respond_to? 2265
    0.00 0.00 0.00 0.00 1/11 Picky::Tokenizer#initialize 202
    0.00 0.00 0.00 0.00 5/11 <Class::CSV>#open 1252
    0.00 0.00 0.00 0.00 5/11 CSV#initialize 1485
0.00% 0.00% 0.00 0.00 0.00 0.00 11 Hash#merge
    0.00 0.00 0.00 0.00 11/11 Kernel#initialize_dup
    0.00 0.00 0.00 0.00 1/1 Picky::Tokenizer#initialize 203
0.00% 0.00% 0.00 0.00 0.00 0.00 1 Hash#each
    0.00 0.00 0.00 0.00 1/1 Picky::Tokenizer#splits_text_on
    0.00 0.00 0.00 0.00 1/1 Picky::Tokenizer#rejects_token_if
    0.00 0.00 0.00 0.00 2/2 Kernel#nil?
    0.00 0.00 0.00 0.00 1/1 <Class::Searches>#series_for 4
0.00% 0.00% 0.00 0.00 0.00 0.00 1 Enumerable#map
    0.00 0.00 0.00 0.00 1/1 Range#each
    0.00 0.00 0.00 0.00 1/1 Global#[No method] 30
0.00% 0.00% 0.00 0.00 0.00 0.00 1 <Class::Searches>#series_for 3
    0.00 0.00 0.00 0.00 1/1 Enumerable#map 4
    0.00 0.00 0.00 0.00 5/5 Array#each
0.00% 0.00% 0.00 0.00 0.00 0.00 5 Picky::Search#terminate_early 109
    0.00 0.00 0.00 0.00 5/100012 Kernel#respond_to? 110
    0.00 0.00 0.00 0.00 1/1 Enumerable#map
0.00% 0.00% 0.00 0.00 0.00 0.00 1 Range#each
    0.00 0.00 0.00 0.00 5/672141 Class#new
    0.00 0.00 0.00 0.00 11/11 Hash#merge
0.00% 0.00% 0.00 0.00 0.00 0.00 11 Kernel#initialize_dup
    0.00 0.00 0.00 0.00 11/11 Hash#initialize_copy
    0.00 0.00 0.00 0.00 5/5 CSV#initialize 1514
0.00% 0.00% 0.00 0.00 0.00 0.00 5 CSV#init_comments 2124
    0.00 0.00 0.00 0.00 5/80 Hash#delete 2125
    0.00 0.00 0.00 0.00 10/10 CSV#init_parsers 2054
0.00% 0.00% 0.00 0.00 0.00 0.00 10 CSV#escape_re 2238
    0.00 0.00 0.00 0.00 10/10 String#gsub 2239
    0.00 0.00 0.00 0.00 4/4 Picky::QualifierMapper#add 19
0.00% 0.00% 0.00 0.00 0.00 0.00 4 Picky::Category#qualifiers 152
    0.00 0.00 0.00 0.00 4/4 Array#each
0.00% 0.00% 0.00 0.00 0.00 0.00 4 Hash#[]=
    0.00 0.00 0.00 0.00 5/5 CSV#init_separators 2010
0.00% 0.00% 0.00 0.00 0.00 0.00 5 String#==
    0.00 0.00 0.00 0.00 5/100012 Kernel#respond_to_missing?
    0.00 0.00 0.00 0.00 1/1 Hash#each
0.00% 0.00% 0.00 0.00 0.00 0.00 1 Picky::Tokenizer#splits_text_on 100
    0.00 0.00 0.00 0.00 1/672141 Class#new 105
    0.00 0.00 0.00 0.00 1/100012 Kernel#respond_to? 102
    0.00 0.00 0.00 0.00 1/1 Module#=== 101
    0.00 0.00 0.00 0.00 4/4 Array#each
0.00% 0.00% 0.00 0.00 0.00 0.00 4 Symbol#intern
    0.00 0.00 0.00 0.00 4/4 Array#each
0.00% 0.00% 0.00 0.00 0.00 0.00 4 Hash#has_key?
    0.00 0.00 0.00 0.00 5/5 CSV#init_separators 1998
0.00% 0.00% 0.00 0.00 0.00 0.00 5 Numeric#nonzero?
    0.00 0.00 0.00 0.00 5/61783 Fixnum#zero?
    0.00 0.00 0.00 0.00 5/5 <Class::CSV>#open 1254
0.00% 0.00% 0.00 0.00 0.00 0.00 5 <Class::IO>#open
    0.00 0.00 0.00 0.00 5/5 File#initialize
    0.00 0.00 0.00 0.00 1/1 Picky::Tokenizer#initialize 202
0.00% 0.00% 0.00 0.00 0.00 0.00 1 Picky::Tokenizer#default_options 222
    0.00 0.00 0.00 0.00 1/50011 Symbol#to_proc 226
    0.00 0.00 0.00 0.00 5/5 Class#new
0.00% 0.00% 0.00 0.00 0.00 0.00 5 Picky::Query::Boosts#initialize 34
    0.00 0.00 0.00 0.00 5/50005 CSV#init_separators 1978
    0.00 0.00 0.00 0.00 50000/50005 Kernel#loop
0.00% 0.00% 0.00 0.00 0.00 0.00 50005 IO#gets
    0.00 0.00 0.00 0.00 5/5 CSV#init_separators 1972
0.00% 0.00% 0.00 0.00 0.00 0.00 5 IO#pos
    0.00 0.00 0.00 0.00 20/20 Array#include?
0.00% 0.00% 0.00 0.00 0.00 0.00 20 BasicObject#==
    0.00 0.00 0.00 0.00 40/50040 CSV#encode_str 2255
    0.00 0.00 0.00 0.00 50000/50040 CSV#each 27
0.00% 0.00% 0.00 0.00 0.00 0.00 50040 Array#join
    0.00 0.00 0.00 0.00 5/5 CSV#init_separators 1980
0.00% 0.00% 0.00 0.00 0.00 0.00 5 String#end_with?
    0.00 0.00 0.00 0.00 25/25 Class#new
0.00% 0.00% 0.00 0.00 0.00 0.00 25 Regexp#initialize
    0.00 0.00 0.00 0.00 5/5 CSV#init_separators 1992
0.00% 0.00% 0.00 0.00 0.00 0.00 5 IO#rewind
    0.00 0.00 0.00 0.00 10/10 CSV#escape_re 2239
0.00% 0.00% 0.00 0.00 0.00 0.00 10 String#gsub
    0.00 0.00 0.00 0.00 10/120 CSV#initialize 1507
    0.00 0.00 0.00 0.00 15/120 CSV#init_separators 2014
    0.00 0.00 0.00 0.00 95/120 Array#map
0.00% 0.00% 0.00 0.00 0.00 0.00 120 String#encode
    0.00 0.00 0.00 0.00 5/5 CSV#raw_encoding 2266
0.00% 0.00% 0.00 0.00 0.00 0.00 5 IO#external_encoding
    0.00 0.00 0.00 0.00 5/5 CSV#raw_encoding 2266
0.00% 0.00% 0.00 0.00 0.00 0.00 5 IO#internal_encoding
    0.00 0.00 0.00 0.00 20/20 CSV#init_converters 2086
0.00% 0.00% 0.00 0.00 0.00 0.00 20 Symbol#to_s
    0.00 0.00 0.00 0.00 10/10 CSV#init_converters 2083
0.00% 0.00% 0.00 0.00 0.00 0.00 10 Kernel#instance_variable_set
    0.00 0.00 0.00 0.00 5/5 <Class::IO>#open
0.00% 0.00% 0.00 0.00 0.00 0.00 5 File#initialize
    0.00 0.00 0.00 0.00 10/10 CSV#init_converters 2086
0.00% 0.00% 0.00 0.00 0.00 0.00 10 String#sub
    0.00 0.00 0.00 0.00 11/11 Kernel#initialize_dup
0.00% 0.00% 0.00 0.00 0.00 0.00 11 Hash#initialize_copy
    0.00 0.00 0.00 0.00 10/10 CSV#init_converters 2086
0.00% 0.00% 0.00 0.00 0.00 0.00 10 Kernel#method
    0.00 0.00 0.00 0.00 5/15 <Class::CSV>#open 1264
    0.00 0.00 0.00 0.00 5/15 CSV#each 1715
    0.00 0.00 0.00 0.00 5/15 Picky::Search#initialize 43
0.00% 0.00% 0.00 0.00 0.00 0.00 15 Kernel#block_given?
    0.00 0.00 0.00 0.00 5/5 Class#new
0.00% 0.00% 0.00 0.00 0.00 0.00 5 Hash#initialize
    0.00 0.00 0.00 0.00 5/10 <Class::CSV>#open 1249
    0.00 0.00 0.00 0.00 5/10 CSV#initialize 1488
0.00% 0.00% 0.00 0.00 0.00 0.00 10 Kernel#is_a?
    0.00 0.00 0.00 0.00 50000/50000 CSV#shift 1758
0.00% 0.00% 0.00 0.00 0.00 0.00 50000 CSV#header_row? 1740
    0.00 0.00 0.00 0.00 50000/50000 Kernel#loop
0.00% 0.00% 0.00 0.00 0.00 0.00 50000 String#sub!
    0.00 0.00 0.00 0.00 95/95 Array#map
0.00% 0.00% 0.00 0.00 0.00 0.00 95 Encoding#name
    0.00 0.00 0.00 0.00 300000/300000 Array#each
0.00% 0.00% 0.00 0.00 0.00 0.00 300000 String#[]
    0.00 0.00 0.00 0.00 5/5 Class#new
0.00% 0.00% 0.00 0.00 0.00 0.00 5 Searches#initialize 7
    0.00 0.00 0.00 0.00 50000/50000 CSV#each 21
0.00% 0.00% 0.00 0.00 0.00 0.00 50000 Array#first
    0.00 0.00 0.00 0.00 5/5 <Class::Picky::Query::Indexes::Check>#check_backends 23
0.00% 0.00% 0.00 0.00 0.00 0.00 5 Array#uniq!
    0.00 0.00 0.00 0.00 2/2 Hash#each
0.00% 0.00% 0.00 0.00 0.00 0.00 2 Kernel#nil?
    0.00 0.00 0.00 0.00 1/1 Picky::Tokenizer#splits_text_on 101
0.00% 0.00% 0.00 0.00 0.00 0.00 1 Module#===
    0.00 0.00 0.00 0.00 1/1 Class#new
0.00% 0.00% 0.00 0.00 0.00 0.00 1 RegexpWrapper#initialize 3
    0.00 0.00 0.00 0.00 1/1 Hash#each
0.00% 0.00% 0.00 0.00 0.00 0.00 1 Picky::Tokenizer#rejects_token_if 160
    0.00 0.00 0.00 0.00 20/80 CSV#init_separators 2017
    0.00 0.00 0.00 0.00 10/80 CSV#init_parsers 2050
    0.00 0.00 0.00 0.00 15/80 CSV#init_converters 2104
    0.00 0.00 0.00 0.00 15/80 CSV#init_headers 2111
    0.00 0.00 0.00 0.00 5/80 CSV#init_comments 2125
    0.00 0.00 0.00 0.00 15/80 CSV#initialize 1518
0.00% 0.00% 0.00 0.00 0.00 0.00 80 Hash#delete
* indicates recursively called methods