100.00% (100.00%) Global#[No method] [1 calls, 2 total]
89.63% (89.63%) Array#each [4 calls, 493061 total]
89.14% (99.46%) Picky::Search#search [40000 calls, 40000 total]
65.25% (73.19%) Picky::Search#search_with [40000 calls, 40000 total]
64.56% (98.94%) Picky::Helpers::Measuring#timed [40000 calls, 40000 total]
61.25% (94.88%) Picky::Search#execute [40000 calls, 40000 total]
42.14% (68.81%) Picky::Search#sorted_allocations [40000 calls, 40000 total]
41.98% (99.61%) Picky::Query::Indexes#prepared_allocations_for [40000 calls, 40000 total]
30.99% (73.81%) Picky::Query::Indexes#allocations_for [40000 calls, 40000 total]
30.49% (98.40%) Picky::Query::Indexes#allocations_ary_for [40000 calls, 40000 total]
30.34% (99.49%) Enumerable#inject [40000 calls, 295438 total]
30.16% (99.41%) Array#each [40000 calls, 493061 total]
29.89% (99.13%) Picky::Query::Indexes#allocation_for [40000 calls, 40000 total]
26.15% (87.48%) Picky::Query::Tokens#possible_combinations_in [40000 calls, 40000 total]
26.00% (99.40%) Enumerable#inject [40000 calls, 295438 total]
25.82% (99.32%) Array#each [40000 calls, 493061 total]
24.13% (93.46%) Picky::Query::Token#possible_combinations [100000 calls, 100000 total]
22.85% (94.69%) Picky::Categories#possible_for [100000 calls, 100000 total]
19.44% (85.09%) Enumerable#inject [100000 calls, 295438 total]
18.99% (97.67%) Array#each [100000 calls, 493061 total]
13.97% (73.56%) Picky::Query::Token#combination_for [400000 calls, 400000 total]
9.85% (70.48%) Picky::Category#weight [400000 calls, 400000 total]
2.53% (11.05%) Picky::Categories#possible_categories [100000 calls, 100000 total]
1.77% (5.92%) Array#map! [40000 calls, 40000 total]
1.15% (3.86%) Picky::Query::Indexes#expand_combinations_from [40000 calls, 40000 total]
7.35% (17.51%) Picky::Query::Allocations#calculate_score [40000 calls, 40000 total]
1.96% (4.66%) Picky::Query::Allocations#sort! [40000 calls, 40000 total]
18.75% (30.61%) <Class::Picky::Results>#from [40000 calls, 40000 total]
17.90% (95.51%) Picky::Results#prepare! [40000 calls, 40000 total]
17.75% (99.15%) Picky::Query::Allocations#process! [40000 calls, 40000 total]
17.51% (98.62%) Picky::Query::Allocations#each [40000 calls, 40000 total]
17.34% (99.03%) Array#each [40000 calls, 493061 total]
16.07% (92.66%) Picky::Query::Allocation#process! [47611 calls, 47611 total]
15.17% (94.43%) Picky::Query::Allocation#calculate_ids [47611 calls, 47611 total]
14.24% (93.85%) Picky::Backends::Backend#ids [47611 calls, 47611 total]
12.10% (84.98%) <Class::Performant::Array>#memory_efficient_intersect [47611 calls, 47611 total]
1.34% (11.07%) Array#sort_by! [47611 calls, 47611 total]
1.73% (12.14%) Picky::Query::Combinations#map [47611 calls, 47611 total]
1.04% (1.61%) Time#- [40000 calls, 40000 total]
23.18% (26.00%) Picky::Search#tokenized [40000 calls, 40000 total]
14.30% (61.70%) <Class::Picky::Query::Tokens>#processed [40000 calls, 40000 total]
13.62% (95.21%) Array#collect! [40000 calls, 84528 total]
11.24% (82.56%) <Class::Picky::Query::Token>#processed [100000 calls, 100000 total]
9.96% (88.63%) Picky::Query::Token#process [100000 calls, 100000 total]
6.63% (28.60%) Picky::Tokenizer#tokenize [40000 calls, 40000 total]
1.17% (5.04%) Picky::Query::Tokens#partialize_last [40000 calls, 40000 total]
10.36% (10.36%) CSV#each [3 calls, 3 total]
7.81% (75.37%) CSV#shift [30000 calls, 30000 total]