Profile Report

Thread ID Fiber ID Total Time
70148967237340 70148927905660 43.39042499999915

Thread 70148967237340, Fiber: 70148927905660

%Total %Self Total Self Wait Child Calls Name Line
100.00% 0.00% 43.39 0.00 0.00 43.39 1 Global#[No method] 26
    43.39 0.00 0.00 43.39 1/657460 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/657460 Enumerable#sort_by
    0.00 0.00 0.00 0.00 50000/657460 Kernel#loop
    0.00 0.00 0.00 0.00 5/657460 Searches#each 12
    0.00 0.00 0.00 0.00 395090/657460 Enumerable#inject
    0.00 0.00 0.00 0.00 1/657460 Picky::Categories#each 1
    0.00 0.00 0.00 0.00 50000/657460 Picky::Query::Allocations#each 1
    0.00 0.00 0.00 0.00 50000/657460 Enumerable#any?
    0.00 0.00 0.00 0.00 50000/657460 Picky::Query::Allocations#calculate_score 32
    0.00 0.00 0.00 0.00 4/657460 Picky::QualifierMapper#add 19
    43.39 0.00 0.00 43.39 1/657460 Global#[No method] 30
100.00% 0.00% 43.39 0.00 0.00 43.39 657460 *Array#each
    40.89 0.00 0.00 40.89 5/5 Searches#each
    39.93 0.18 0.00 39.75 50000/50000 Picky::Search#search
    14.45 0.20 0.00 14.25 50000/50000 Picky::Query::Indexes#allocation_for
    11.85 0.41 0.00 11.44 150000/150000 Picky::Query::Token#possible_combinations
    7.63 1.34 0.00 6.28 600000/600000 Picky::Query::Token#combination_for
    4.52 0.21 0.00 4.31 62359/62359 Picky::Query::Allocation#process!
    2.96 0.28 0.00 2.69 67010/67010 Picky::Query::Allocation#calculate_score
    2.50 0.00 0.00 2.50 5/5 Searches#prepare
    0.22 0.22 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.05 0.03 0.00 0.02 23332/772141 Class#new
    0.04 0.04 0.00 0.00 67010/167009 Fixnum#+
    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.89 0.00 0.00 40.89 5/5 Array#each
94.24% 0.00% 40.89 0.00 0.00 40.89 5 Searches#each 11
    0.00 0.00 0.00 0.00 5/657460 Array#each 12
    39.93 0.18 0.00 39.75 50000/50000 Array#each
92.02% 0.41% 39.93 0.18 0.00 39.75 50000 Picky::Search#search 215
    28.41 1.12 0.00 27.30 50000/50000 Picky::Search#search_with 216
    11.27 0.24 0.00 11.04 50000/50000 Picky::Search#tokenized 216
    0.06 0.06 0.00 0.00 100000/100000 Integer#to_i 216
    28.41 1.12 0.00 27.30 50000/50000 Picky::Search#search 216
65.49% 2.57% 28.41 1.12 0.00 27.30 50000 Picky::Search#search_with 223
    27.25 0.27 0.00 26.98 50000/50000 Picky::Helpers::Measuring#timed 226
    0.05 0.05 0.00 0.00 50000/50000 Float#round 229
    27.25 0.27 0.00 26.98 50000/50000 Picky::Search#search_with 226
62.80% 0.61% 27.25 0.27 0.00 26.98 50000 Picky::Helpers::Measuring#timed 10
    25.89 0.11 0.00 25.78 50000/50000 Proc#call 13
    0.67 0.44 0.00 0.23 100000/772141 Class#new 15
    0.39 0.15 0.00 0.24 50000/50000 Time#- 15
    0.03 0.03 0.00 0.00 50000/50000 Float#to_f 15
    25.89 0.11 0.00 25.78 50000/50000 Picky::Helpers::Measuring#timed 13
59.66% 0.25% 25.89 0.11 0.00 25.78 50000 Proc#call
    25.78 0.12 0.00 25.66 50000/50000 Picky::Search#execute
    25.78 0.12 0.00 25.66 50000/50000 Proc#call
59.41% 0.29% 25.78 0.12 0.00 25.66 50000 Picky::Search#execute 238
    19.55 0.09 0.00 19.46 50000/50000 Picky::Search#sorted_allocations 239
    6.10 0.17 0.00 5.94 50000/50000 <Class::Picky::Results>#from 239
    19.55 0.09 0.00 19.46 50000/50000 Picky::Search#execute 239
45.06% 0.20% 19.55 0.09 0.00 19.46 50000 Picky::Search#sorted_allocations 270
    19.46 0.33 0.00 19.14 50000/50000 Picky::Query::Indexes#prepared_allocations_for 271
    19.46 0.33 0.00 19.14 50000/50000 Picky::Search#sorted_allocations 271
44.86% 0.75% 19.46 0.33 0.00 19.14 50000 Picky::Query::Indexes#prepared_allocations_for 65
    14.97 0.11 0.00 14.86 50000/50000 Picky::Query::Indexes#allocations_for 66
    3.15 0.08 0.00 3.07 50000/50000 Picky::Query::Allocations#calculate_score 72
    1.01 0.08 0.00 0.93 50000/50000 Picky::Query::Allocations#sort! 84
    0.00 0.00 0.00 0.00 4554/395090 Picky::Query::Indexes#expand_combinations_from 190
    0.00 0.00 0.00 0.00 50000/395090 Picky::Query::Tokens#possible_combinations_in 47
    0.00 0.00 0.00 0.00 150000/395090 Picky::Categories#possible_for 40
    0.00 0.00 0.00 0.00 6516/395090 Array#collect!
    0.55 0.09 0.00 0.46 67010/395090 Array#clustered_uniq 11
    0.67 0.09 0.00 0.58 67010/395090 Picky::Query::Combinations#score 31
    14.64 0.08 0.00 14.56 50000/395090 Picky::Query::Indexes#allocations_ary_for 106
36.56% 0.60% 15.86 0.26 0.00 15.60 395090 *Enumerable#inject
    0.00 0.00 0.00 0.00 395090/657460 Array#each
    14.97 0.11 0.00 14.86 50000/50000 Picky::Query::Indexes#prepared_allocations_for 66
34.51% 0.25% 14.97 0.11 0.00 14.86 50000 Picky::Query::Indexes#allocations_for 102
    14.73 0.09 0.00 14.64 50000/50000 Picky::Query::Indexes#allocations_ary_for 103
    0.13 0.07 0.00 0.06 50000/772141 Class#new 103
    14.73 0.09 0.00 14.64 50000/50000 Picky::Query::Indexes#allocations_for 103
33.95% 0.20% 14.73 0.09 0.00 14.64 50000 Picky::Query::Indexes#allocations_ary_for 105
    14.64 0.08 0.00 14.56 50000/395090 Enumerable#inject 106
    14.45 0.20 0.00 14.25 50000/50000 Array#each
33.30% 0.45% 14.45 0.20 0.00 14.25 50000 Picky::Query::Indexes#allocation_for 110
    12.40 0.09 0.00 12.31 50000/50000 Picky::Query::Tokens#possible_combinations_in 113
    1.04 0.11 0.00 0.93 50000/50000 Picky::Query::Indexes#expand_combinations_from 117
    0.81 0.14 0.00 0.67 50000/50000 Array#map! 121
    12.40 0.09 0.00 12.31 50000/50000 Picky::Query::Indexes#allocation_for 113
28.57% 0.20% 12.40 0.09 0.00 12.31 50000 Picky::Query::Tokens#possible_combinations_in 46
    0.00 0.00 0.00 0.00 50000/395090 Enumerable#inject 47
    11.85 0.41 0.00 11.44 150000/150000 Array#each
27.30% 0.93% 11.85 0.41 0.00 11.44 150000 Picky::Query::Token#possible_combinations 250
    11.27 0.41 0.00 10.87 150000/150000 Picky::Categories#possible_for 251
    0.17 0.17 0.00 0.00 150000/150000 Picky::Query::Token#similar? 251
    11.27 0.24 0.00 11.04 50000/50000 Picky::Search#search 216
25.98% 0.54% 11.27 0.24 0.00 11.04 50000 Picky::Search#tokenized 258
    6.49 0.14 0.00 6.35 50000/50000 <Class::Picky::Query::Tokens>#processed 260
    4.08 0.34 0.00 3.75 50000/50000 Picky::Tokenizer#tokenize 259
    0.47 0.17 0.00 0.30 50000/50000 Picky::Query::Tokens#partialize_last 262
    11.27 0.41 0.00 10.87 150000/150000 Picky::Query::Token#possible_combinations 251
25.98% 0.94% 11.27 0.41 0.00 10.87 150000 Picky::Categories#possible_for 39
    1.56 0.33 0.00 1.23 150000/150000 Picky::Categories#possible_categories 40
    0.00 0.00 0.00 0.00 150000/395090 Enumerable#inject 40
    7.63 1.34 0.00 6.28 600000/600000 Array#each
17.58% 3.10% 7.63 1.34 0.00 6.28 600000 Picky::Query::Token#combination_for 258
    5.71 2.21 0.00 3.50 600000/600000 Picky::Category#weight 259
    0.57 0.22 0.00 0.35 164726/772141 Class#new 260
    0.37 0.28 0.00 0.09 50000/104554 Picky::Tokenizer#tokens_for 280
    0.45 0.04 0.00 0.41 4554/104554 Picky::Query::Indexes#expand_combinations_from 199
    6.12 0.52 0.00 5.59 50000/104554 <Class::Picky::Query::Tokens>#processed 29
15.99% 1.94% 6.94 0.84 0.00 6.10 104554 Array#collect!
    5.33 0.32 0.00 5.01 150000/150000 <Class::Picky::Query::Token>#processed
    0.31 0.31 0.00 0.00 6516/6516 Array#*
    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.00 0.00 0.00 0.00 6516/61783 Fixnum#zero?
    0.00 0.00 0.00 0.00 6516/395090 Enumerable#inject
    6.49 0.14 0.00 6.35 50000/50000 Picky::Search#tokenized 260
14.95% 0.32% 6.49 0.14 0.00 6.35 50000 <Class::Picky::Query::Tokens>#processed 28
    6.12 0.52 0.00 5.59 50000/104554 Array#collect! 29
    0.16 0.08 0.00 0.08 50000/772141 Class#new 29
    0.07 0.07 0.00 0.00 50000/54554 Array#zip 29
    6.10 0.17 0.00 5.94 50000/50000 Picky::Search#execute 239
14.07% 0.38% 6.10 0.17 0.00 5.94 50000 <Class::Picky::Results>#from 27
    5.73 0.11 0.00 5.61 50000/50000 Picky::Results#prepare! 29
    0.21 0.07 0.00 0.14 50000/772141 Class#new 28
    5.73 0.11 0.00 5.61 50000/50000 <Class::Picky::Results>#from 29
13.19% 0.26% 5.73 0.11 0.00 5.61 50000 Picky::Results#prepare! 38
    5.61 0.72 0.00 4.89 50000/50000 Picky::Query::Allocations#process! 41
    5.71 2.21 0.00 3.50 600000/600000 Picky::Query::Token#combination_for 259
13.16% 5.09% 5.71 2.21 0.00 3.50 600000 Picky::Category#weight 18
    1.84 0.99 0.00 0.85 600000/618685 Picky::Category#bundle_for 19
    1.00 1.00 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.61 0.72 0.00 4.89 50000/50000 Picky::Results#prepare! 41
12.94% 1.67% 5.61 0.72 0.00 4.89 50000 Picky::Query::Allocations#process! 116
    4.89 0.09 0.00 4.80 50000/50000 Picky::Query::Allocations#each 117
    5.33 0.32 0.00 5.01 150000/150000 Array#collect!
12.28% 0.74% 5.33 0.32 0.00 5.01 150000 <Class::Picky::Query::Token>#processed 39
    4.46 0.94 0.00 3.51 150000/150000 Picky::Query::Token#process 40
    0.55 0.22 0.00 0.33 150000/772141 Class#new 40
    4.89 0.09 0.00 4.80 50000/50000 Picky::Query::Allocations#process! 117
11.27% 0.21% 4.89 0.09 0.00 4.80 50000 Picky::Query::Allocations#each 1
    0.00 0.00 0.00 0.00 50000/657460 Array#each 1
    4.52 0.21 0.00 4.31 62359/62359 Array#each
10.42% 0.49% 4.52 0.21 0.00 4.31 62359 Picky::Query::Allocation#process! 72
    4.26 0.19 0.00 4.07 62359/62359 Picky::Query::Allocation#calculate_ids 73
    0.04 0.04 0.00 0.00 62359/62359 Array#slice! 75
    4.46 0.94 0.00 3.51 150000/150000 <Class::Picky::Query::Token>#processed 40
10.28% 2.18% 4.46 0.94 0.00 3.51 150000 Picky::Query::Token#process 42
    0.88 0.53 0.00 0.35 150000/150000 Picky::Query::Token#partialize 45
    0.85 0.69 0.00 0.16 150000/150000 Picky::Query::Token#qualify 43
    0.83 0.44 0.00 0.39 150000/150000 Picky::Query::Token#similarize 44
    0.58 0.35 0.00 0.24 150000/150000 Picky::Query::Token#remove_illegals 47
    0.37 0.26 0.00 0.11 150000/150000 Picky::Query::Token#rangify 46
    4.26 0.19 0.00 4.07 62359/62359 Picky::Query::Allocation#process! 73
9.82% 0.44% 4.26 0.19 0.00 4.07 62359 Picky::Query::Allocation#calculate_ids 53
    3.93 0.48 0.00 3.45 62359/62359 Picky::Backends::Backend#ids 55
    0.14 0.10 0.00 0.04 62359/129369 Picky::Query::Combinations#empty? 54
    4.08 0.34 0.00 3.75 50000/50000 Picky::Search#tokenized 259
9.41% 0.78% 4.08 0.34 0.00 3.75 50000 Picky::Tokenizer#tokenize 235
    2.26 0.27 0.00 1.99 50000/50000 Picky::Tokenizer#pretokenize 238
    0.60 0.16 0.00 0.44 50000/50000 Picky::Tokenizer#tokens_for 240
    0.44 0.22 0.00 0.23 50000/50000 Picky::Tokenizer#preprocess 236
    0.41 0.14 0.00 0.27 50000/200000 String#blank? 237
    0.03 0.03 0.00 0.00 50000/50015 String#to_s 236
    3.93 0.48 0.00 3.45 62359/62359 Picky::Query::Allocation#calculate_ids 55
9.06% 1.11% 3.93 0.48 0.00 3.45 62359 Picky::Backends::Backend#ids 74
    2.63 1.16 0.00 1.46 62359/62359 <Class::Performant::Array>#memory_efficient_intersect 79
    0.82 0.11 0.00 0.71 62359/62359 Picky::Query::Combinations#map 79
    3.15 0.08 0.00 3.07 50000/50000 Picky::Query::Indexes#prepared_allocations_for 72
7.27% 0.19% 3.15 0.08 0.00 3.07 50000 Picky::Query::Allocations#calculate_score 31
    0.00 0.00 0.00 0.00 50000/657460 Array#each 32
    0.00 0.00 0.00 0.00 1/772141 Picky::Tokenizer#splits_text_on 105
    0.00 0.00 0.00 0.00 1/772141 <Class::Picky::Tokenizer>#searching 24
    0.00 0.00 0.00 0.00 25/772141 CSV#encode_re 2247
    0.00 0.00 0.00 0.00 10/772141 CSV#init_converters 2083
    0.00 0.00 0.00 0.00 10/772141 Picky::Search#initialize 46
    0.00 0.00 0.00 0.00 5/772141 Range#each
    0.00 0.00 0.00 0.00 1/772141 Picky::Categories#qualifier_mapper 43
    0.00 0.00 0.00 0.00 10/772141 <Class::CSV>#open 1261
    0.03 0.03 0.00 0.00 50000/772141 CSV#shift 1772
    0.05 0.03 0.00 0.02 23332/772141 Array#each
    0.13 0.07 0.00 0.06 50000/772141 Picky::Query::Indexes#allocations_for 103
    0.16 0.08 0.00 0.08 50000/772141 <Class::Picky::Query::Tokens>#processed 29
    0.21 0.07 0.00 0.14 50000/772141 <Class::Picky::Results>#from 28
    0.55 0.22 0.00 0.33 150000/772141 <Class::Picky::Query::Token>#processed 40
    0.57 0.22 0.00 0.35 164726/772141 Picky::Query::Token#combination_for 260
    0.67 0.17 0.00 0.51 134020/772141 Array#map!
    0.67 0.44 0.00 0.23 100000/772141 Picky::Helpers::Measuring#timed 15
7.03% 3.06% 3.05 1.33 0.00 1.72 772141 *Class#new
    0.43 0.22 0.00 0.22 67010/67010 Picky::Query::Allocation#initialize
    0.35 0.35 0.00 0.00 164726/164726 Picky::Query::Combination#initialize
    0.33 0.33 0.00 0.00 150000/150000 Picky::Query::Token#initialize
    0.23 0.17 0.00 0.06 100000/100000 Time#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.96 0.28 0.00 2.69 67010/67010 Array#each
6.83% 0.64% 2.96 0.28 0.00 2.69 67010 Picky::Query::Allocation#calculate_score 39
    1.61 0.11 0.00 1.51 67010/67010 Picky::Query::Combinations#boost_for 43
    0.88 0.10 0.00 0.77 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
    2.63 1.16 0.00 1.46 62359/62359 Picky::Backends::Backend#ids 79
6.05% 2.68% 2.63 1.16 0.00 1.46 62359 <Class::Performant::Array>#memory_efficient_intersect
    1.46 0.10 0.00 1.37 62359/62359 Array#sort_by!
    2.50 0.00 0.00 2.50 5/5 Array#each
5.76% 0.00% 2.50 0.00 0.00 2.50 5 Searches#prepare 15
    2.50 0.46 0.00 2.04 5/5 CSV#each 19
    0.00 0.00 0.00 0.00 5/5 <Class::CSV>#open 19
    2.50 0.46 0.00 2.04 5/5 Searches#prepare 19
5.75% 1.05% 2.50 0.46 0.00 2.04 5 CSV#each 1714
    1.94 0.15 0.00 1.79 50000/50000 CSV#shift 28
    0.10 0.10 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.26 0.27 0.00 1.99 50000/50000 Picky::Tokenizer#tokenize 238
5.21% 0.63% 2.26 0.27 0.00 1.99 50000 Picky::Tokenizer#pretokenize 269
    1.22 0.09 0.00 1.13 50000/50000 Picky::Tokenizer#reject 272
    0.64 0.09 0.00 0.55 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
    1.94 0.15 0.00 1.79 50000/50000 CSV#each 28
4.48% 0.36% 1.94 0.15 0.00 1.79 50000 CSV#shift 1751
    1.76 0.56 0.00 1.20 50000/50000 Kernel#loop 1774
    0.03 0.03 0.00 0.00 50000/772141 Class#new 1772
    0.00 0.00 0.00 0.00 50000/50000 CSV#header_row? 1758
    0.06 0.03 0.00 0.02 18685/618685 Picky::Category#ids 35
    1.84 0.99 0.00 0.85 600000/618685 Picky::Category#weight 19
4.36% 2.35% 1.89 1.02 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.76 0.56 0.00 1.20 50000/50000 CSV#shift 1774
4.06% 1.30% 1.76 0.56 0.00 1.20 50000 Kernel#loop
    0.00 0.00 0.00 0.00 50000/657460 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
    1.61 0.11 0.00 1.51 67010/67010 Picky::Query::Allocation#calculate_score 43
3.72% 0.24% 1.61 0.11 0.00 1.51 67010 Picky::Query::Combinations#boost_for 33
    1.51 0.14 0.00 1.37 67010/67010 Picky::Query::Boosts#boost_for 34
    1.56 0.33 0.00 1.23 150000/150000 Picky::Categories#possible_for 40
3.60% 0.77% 1.56 0.33 0.00 1.23 150000 Picky::Categories#possible_categories 53
    1.05 0.24 0.00 0.81 150000/150000 Picky::Query::Token#predefined_categories 54
    0.18 0.18 0.00 0.00 150000/150000 Picky::Categories#qualifier_mapper 54
    1.51 0.14 0.00 1.37 67010/67010 Picky::Query::Combinations#boost_for 34
3.48% 0.32% 1.51 0.14 0.00 1.37 67010 Picky::Query::Boosts#boost_for 62
    0.84 0.11 0.00 0.73 67010/67010 Picky::Query::Boosts#boost_for_categories 63
    0.53 0.30 0.00 0.23 67010/129414 Array#map 63
    1.46 0.10 0.00 1.37 62359/62359 <Class::Performant::Array>#memory_efficient_intersect
3.37% 0.22% 1.46 0.10 0.00 1.37 62359 Array#sort_by!
    1.37 1.20 0.00 0.17 62359/62359 Enumerable#sort_by
    0.41 0.14 0.00 0.27 50000/200000 Picky::Tokenizer#tokenize 237
    0.99 0.39 0.00 0.60 150000/200000 Array#reject!
3.22% 1.22% 1.40 0.53 0.00 0.87 200000 String#blank? 102
    0.66 0.26 0.00 0.40 200000/200000 Kernel#!~ 105
    0.21 0.21 0.00 0.00 200000/200000 String#encoding_aware? 104
    1.37 1.20 0.00 0.17 62359/62359 Array#sort_by!
3.15% 2.75% 1.37 1.20 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/657460 Array#each
    0.00 0.00 0.00 0.00 5/129414 <Class::Picky::Query::Indexes::Check>#check_backends 22
    0.00 0.00 0.00 0.00 40/129414 CSV#encode_str 2255
    0.53 0.30 0.00 0.23 67010/129414 Picky::Query::Boosts#boost_for 63
    0.71 0.29 0.00 0.43 62359/129414 Picky::Query::Combinations#map 1
2.86% 1.34% 1.24 0.58 0.00 0.66 129414 Array#map
    0.43 0.24 0.00 0.19 206529/206529 Picky::Query::Combination#ids
    0.23 0.23 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
    1.22 0.09 0.00 1.13 50000/50000 Picky::Tokenizer#pretokenize 272
2.81% 0.20% 1.22 0.09 0.00 1.13 50000 Picky::Tokenizer#reject 163
    1.13 0.15 0.00 0.99 50000/50000 Array#reject! 164
    1.13 0.15 0.00 0.99 50000/50000 Picky::Tokenizer#reject 164
2.61% 0.33% 1.13 0.15 0.00 0.99 50000 Array#reject!
    0.99 0.39 0.00 0.60 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.35 0.35 0.00 0.00 300000/1100005 Picky::Query::Token#partialize 125
    0.39 0.39 0.00 0.00 300000/1100005 Picky::Query::Token#similarize 170
    0.40 0.40 0.00 0.00 200000/1100005 Kernel#!~
2.61% 2.61% 1.13 1.13 0.00 0.00 1100005 String#=~
    1.05 0.24 0.00 0.81 150000/150000 Picky::Categories#possible_categories 54
2.42% 0.55% 1.05 0.24 0.00 0.81 150000 Picky::Query::Token#predefined_categories 67
    0.81 0.40 0.00 0.41 150000/150000 Picky::Query::Token#extract_predefined 68
    1.04 0.11 0.00 0.93 50000/50000 Picky::Query::Indexes#allocation_for 117
2.41% 0.25% 1.04 0.11 0.00 0.93 50000 Picky::Query::Indexes#expand_combinations_from 182
    0.45 0.04 0.00 0.41 4554/104554 Array#collect! 199
    0.32 0.32 0.00 0.00 4554/54554 Array#zip 236
    0.15 0.07 0.00 0.08 50000/50000 Enumerable#any? 186
    0.00 0.00 0.00 0.00 4554/154554 Array#shift 236
    0.00 0.00 0.00 0.00 4554/395090 Enumerable#inject 190
    1.01 0.08 0.00 0.93 50000/50000 Picky::Query::Indexes#prepared_allocations_for 84
2.32% 0.19% 1.01 0.08 0.00 0.93 50000 Picky::Query::Allocations#sort! 39
    0.93 0.24 0.00 0.69 50000/50000 Array#sort! 40
    1.00 1.00 0.00 0.00 600000/600000 Picky::Category#weight 28
2.31% 2.31% 1.00 1.00 0.00 0.00 600000 Picky::Bundle#weight 49
    0.93 0.24 0.00 0.69 50000/50000 Picky::Query::Allocations#sort! 40
2.14% 0.55% 0.93 0.24 0.00 0.69 50000 Array#sort!
    0.69 0.51 0.00 0.18 325497/325497 Picky::Query::Allocation#<=>
    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.26 0.26 0.00 0.00 150000/400000 Array#collect!
    0.46 0.46 0.00 0.00 50000/400000 RegexpWrapper#split 8
2.04% 2.04% 0.88 0.88 0.00 0.00 400000 String#split
    0.88 0.53 0.00 0.35 150000/150000 Picky::Query::Token#process 45
2.03% 1.23% 0.88 0.53 0.00 0.35 150000 Picky::Query::Token#partialize 117
    0.35 0.35 0.00 0.00 300000/1100005 String#=~ 125
    0.88 0.10 0.00 0.77 67010/67010 Picky::Query::Allocation#calculate_score 43
2.03% 0.24% 0.88 0.10 0.00 0.77 67010 Picky::Backends::Backend#weight 55
    0.77 0.10 0.00 0.67 67010/67010 Picky::Query::Combinations#score 56
    0.87 0.87 0.00 0.00 618685/618685 Picky::Category#bundle_for 56
2.01% 2.01% 0.87 0.87 0.00 0.00 618685 Picky::Query::Token#select_bundle 82
    0.85 0.69 0.00 0.16 150000/150000 Picky::Query::Token#process 43
1.97% 1.60% 0.85 0.69 0.00 0.16 150000 Picky::Query::Token#qualify 278
    0.16 0.16 0.00 0.00 150000/400000 String#split 279
    0.84 0.11 0.00 0.73 67010/67010 Picky::Query::Boosts#boost_for 63
1.94% 0.26% 0.84 0.11 0.00 0.73 67010 Picky::Query::Boosts#boost_for_categories 49
    0.73 0.18 0.00 0.55 67010/67010 Array#clustered_uniq 50
    0.83 0.44 0.00 0.39 150000/150000 Picky::Query::Token#process 44
1.91% 1.02% 0.83 0.44 0.00 0.39 150000 Picky::Query::Token#similarize 168
    0.39 0.39 0.00 0.00 300000/1100005 String#=~ 170
    0.82 0.11 0.00 0.71 62359/62359 Picky::Backends::Backend#ids 79
1.90% 0.25% 0.82 0.11 0.00 0.71 62359 Picky::Query::Combinations#map 1
    0.71 0.29 0.00 0.43 62359/129414 Array#map 1
    0.81 0.14 0.00 0.67 50000/50000 Picky::Query::Indexes#allocation_for 121
1.88% 0.33% 0.81 0.14 0.00 0.67 50000 Array#map!
    0.67 0.17 0.00 0.51 134020/772141 Class#new
    0.81 0.40 0.00 0.41 150000/150000 Picky::Query::Token#predefined_categories 68
1.86% 0.92% 0.81 0.40 0.00 0.41 150000 Picky::Query::Token#extract_predefined 70
    0.25 0.25 0.00 0.00 150000/150000 Picky::QualifierMapper#restrict 72
    0.16 0.16 0.00 0.00 150000/150000 Picky::Query::Token#categorize_with 71
    0.77 0.10 0.00 0.67 67010/67010 Picky::Backends::Backend#weight 56
1.79% 0.24% 0.77 0.10 0.00 0.67 67010 Picky::Query::Combinations#score 30
    0.67 0.09 0.00 0.58 67010/395090 Enumerable#inject 31
    0.73 0.18 0.00 0.55 67010/67010 Picky::Query::Boosts#boost_for_categories 50
1.68% 0.41% 0.73 0.18 0.00 0.55 67010 Array#clustered_uniq 9
    0.55 0.09 0.00 0.46 67010/395090 Enumerable#inject 11
    0.69 0.51 0.00 0.18 325497/325497 Array#sort!
1.59% 1.17% 0.69 0.51 0.00 0.18 325497 Picky::Query::Allocation#<=> 99
    0.18 0.18 0.00 0.00 325497/325497 Float#<=> 100
    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.58% 1.58% 0.68 0.68 0.00 0.00 618685 Picky::Query::Token#range 222
    0.66 0.26 0.00 0.40 200000/200000 String#blank? 105
1.52% 0.59% 0.66 0.26 0.00 0.40 200000 Kernel#!~
    0.40 0.40 0.00 0.00 200000/1100005 String#=~
    0.64 0.09 0.00 0.55 50000/50000 Picky::Tokenizer#pretokenize 270
1.48% 0.21% 0.64 0.09 0.00 0.55 50000 Picky::Tokenizer#split 108
    0.55 0.09 0.00 0.46 50000/50000 RegexpWrapper#split 109
    0.60 0.16 0.00 0.44 50000/50000 Picky::Tokenizer#tokenize 240
1.38% 0.38% 0.60 0.16 0.00 0.44 50000 Picky::Tokenizer#tokens_for 279
    0.37 0.28 0.00 0.09 50000/104554 Array#collect! 280
    0.06 0.06 0.00 0.00 50000/50000 Picky::Tokenizer#downcase? 280
    0.58 0.35 0.00 0.24 150000/150000 Picky::Query::Token#process 47
1.35% 0.80% 0.58 0.35 0.00 0.24 150000 Picky::Query::Token#remove_illegals 234
    0.24 0.24 0.00 0.00 150000/150000 String#gsub! 237
    0.55 0.09 0.00 0.46 50000/50000 Picky::Tokenizer#split 109
1.27% 0.21% 0.55 0.09 0.00 0.46 50000 RegexpWrapper#split 7
    0.46 0.46 0.00 0.00 50000/400000 String#split 8
    0.47 0.17 0.00 0.30 50000/50000 Picky::Search#tokenized 262
1.08% 0.39% 0.47 0.17 0.00 0.30 50000 Picky::Query::Tokens#partialize_last 71
    0.15 0.12 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.44 0.22 0.00 0.23 50000/50000 Picky::Tokenizer#tokenize 236
1.02% 0.50% 0.44 0.22 0.00 0.23 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.22 0.00 0.22 67010/67010 Class#new
1.00% 0.50% 0.43 0.22 0.00 0.22 67010 Picky::Query::Allocation#initialize 23
    0.11 0.11 0.00 0.00 67010/67010 Picky::Index#result_identifier 28
    0.11 0.11 0.00 0.00 67010/67015 Picky::Index#backend 29
    0.43 0.24 0.00 0.19 206529/206529 Array#map
0.99% 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.39 0.15 0.00 0.24 50000/50000 Picky::Helpers::Measuring#timed 15
0.90% 0.35% 0.39 0.15 0.00 0.24 50000 Time#-
    0.12 0.06 0.00 0.05 50000/50000 Numeric#quo
    0.09 0.06 0.00 0.03 50000/50000 Rational#to_f
    0.03 0.03 0.00 0.00 50000/50000 Fixnum#-
    0.07 0.07 0.00 0.00 50000/54554 <Class::Picky::Query::Tokens>#processed 29
    0.32 0.32 0.00 0.00 4554/54554 Picky::Query::Indexes#expand_combinations_from 236
0.89% 0.89% 0.39 0.39 0.00 0.00 54554 Array#zip
    0.37 0.26 0.00 0.11 150000/150000 Picky::Query::Token#process 46
0.85% 0.59% 0.37 0.26 0.00 0.11 150000 Picky::Query::Token#rangify 217
    0.11 0.11 0.00 0.00 150000/150000 String#include? 218
    0.35 0.35 0.00 0.00 164726/164726 Class#new
0.81% 0.81% 0.35 0.35 0.00 0.00 164726 Picky::Query::Combination#initialize 18
    0.33 0.33 0.00 0.00 150000/150000 Class#new
0.76% 0.76% 0.33 0.33 0.00 0.00 150000 Picky::Query::Token#initialize 27
    0.31 0.31 0.00 0.00 6516/6516 Array#collect!
0.72% 0.72% 0.31 0.31 0.00 0.00 6516 Array#*
    0.14 0.10 0.00 0.04 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.67% 0.50% 0.29 0.22 0.00 0.07 129369 Picky::Query::Combinations#empty? 1
    0.07 0.07 0.00 0.00 129369/179369 Array#empty? 1
    0.25 0.25 0.00 0.00 150000/150000 Picky::Query::Token#extract_predefined 72
0.58% 0.58% 0.25 0.25 0.00 0.00 150000 Picky::QualifierMapper#restrict 38
    0.24 0.24 0.00 0.00 150000/150000 Picky::Query::Token#remove_illegals 237
0.54% 0.54% 0.24 0.24 0.00 0.00 150000 String#gsub!
    0.23 0.23 0.00 0.00 211195/211195 Array#map
0.53% 0.53% 0.23 0.23 0.00 0.00 211195 Picky::Query::Combination#category_name 27
    0.23 0.17 0.00 0.06 100000/100000 Class#new
0.53% 0.38% 0.23 0.17 0.00 0.06 100000 Time#initialize
    0.06 0.06 0.00 0.00 99999/167009 Fixnum#+
    0.22 0.22 0.00 0.00 211195/211195 Array#each
0.50% 0.50% 0.22 0.22 0.00 0.00 211195 Picky::Query::Combination#weight 39
    0.21 0.21 0.00 0.00 200000/200000 String#blank? 104
0.48% 0.48% 0.21 0.21 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.06 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.18 0.00 0.00 325497/325497 Picky::Query::Allocation#<=> 100
0.42% 0.42% 0.18 0.18 0.00 0.00 325497 Float#<=>
    0.18 0.18 0.00 0.00 150000/150000 Picky::Categories#possible_categories 54
0.41% 0.41% 0.18 0.18 0.00 0.00 150000 Picky::Categories#qualifier_mapper 42
    0.00 0.00 0.00 0.00 1/772141 Class#new 43
    0.17 0.17 0.00 0.00 150000/150000 Picky::Query::Token#possible_combinations 251
0.39% 0.39% 0.17 0.17 0.00 0.00 150000 Picky::Query::Token#similar? 228
    0.16 0.16 0.00 0.00 150000/150000 Picky::Query::Token#extract_predefined 71
0.36% 0.36% 0.16 0.16 0.00 0.00 150000 Picky::Query::Token#categorize_with 74
    0.15 0.07 0.00 0.08 50000/50000 Picky::Query::Indexes#expand_combinations_from 186
0.35% 0.15% 0.15 0.07 0.00 0.08 50000 Enumerable#any?
    0.00 0.00 0.00 0.00 50000/657460 Array#each
    0.15 0.12 0.00 0.03 50000/50000 Picky::Query::Tokens#partialize_last 72
0.34% 0.27% 0.15 0.12 0.00 0.03 50000 Picky::Query::Token#partial= 90
    0.03 0.03 0.00 0.00 50000/50010 NilClass#nil? 91
    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.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.23% 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/179369 Array#empty? 1
    0.12 0.12 0.00 0.00 218626/218626 Enumerable#sort_by
0.28% 0.28% 0.12 0.12 0.00 0.00 218626 Fixnum#<=>
    0.12 0.06 0.00 0.05 50000/50000 Time#-
0.27% 0.15% 0.12 0.06 0.00 0.05 50000 Numeric#quo
    0.05 0.05 0.00 0.00 50000/50000 Rational#/
    0.11 0.11 0.00 0.00 150000/150000 Picky::Query::Token#rangify 218
0.26% 0.26% 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.11 0.11 0.00 0.00 67010/67015 Picky::Query::Allocation#initialize 29
0.25% 0.25% 0.11 0.11 0.00 0.00 67015 Picky::Index#backend 135
    0.03 0.03 0.00 0.00 50000/179369 Picky::Query::Tokens#empty? 1
    0.07 0.07 0.00 0.00 129369/179369 Picky::Query::Combinations#empty? 1
0.24% 0.24% 0.10 0.10 0.00 0.00 179369 Array#empty?
    0.04 0.04 0.00 0.00 67010/167009 Array#each
    0.06 0.06 0.00 0.00 99999/167009 Time#initialize
0.24% 0.24% 0.10 0.10 0.00 0.00 167009 Fixnum#+
    0.10 0.10 0.00 0.00 50000/50000 CSV#each 23
0.22% 0.22% 0.10 0.10 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.06 0.00 0.03 50000/50000 Time#-
0.21% 0.14% 0.09 0.06 0.00 0.03 50000 Rational#to_f
    0.03 0.03 0.00 0.00 50000/50000 Fixnum#fdiv
    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.08 0.08 0.00 0.00 50000/50000 Class#new
0.20% 0.20% 0.08 0.08 0.00 0.00 50000 Picky::Query::Tokens#initialize 21
    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.19% 0.19% 0.08 0.08 0.00 0.00 144205 Symbol#==
    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.07 0.07 0.00 0.00 67010/67010 Class#new
0.17% 0.17% 0.07 0.07 0.00 0.00 67010 Picky::Query::Combinations#initialize 22
    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 50000/50000 Picky::Tokenizer#tokens_for 280
0.14% 0.14% 0.06 0.06 0.00 0.00 50000 Picky::Tokenizer#downcase? 174
    0.06 0.06 0.00 0.00 50000/50000 Class#new
0.14% 0.14% 0.06 0.06 0.00 0.00 50000 Picky::Query::Allocations#initialize 25
    0.06 0.06 0.00 0.00 50000/50000 Picky::Tokenizer#preprocess 259
0.14% 0.14% 0.06 0.06 0.00 0.00 50000 Picky::Tokenizer#remove_non_single_stopwords 74
    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.05 0.05 0.00 0.00 50000/50000 Numeric#quo
0.12% 0.12% 0.05 0.05 0.00 0.00 50000 Rational#/
    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 67010/67010 Picky::Query::Allocation#calculate_score 43
0.10% 0.10% 0.04 0.04 0.00 0.00 67010 Float#+
    0.04 0.04 0.00 0.00 18685/18685 Picky::Category#ids 48
0.10% 0.10% 0.04 0.04 0.00 0.00 18685 Picky::Bundle#ids 26
    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.09% 0.09% 0.04 0.04 0.00 0.00 61783 Fixnum#zero?
    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.08% 0.08% 0.03 0.03 0.00 0.00 50015 String#to_s
    0.03 0.03 0.00 0.00 50000/50000 Picky::Helpers::Measuring#timed 15
0.08% 0.08% 0.03 0.03 0.00 0.00 50000 Float#to_f
    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.08% 0.08% 0.03 0.03 0.00 0.00 50005 Array#last
    0.03 0.03 0.00 0.00 50000/50000 Rational#to_f
0.07% 0.07% 0.03 0.03 0.00 0.00 50000 Fixnum#fdiv
    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.03 0.03 0.00 0.00 50000/50000 Time#-
0.07% 0.07% 0.03 0.03 0.00 0.00 50000 Fixnum#-
    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.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/772141 Class#new 1261
    0.00 0.00 0.00 0.00 5/5 <Class::IO>#open 1254
    0.00 0.00 0.00 0.00 5/11 Hash#merge 1252
    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/10 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/129414 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/772141 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/772141 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/772141 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/657460 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/657460 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/129414 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/11 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/772141 Class#new 24
    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 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 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/772141 Class#new
    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 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 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 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 <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 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/772141 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 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 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 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 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 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/11 Symbol#to_proc 226
    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 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 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 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 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 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/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 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 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 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
    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 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 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#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/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 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 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 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#init_separators 2029
0.00% 0.00% 0.00 0.00 0.00 0.00 10 Kernel#lambda
    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 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 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 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 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 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/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 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 10/11 <Class::Picky::Query::Indexes::Check>#check_backends 23
    0.00 0.00 0.00 0.00 1/11 Picky::Tokenizer#default_options 226
0.00% 0.00% 0.00 0.00 0.00 0.00 11 Symbol#to_proc
    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 300000/300000 Array#each
0.00% 0.00% 0.00 0.00 0.00 0.00 300000 String#[]
* indicates recursively called methods