Profile Report

Thread ID Fiber ID Total Time
70270908237520 70270871260220 45.56952300000035

Thread 70270908237520, Fiber: 70270871260220

%Total %Self Total Self Wait Child Calls Name Line
100.00% 0.00% 45.57 0.00 0.00 45.57 1 Global#[No method] 26
    45.57 0.00 0.00 45.57 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
    45.57 0.00 0.00 45.57 1/719819 Global#[No method] 30
100.00% 0.00% 45.57 0.00 0.00 45.57 719819 *Array#each
    42.76 0.00 0.00 42.76 5/5 Searches#each
    41.79 0.18 0.00 41.61 50000/50000 Picky::Search#search
    13.95 0.19 0.00 13.76 50000/50000 Picky::Query::Indexes#allocation_for
    11.84 0.41 0.00 11.43 150000/150000 Picky::Query::Token#possible_combinations
    7.61 1.33 0.00 6.28 600000/600000 Picky::Query::Token#combination_for
    4.13 0.21 0.00 3.91 62359/62359 Picky::Query::Allocation#process!
    3.27 0.28 0.00 2.99 67010/67010 Picky::Query::Allocation#calculate_score
    2.81 0.00 0.00 2.81 5/5 Searches#prepare
    0.43 0.25 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.05 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#=~
    42.76 0.00 0.00 42.76 5/5 Array#each
93.83% 0.00% 42.76 0.00 0.00 42.76 5 Searches#each 11
    0.00 0.00 0.00 0.00 5/719819 Array#each 12
    41.79 0.18 0.00 41.61 50000/50000 Array#each
91.70% 0.39% 41.79 0.18 0.00 41.61 50000 Picky::Search#search 215
    28.28 1.45 0.00 26.83 50000/50000 Picky::Search#search_with 216
    13.26 0.24 0.00 13.03 50000/50000 Picky::Search#tokenized 216
    0.06 0.06 0.00 0.00 100000/100000 Integer#to_i 216
    28.28 1.45 0.00 26.83 50000/50000 Picky::Search#search 216
62.06% 3.19% 28.28 1.45 0.00 26.83 50000 Picky::Search#search_with 223
    26.78 0.31 0.00 26.47 50000/50000 Picky::Helpers::Measuring#timed 226
    0.05 0.05 0.00 0.00 50000/50000 Float#round 229
    26.78 0.31 0.00 26.47 50000/50000 Picky::Search#search_with 226
58.76% 0.68% 26.78 0.31 0.00 26.47 50000 Picky::Helpers::Measuring#timed 10
    25.01 0.11 0.00 24.90 50000/50000 Proc#call 15
    0.78 0.53 0.00 0.25 100000/100000 <Class::Time>#now 17
    0.65 0.24 0.00 0.40 100000/100000 Time#to_f 17
    0.03 0.03 0.00 0.00 50000/50010 Kernel#lambda 11
    25.01 0.11 0.00 24.90 50000/50000 Picky::Helpers::Measuring#timed 15
54.88% 0.24% 25.01 0.11 0.00 24.90 50000 Proc#call
    24.90 0.13 0.00 24.77 50000/50000 Picky::Search#execute
    24.90 0.13 0.00 24.77 50000/50000 Proc#call
54.64% 0.29% 24.90 0.13 0.00 24.77 50000 Picky::Search#execute 238
    19.35 0.09 0.00 19.26 50000/50000 Picky::Search#sorted_allocations 239
    5.41 0.16 0.00 5.25 50000/50000 <Class::Picky::Results>#from 239
    19.35 0.09 0.00 19.26 50000/50000 Picky::Search#execute 239
42.47% 0.20% 19.35 0.09 0.00 19.26 50000 Picky::Search#sorted_allocations 268
    19.26 0.32 0.00 18.94 50000/50000 Picky::Query::Indexes#prepared_allocations_for 269
    19.26 0.32 0.00 18.94 50000/50000 Picky::Search#sorted_allocations 269
42.27% 0.71% 19.26 0.32 0.00 18.94 50000 Picky::Query::Indexes#prepared_allocations_for 65
    14.47 0.11 0.00 14.36 50000/50000 Picky::Query::Indexes#allocations_for 66
    3.46 0.08 0.00 3.38 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 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.67 0.09 0.00 0.58 67010/457449 Picky::Query::Combinations#score 30
    0.83 0.09 0.00 0.74 62359/457449 Picky::Query::Combinations#inject 1
    0.86 0.09 0.00 0.77 67010/457449 Array#clustered_uniq 11
    14.14 0.08 0.00 14.06 50000/457449 Picky::Query::Indexes#allocations_ary_for 106
36.20% 0.78% 16.50 0.36 0.00 16.14 457449 *Enumerable#inject
    0.00 0.00 0.00 0.00 457449/719819 Array#each
    14.47 0.11 0.00 14.36 50000/50000 Picky::Query::Indexes#prepared_allocations_for 66
31.76% 0.24% 14.47 0.11 0.00 14.36 50000 Picky::Query::Indexes#allocations_for 102
    14.23 0.09 0.00 14.14 50000/50000 Picky::Query::Indexes#allocations_ary_for 103
    0.14 0.08 0.00 0.06 50000/672141 Class#new 103
    14.23 0.09 0.00 14.14 50000/50000 Picky::Query::Indexes#allocations_for 103
31.22% 0.19% 14.23 0.09 0.00 14.14 50000 Picky::Query::Indexes#allocations_ary_for 105
    14.14 0.08 0.00 14.06 50000/457449 Enumerable#inject 106
    13.95 0.19 0.00 13.76 50000/50000 Array#each
30.60% 0.41% 13.95 0.19 0.00 13.76 50000 Picky::Query::Indexes#allocation_for 110
    12.39 0.08 0.00 12.31 50000/50000 Picky::Query::Tokens#possible_combinations_in 113
    0.81 0.14 0.00 0.67 50000/50000 Array#map! 121
    0.55 0.15 0.00 0.40 50000/50000 Picky::Query::Indexes#expand_combinations_from 117
    13.26 0.24 0.00 13.03 50000/50000 Picky::Search#search 216
29.11% 0.52% 13.26 0.24 0.00 13.03 50000 Picky::Search#tokenized 258
    7.79 0.13 0.00 7.65 50000/50000 <Class::Picky::Query::Tokens>#processed 260
    4.77 0.34 0.00 4.43 50000/50000 Picky::Tokenizer#tokenize 259
    0.47 0.17 0.00 0.30 50000/50000 Picky::Query::Tokens#partialize_last 262
    12.39 0.08 0.00 12.31 50000/50000 Picky::Query::Indexes#allocation_for 113
27.19% 0.18% 12.39 0.08 0.00 12.31 50000 Picky::Query::Tokens#possible_combinations_in 46
    0.00 0.00 0.00 0.00 50000/457449 Enumerable#inject 47
    11.84 0.41 0.00 11.43 150000/150000 Array#each
25.99% 0.90% 11.84 0.41 0.00 11.43 150000 Picky::Query::Token#possible_combinations 250
    11.26 0.41 0.00 10.86 150000/150000 Picky::Categories#possible_for 251
    0.17 0.17 0.00 0.00 150000/150000 Picky::Query::Token#similar? 251
    11.26 0.41 0.00 10.86 150000/150000 Picky::Query::Token#possible_combinations 251
24.72% 0.89% 11.26 0.41 0.00 10.86 150000 Picky::Categories#possible_for 39
    1.56 0.34 0.00 1.22 150000/150000 Picky::Categories#possible_categories 40
    0.00 0.00 0.00 0.00 150000/457449 Enumerable#inject 40
    0.14 0.03 0.00 0.11 4554/104554 Picky::Query::Indexes#expand_combinations_from 199
    0.37 0.28 0.00 0.09 50000/104554 Picky::Tokenizer#tokens_for 280
    7.41 0.54 0.00 6.87 50000/104554 <Class::Picky::Query::Tokens>#processed 29
17.39% 1.88% 7.92 0.85 0.00 7.07 104554 Array#collect!
    6.58 0.33 0.00 6.25 150000/150000 <Class::Picky::Query::Token>#processed
    0.29 0.29 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
    7.79 0.13 0.00 7.65 50000/50000 Picky::Search#tokenized 260
17.09% 0.30% 7.79 0.13 0.00 7.65 50000 <Class::Picky::Query::Tokens>#processed 28
    7.41 0.54 0.00 6.87 50000/104554 Array#collect! 29
    0.16 0.08 0.00 0.09 50000/672141 Class#new 29
    0.08 0.08 0.00 0.00 50000/54554 Array#zip 29
    7.61 1.33 0.00 6.28 600000/600000 Array#each
16.71% 2.92% 7.61 1.33 0.00 6.28 600000 Picky::Query::Token#combination_for 256
    5.70 2.19 0.00 3.51 600000/600000 Picky::Category#weight 257
    0.58 0.23 0.00 0.35 164726/672141 Class#new 258
    6.58 0.33 0.00 6.25 150000/150000 Array#collect!
14.43% 0.72% 6.58 0.33 0.00 6.25 150000 <Class::Picky::Query::Token>#processed 39
    5.69 0.96 0.00 4.73 150000/150000 Picky::Query::Token#process 40
    0.56 0.23 0.00 0.33 150000/672141 Class#new 40
    5.70 2.19 0.00 3.51 600000/600000 Picky::Query::Token#combination_for 257
12.52% 4.80% 5.70 2.19 0.00 3.51 600000 Picky::Category#weight 18
    1.82 0.97 0.00 0.85 600000/618685 Picky::Category#bundle_for 19
    1.01 1.01 0.00 0.00 600000/600000 Picky::Bundle#weight 28
    0.68 0.68 0.00 0.00 600000/618685 Picky::Query::Token#range 20
    5.69 0.96 0.00 4.73 150000/150000 <Class::Picky::Query::Token>#processed 40
12.48% 2.10% 5.69 0.96 0.00 4.73 150000 Picky::Query::Token#process 42
    1.31 0.53 0.00 0.77 150000/150000 Picky::Query::Token#partialize 45
    1.25 0.44 0.00 0.81 150000/150000 Picky::Query::Token#similarize 44
    1.18 1.01 0.00 0.16 150000/150000 Picky::Query::Token#qualify 43
    0.62 0.35 0.00 0.26 150000/150000 Picky::Query::Token#remove_illegals 47
    0.37 0.26 0.00 0.11 150000/150000 Picky::Query::Token#rangify 46
    5.41 0.16 0.00 5.25 50000/50000 Picky::Search#execute 239
11.88% 0.36% 5.41 0.16 0.00 5.25 50000 <Class::Picky::Results>#from 27
    5.03 0.11 0.00 4.92 50000/50000 Picky::Results#prepare! 29
    0.22 0.07 0.00 0.15 50000/672141 Class#new 28
    5.03 0.11 0.00 4.92 50000/50000 <Class::Picky::Results>#from 29
11.04% 0.25% 5.03 0.11 0.00 4.92 50000 Picky::Results#prepare! 38
    4.92 0.42 0.00 4.50 50000/50000 Picky::Query::Allocations#process! 41
    4.92 0.42 0.00 4.50 50000/50000 Picky::Results#prepare! 41
10.79% 0.92% 4.92 0.42 0.00 4.50 50000 Picky::Query::Allocations#process! 116
    4.50 0.10 0.00 4.41 50000/50000 Picky::Query::Allocations#each 117
    4.77 0.34 0.00 4.43 50000/50000 Picky::Search#tokenized 259
10.46% 0.74% 4.77 0.34 0.00 4.43 50000 Picky::Tokenizer#tokenize 235
    2.95 0.28 0.00 2.67 50000/50000 Picky::Tokenizer#pretokenize 238
    0.59 0.16 0.00 0.43 50000/50000 Picky::Tokenizer#tokens_for 240
    0.45 0.21 0.00 0.23 50000/50000 Picky::Tokenizer#preprocess 236
    0.41 0.14 0.00 0.28 50000/200000 String#blank? 237
    0.03 0.03 0.00 0.00 50000/50015 String#to_s 236
    4.50 0.10 0.00 4.41 50000/50000 Picky::Query::Allocations#process! 117
9.88% 0.21% 4.50 0.10 0.00 4.41 50000 Picky::Query::Allocations#each 1
    0.00 0.00 0.00 0.00 50000/719819 Array#each 1
    4.13 0.21 0.00 3.91 62359/62359 Array#each
9.05% 0.47% 4.13 0.21 0.00 3.91 62359 Picky::Query::Allocation#process! 72
    3.87 0.18 0.00 3.69 62359/62359 Picky::Query::Allocation#calculate_ids 73
    0.04 0.04 0.00 0.00 62359/62359 Array#slice! 75
    3.87 0.18 0.00 3.69 62359/62359 Picky::Query::Allocation#process! 73
8.49% 0.39% 3.87 0.18 0.00 3.69 62359 Picky::Query::Allocation#calculate_ids 53
    3.55 0.86 0.00 2.69 62359/62359 Picky::Backends::Backend#ids 55
    0.14 0.11 0.00 0.04 62359/129369 Picky::Query::Combinations#empty? 54
    3.55 0.86 0.00 2.69 62359/62359 Picky::Query::Allocation#calculate_ids 55
7.79% 1.89% 3.55 0.86 0.00 2.69 62359 Picky::Backends::Backend#ids 74
    1.75 0.27 0.00 1.48 62359/62359 <Class::Performant::Array>#memory_efficient_intersect 85
    0.94 0.11 0.00 0.83 62359/62359 Picky::Query::Combinations#inject 77
    3.46 0.08 0.00 3.38 50000/50000 Picky::Query::Indexes#prepared_allocations_for 72
7.60% 0.18% 3.46 0.08 0.00 3.38 50000 Picky::Query::Allocations#calculate_score 31
    0.00 0.00 0.00 0.00 50000/719819 Array#each 32
    3.27 0.28 0.00 2.99 67010/67010 Array#each
7.18% 0.61% 3.27 0.28 0.00 2.99 67010 Picky::Query::Allocation#calculate_score 39
    1.93 0.10 0.00 1.82 67010/67010 Picky::Query::Combinations#boost_for 43
    0.87 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
    0.77 0.38 0.00 0.39 300000/800000 Picky::Query::Token#partialize 125
    0.81 0.39 0.00 0.43 300000/800000 Picky::Query::Token#similarize 170
    1.62 0.29 0.00 1.34 200000/800000 String#blank? 105
7.04% 2.31% 3.21 1.05 0.00 2.16 800000 Kernel#!~
    2.16 2.16 0.00 0.00 800000/1100005 String#=~
    2.95 0.28 0.00 2.67 50000/50000 Picky::Tokenizer#tokenize 238
6.47% 0.61% 2.95 0.28 0.00 2.67 50000 Picky::Tokenizer#pretokenize 269
    2.19 0.08 0.00 2.11 50000/50000 Picky::Tokenizer#reject 272
    0.35 0.08 0.00 0.26 50000/50000 Picky::Tokenizer#split 270
    0.07 0.07 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
    2.81 0.00 0.00 2.81 5/5 Array#each
6.17% 0.00% 2.81 0.00 0.00 2.81 5 Searches#prepare 15
    2.81 0.77 0.00 2.04 5/5 CSV#each 19
    0.00 0.00 0.00 0.00 5/5 <Class::CSV>#open 19
    2.81 0.77 0.00 2.04 5/5 Searches#prepare 19
6.17% 1.68% 2.81 0.77 0.00 2.04 5 CSV#each 1714
    1.95 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
    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.05 0.03 0.00 0.02 23332/672141 Array#each
    0.14 0.08 0.00 0.06 50000/672141 Picky::Query::Indexes#allocations_for 103
    0.16 0.08 0.00 0.09 50000/672141 <Class::Picky::Query::Tokens>#processed 29
    0.22 0.07 0.00 0.15 50000/672141 <Class::Picky::Results>#from 28
    0.56 0.23 0.00 0.33 150000/672141 <Class::Picky::Query::Token>#processed 40
    0.58 0.23 0.00 0.35 164726/672141 Picky::Query::Token#combination_for 258
    0.67 0.17 0.00 0.50 134020/672141 Array#map!
5.28% 1.99% 2.41 0.91 0.00 1.50 672141 *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.15 0.15 0.00 0.00 50000/50000 Picky::Results#initialize
    0.09 0.09 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
    0.41 0.14 0.00 0.28 50000/200000 Picky::Tokenizer#tokenize 237
    1.96 0.40 0.00 1.56 150000/200000 Array#reject!
5.20% 1.17% 2.37 0.54 0.00 1.83 200000 String#blank? 102
    1.62 0.29 0.00 1.34 200000/800000 Kernel#!~ 105
    0.21 0.21 0.00 0.00 200000/200000 String#encoding_aware? 104
    2.19 0.08 0.00 2.11 50000/50000 Picky::Tokenizer#pretokenize 272
4.81% 0.19% 2.19 0.08 0.00 2.11 50000 Picky::Tokenizer#reject 163
    2.11 0.15 0.00 1.96 50000/50000 Array#reject! 164
    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
    2.16 2.16 0.00 0.00 800000/1100005 Kernel#!~
4.73% 4.73% 2.16 2.16 0.00 0.00 1100005 String#=~
    2.11 0.15 0.00 1.96 50000/50000 Picky::Tokenizer#reject 164
4.63% 0.33% 2.11 0.15 0.00 1.96 50000 Array#reject!
    1.96 0.40 0.00 1.56 150000/200000 String#blank?
    1.95 0.15 0.00 1.79 50000/50000 CSV#each 28
4.27% 0.34% 1.95 0.15 0.00 1.79 50000 CSV#shift 1751
    1.77 0.56 0.00 1.20 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
    1.93 0.10 0.00 1.82 67010/67010 Picky::Query::Allocation#calculate_score 43
4.23% 0.23% 1.93 0.10 0.00 1.82 67010 Picky::Query::Combinations#boost_for 32
    1.82 0.14 0.00 1.68 67010/67010 Picky::Query::Boosts#boost_for 33
    0.05 0.03 0.00 0.02 18685/618685 Picky::Category#ids 35
    1.82 0.97 0.00 0.85 600000/618685 Picky::Category#weight 19
4.11% 2.20% 1.87 1.00 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.82 0.14 0.00 1.68 67010/67010 Picky::Query::Combinations#boost_for 33
4.00% 0.31% 1.82 0.14 0.00 1.68 67010 Picky::Query::Boosts#boost_for 62
    1.15 0.11 0.00 1.04 67010/67010 Picky::Query::Boosts#boost_for_categories 63
    0.53 0.30 0.00 0.24 67010/67055 Array#map 63
    1.77 0.56 0.00 1.20 50000/50000 CSV#shift 1774
3.88% 1.23% 1.77 0.56 0.00 1.20 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
    1.75 0.27 0.00 1.48 62359/62359 Picky::Backends::Backend#ids 85
3.83% 0.58% 1.75 0.27 0.00 1.48 62359 <Class::Performant::Array>#memory_efficient_intersect
    1.48 0.09 0.00 1.39 62359/62359 Array#sort_by!
    1.56 0.34 0.00 1.22 150000/150000 Picky::Categories#possible_for 40
3.42% 0.74% 1.56 0.34 0.00 1.22 150000 Picky::Categories#possible_categories 53
    1.05 0.24 0.00 0.81 150000/150000 Picky::Query::Token#predefined_categories 54
    0.17 0.17 0.00 0.00 150000/150000 Picky::Categories#qualifier_mapper 54
    1.48 0.09 0.00 1.39 62359/62359 <Class::Performant::Array>#memory_efficient_intersect
3.25% 0.21% 1.48 0.09 0.00 1.39 62359 Array#sort_by!
    1.39 1.21 0.00 0.17 62359/62359 Enumerable#sort_by
    1.39 1.21 0.00 0.17 62359/62359 Array#sort_by!
3.05% 2.67% 1.39 1.21 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.31 0.53 0.00 0.77 150000/150000 Picky::Query::Token#process 45
2.87% 1.17% 1.31 0.53 0.00 0.77 150000 Picky::Query::Token#partialize 117
    0.77 0.38 0.00 0.39 300000/800000 Kernel#!~ 125
    1.25 0.44 0.00 0.81 150000/150000 Picky::Query::Token#process 44
2.74% 0.96% 1.25 0.44 0.00 0.81 150000 Picky::Query::Token#similarize 168
    0.81 0.39 0.00 0.43 300000/800000 Kernel#!~ 170
    1.18 1.01 0.00 0.16 150000/150000 Picky::Query::Token#process 43
2.59% 2.23% 1.18 1.01 0.00 0.16 150000 Picky::Query::Token#qualify 276
    0.16 0.16 0.00 0.00 150000/400000 String#split 277
    1.15 0.11 0.00 1.04 67010/67010 Picky::Query::Boosts#boost_for 63
2.52% 0.25% 1.15 0.11 0.00 1.04 67010 Picky::Query::Boosts#boost_for_categories 49
    1.04 0.18 0.00 0.86 67010/67010 Array#clustered_uniq 50
    1.05 0.24 0.00 0.81 150000/150000 Picky::Categories#possible_categories 54
2.30% 0.53% 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.18 0.00 0.86 67010/67010 Picky::Query::Boosts#boost_for_categories 50
2.27% 0.39% 1.04 0.18 0.00 0.86 67010 Array#clustered_uniq 9
    0.86 0.09 0.00 0.77 67010/457449 Enumerable#inject 11
    1.01 1.01 0.00 0.00 600000/600000 Picky::Category#weight 28
2.22% 2.22% 1.01 1.01 0.00 0.00 600000 Picky::Bundle#weight 49
    1.01 0.08 0.00 0.93 50000/50000 Picky::Query::Indexes#prepared_allocations_for 84
2.21% 0.18% 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
    0.94 0.11 0.00 0.83 62359/62359 Picky::Backends::Backend#ids 77
2.07% 0.25% 0.94 0.11 0.00 0.83 62359 Picky::Query::Combinations#inject 1
    0.83 0.09 0.00 0.74 62359/457449 Enumerable#inject 1
    0.93 0.24 0.00 0.69 50000/50000 Picky::Query::Allocations#sort! 40
2.03% 0.52% 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.87 0.10 0.00 0.77 67010/67010 Picky::Query::Allocation#calculate_score 43
1.92% 0.23% 0.87 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
1.92% 1.92% 0.87 0.87 0.00 0.00 618685 Picky::Query::Token#select_bundle 82
    0.81 0.14 0.00 0.67 50000/50000 Picky::Query::Indexes#allocation_for 121
1.79% 0.32% 0.81 0.14 0.00 0.67 50000 Array#map!
    0.67 0.17 0.00 0.50 134020/672141 Class#new
    0.81 0.40 0.00 0.41 150000/150000 Picky::Query::Token#predefined_categories 68
1.78% 0.88% 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.78 0.53 0.00 0.25 100000/100000 Picky::Helpers::Measuring#timed 17
1.71% 1.17% 0.78 0.53 0.00 0.25 100000 <Class::Time>#now
    0.25 0.18 0.00 0.06 100000/100000 Time#initialize
    0.77 0.10 0.00 0.67 67010/67010 Picky::Backends::Backend#weight 56
1.69% 0.22% 0.77 0.10 0.00 0.67 67010 Picky::Query::Combinations#score 29
    0.67 0.09 0.00 0.58 67010/457449 Enumerable#inject 30
    0.02 0.02 0.00 0.00 18685/618685 Picky::Category#ids 36
    0.68 0.68 0.00 0.00 600000/618685 Picky::Category#weight 20
1.55% 1.55% 0.70 0.70 0.00 0.00 618685 Picky::Query::Token#range 222
    0.69 0.51 0.00 0.18 325497/325497 Array#sort!
1.51% 1.11% 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.65 0.24 0.00 0.40 100000/100000 Picky::Helpers::Measuring#timed 17
1.42% 0.53% 0.65 0.24 0.00 0.40 100000 Time#to_f
    0.22 0.13 0.00 0.10 100000/100000 Numeric#quo
    0.18 0.12 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 277
    0.17 0.17 0.00 0.00 50000/400000 RegexpWrapper#split 8
    0.29 0.29 0.00 0.00 150000/400000 Array#collect!
1.39% 1.39% 0.63 0.63 0.00 0.00 400000 String#split
    0.62 0.35 0.00 0.26 150000/150000 Picky::Query::Token#process 47
1.36% 0.78% 0.62 0.35 0.00 0.26 150000 Picky::Query::Token#remove_illegals 234
    0.26 0.26 0.00 0.00 150000/150000 String#gsub! 237
    0.59 0.16 0.00 0.43 50000/50000 Picky::Tokenizer#tokenize 240
1.30% 0.36% 0.59 0.16 0.00 0.43 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.55 0.15 0.00 0.40 50000/50000 Picky::Query::Indexes#allocation_for 117
1.21% 0.34% 0.55 0.15 0.00 0.40 50000 Picky::Query::Indexes#expand_combinations_from 182
    0.19 0.07 0.00 0.12 50000/50000 Enumerable#any? 186
    0.14 0.03 0.00 0.11 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.53 0.30 0.00 0.24 67010/67055 Picky::Query::Boosts#boost_for 63
1.17% 0.65% 0.53 0.30 0.00 0.24 67055 Array#map
    0.24 0.24 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.47 0.17 0.00 0.30 50000/50000 Picky::Search#tokenized 262
1.03% 0.37% 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.45 0.21 0.00 0.23 50000/50000 Picky::Tokenizer#tokenize 236
0.98% 0.47% 0.45 0.21 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.25 0.00 0.19 206529/206529 Array#each
0.95% 0.54% 0.43 0.25 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.43 0.22 0.00 0.22 67010/67010 Class#new
0.94% 0.47% 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.37 0.26 0.00 0.11 150000/150000 Picky::Query::Token#process 46
0.82% 0.58% 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.77% 0.77% 0.35 0.35 0.00 0.00 164726 Picky::Query::Combination#initialize 18
    0.35 0.08 0.00 0.26 50000/50000 Picky::Tokenizer#pretokenize 270
0.76% 0.18% 0.35 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.33 0.33 0.00 0.00 150000/150000 Class#new
0.73% 0.73% 0.33 0.33 0.00 0.00 150000 Picky::Query::Token#initialize 27
    0.14 0.11 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.64% 0.48% 0.29 0.22 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.26 0.00 0.00 150000/150000 Picky::Query::Token#remove_illegals 237
0.58% 0.58% 0.26 0.26 0.00 0.00 150000 String#gsub!
    0.26 0.09 0.00 0.17 50000/50000 Picky::Tokenizer#split 109
0.58% 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.25 0.25 0.00 0.00 150000/150000 Picky::Query::Token#extract_predefined 72
0.56% 0.56% 0.25 0.25 0.00 0.00 150000 Picky::QualifierMapper#restrict 38
    0.25 0.18 0.00 0.06 100000/100000 <Class::Time>#now
0.54% 0.40% 0.25 0.18 0.00 0.06 100000 Time#initialize
    0.06 0.06 0.00 0.00 100000/167010 Fixnum#+
    0.24 0.24 0.00 0.00 211195/211195 Array#map
0.52% 0.52% 0.24 0.24 0.00 0.00 211195 Picky::Query::Combination#category_name 27
    0.22 0.13 0.00 0.10 100000/100000 Time#to_f
0.49% 0.28% 0.22 0.13 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.47% 0.47% 0.21 0.21 0.00 0.00 211195 Picky::Query::Combination#weight 39
    0.21 0.21 0.00 0.00 200000/200000 String#blank? 104
0.46% 0.46% 0.21 0.21 0.00 0.00 200000 String#encoding_aware? 3
    0.19 0.07 0.00 0.12 50000/50000 Picky::Query::Indexes#expand_combinations_from 186
0.41% 0.15% 0.19 0.07 0.00 0.12 50000 Enumerable#any?
    0.00 0.00 0.00 0.00 50000/719819 Array#each
    0.19 0.07 0.00 0.12 18685/18685 Picky::Query::Combination#ids 48
0.41% 0.15% 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.12 0.00 0.06 100000/100000 Time#to_f
0.40% 0.26% 0.18 0.12 0.00 0.06 100000 Rational#to_f
    0.06 0.06 0.00 0.00 100000/100000 Fixnum#fdiv
    0.18 0.18 0.00 0.00 325497/325497 Picky::Query::Allocation#<=> 100
0.39% 0.39% 0.18 0.18 0.00 0.00 325497 Float#<=>
    0.17 0.17 0.00 0.00 150000/150000 Picky::Categories#possible_categories 54
0.38% 0.38% 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.17 0.17 0.00 0.00 150000/150000 Picky::Query::Token#possible_combinations 251
0.37% 0.37% 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.34% 0.34% 0.16 0.16 0.00 0.00 150000 Picky::Query::Token#categorize_with 74
    0.15 0.15 0.00 0.00 50000/50000 Class#new
0.32% 0.32% 0.15 0.15 0.00 0.00 50000 Picky::Results#initialize 18
    0.15 0.12 0.00 0.03 50000/50000 Picky::Query::Tokens#partialize_last 72
0.32% 0.25% 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.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.31% 0.31% 0.14 0.14 0.00 0.00 245555 Array#empty?
    0.00 0.00 0.00 0.00 5/100012 CSV#raw_encoding 2265
    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 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.29% 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.27% 0.20% 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.26% 0.26% 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.24% 0.24% 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.24% 0.24% 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.24% 0.24% 0.11 0.11 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 50000/50000 CSV#each 23
0.21% 0.21% 0.10 0.10 0.00 0.00 50000 Integer#times
    0.00 0.00 0.00 0.00 100000/154554 Array#shift
    0.10 0.10 0.00 0.00 100000/100000 Numeric#quo
0.21% 0.21% 0.10 0.10 0.00 0.00 100000 Rational#/
    0.09 0.09 0.00 0.00 150000/150000 Array#collect!
0.20% 0.20% 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.08 0.08 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.09 0.09 0.00 0.00 50000/50000 Class#new
0.19% 0.19% 0.09 0.09 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.18% 0.18% 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.17% 0.17% 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.07 0.07 0.00 0.00 50000/50000 Picky::Tokenizer#pretokenize 273
0.15% 0.15% 0.07 0.07 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.13% 0.13% 0.06 0.06 0.00 0.00 100000 Fixnum#fdiv
    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 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 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.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 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.09% 0.09% 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.09% 0.09% 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.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 10/50010 CSV#init_separators 2029
    0.03 0.03 0.00 0.00 50000/50010 Picky::Helpers::Measuring#timed 11
0.08% 0.08% 0.03 0.03 0.00 0.00 50010 Kernel#lambda
    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 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 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 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/11 Hash#merge 202
    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 Picky::Tokenizer#initialize 202
    0.00 0.00 0.00 0.00 5/11 CSV#initialize 1485
    0.00 0.00 0.00 0.00 5/11 <Class::CSV>#open 1252
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 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/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 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 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 <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 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 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 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 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 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/100012 Kernel#respond_to? 102
    0.00 0.00 0.00 0.00 1/672141 Class#new 105
    0.00 0.00 0.00 0.00 1/1 Module#=== 101
    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 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 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 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 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 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 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 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 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 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 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 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 Searches#initialize 7
    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 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 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