-
Notifications
You must be signed in to change notification settings - Fork 609
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32977 from vespa-engine/toregge/remove-legacy-wan…
…d-term-freq-scorer Remove legacy wand term freq scorer.
- Loading branch information
Showing
10 changed files
with
55 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 14 additions & 12 deletions
26
searchlib/src/tests/queryeval/weak_and/weak_and_bench.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. | ||
#include "wand_bench_setup.hpp" | ||
|
||
TEST_FF("benchmark", VespaWandFactory(1000), WandSetup(f1, 10, 10000000)) { f2.benchmark(); } | ||
TEST_FF("benchmark", TermFrequencyRiseWandFactory(1000), WandSetup(f1, 10, 10000000)) { f2.benchmark(); } | ||
TEST_FF("benchmark", VespaWandFactory(1000), WandSetup(f1, 100, 10000000)) { f2.benchmark(); } | ||
TEST_FF("benchmark", TermFrequencyRiseWandFactory(1000), WandSetup(f1, 100, 10000000)) { f2.benchmark(); } | ||
TEST_FF("benchmark", VespaWandFactory(1000), WandSetup(f1, 1000, 10000000)) { f2.benchmark(); } | ||
TEST_FF("benchmark", TermFrequencyRiseWandFactory(1000), WandSetup(f1, 1000, 10000000)) { f2.benchmark(); } | ||
constexpr uint32_t docid_limit = 10000000; | ||
|
||
TEST_FFF("benchmark", VespaWandFactory(1000), FilterFactory(f1, 2), WandSetup(f2, 10, 10000000)) { f3.benchmark(); } | ||
TEST_FFF("benchmark", TermFrequencyRiseWandFactory(1000), FilterFactory(f1, 2), WandSetup(f2, 10, 10000000)) { f3.benchmark(); } | ||
TEST_FFF("benchmark", VespaWandFactory(1000), FilterFactory(f1, 2), WandSetup(f2, 100, 10000000)) { f3.benchmark(); } | ||
TEST_FFF("benchmark", TermFrequencyRiseWandFactory(1000), FilterFactory(f1, 2), WandSetup(f2, 100, 10000000)) { f3.benchmark(); } | ||
TEST_FFF("benchmark", VespaWandFactory(1000), FilterFactory(f1, 2), WandSetup(f2, 1000, 10000000)) { f3.benchmark(); } | ||
TEST_FFF("benchmark", TermFrequencyRiseWandFactory(1000), FilterFactory(f1, 2), WandSetup(f2, 1000, 10000000)) { f3.benchmark(); } | ||
TEST_FF("benchmark", VespaWandFactory(1000), WandSetup(f1, 10, docid_limit)) { f2.benchmark(); } | ||
TEST_FF("benchmark", TermFrequencyRiseWandFactory(1000, docid_limit), WandSetup(f1, 10, docid_limit)) { f2.benchmark(); } | ||
TEST_FF("benchmark", VespaWandFactory(1000), WandSetup(f1, 100, docid_limit)) { f2.benchmark(); } | ||
TEST_FF("benchmark", TermFrequencyRiseWandFactory(1000, docid_limit), WandSetup(f1, 100, docid_limit)) { f2.benchmark(); } | ||
TEST_FF("benchmark", VespaWandFactory(1000), WandSetup(f1, 1000, docid_limit)) { f2.benchmark(); } | ||
TEST_FF("benchmark", TermFrequencyRiseWandFactory(1000, docid_limit), WandSetup(f1, 1000, docid_limit)) { f2.benchmark(); } | ||
|
||
TEST_FFF("benchmark", VespaWandFactory(1000), FilterFactory(f1, 2), WandSetup(f2, 10, docid_limit)) { f3.benchmark(); } | ||
TEST_FFF("benchmark", TermFrequencyRiseWandFactory(1000, docid_limit), FilterFactory(f1, 2), WandSetup(f2, 10, docid_limit)) { f3.benchmark(); } | ||
TEST_FFF("benchmark", VespaWandFactory(1000), FilterFactory(f1, 2), WandSetup(f2, 100, docid_limit)) { f3.benchmark(); } | ||
TEST_FFF("benchmark", TermFrequencyRiseWandFactory(1000, docid_limit), FilterFactory(f1, 2), WandSetup(f2, 100, docid_limit)) { f3.benchmark(); } | ||
TEST_FFF("benchmark", VespaWandFactory(1000), FilterFactory(f1, 2), WandSetup(f2, 1000, docid_limit)) { f3.benchmark(); } | ||
TEST_FFF("benchmark", TermFrequencyRiseWandFactory(1000, docid_limit), FilterFactory(f1, 2), WandSetup(f2, 1000, docid_limit)) { f3.benchmark(); } | ||
|
||
TEST_MAIN() { TEST_RUN_ALL(); } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters