Skip to content

Commit

Permalink
clang
Browse files Browse the repository at this point in the history
  • Loading branch information
bassmang committed Oct 16, 2023
1 parent 5a0f1e2 commit 6e8d589
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions test/benchmarks/standalone/benchmark_text_input.cc
Original file line number Diff line number Diff line change
Expand Up @@ -347,26 +347,26 @@ BENCHMARK_CAPTURE(benchmark_multi_predict, cb_las_500actions_plaincb,
BENCHMARK_CAPTURE(benchmark_multi, cb_adf_no_namespaces_sparse, gen_cb_examples(100, 7, 3, 6, 1, 4, 14, 2, false),
"--cb_explore_adf --quiet --sparse_weights")
->MinTime(15.0);
BENCHMARK_CAPTURE(benchmark_multi, cb_adf_diff_char_no_interactions_sparse, gen_cb_examples(100, 7, 3, 6, 3, 4, 14, 2, false),
"--cb_explore_adf --quiet --sparse_weights")
BENCHMARK_CAPTURE(benchmark_multi, cb_adf_diff_char_no_interactions_sparse,
gen_cb_examples(100, 7, 3, 6, 3, 4, 14, 2, false), "--cb_explore_adf --quiet --sparse_weights")
->MinTime(15.0);
BENCHMARK_CAPTURE(benchmark_multi, cb_adf_diff_char_interactions_sparse, gen_cb_examples(100, 7, 3, 6, 3, 4, 14, 2, false),
"--cb_explore_adf --quiet -q :: --sparse_weights")
BENCHMARK_CAPTURE(benchmark_multi, cb_adf_diff_char_interactions_sparse,
gen_cb_examples(100, 7, 3, 6, 3, 4, 14, 2, false), "--cb_explore_adf --quiet -q :: --sparse_weights")
->MinTime(15.0);
BENCHMARK_CAPTURE(benchmark_multi, cb_adf_same_char_no_interactions_sparse, gen_cb_examples(100, 7, 3, 6, 3, 4, 14, 2, true),
"--cb_explore_adf --quiet --sparse_weights")
BENCHMARK_CAPTURE(benchmark_multi, cb_adf_same_char_no_interactions_sparse,
gen_cb_examples(100, 7, 3, 6, 3, 4, 14, 2, true), "--cb_explore_adf --quiet --sparse_weights")
->MinTime(15.0);
BENCHMARK_CAPTURE(benchmark_multi, cb_adf_same_char_interactions_sparse, gen_cb_examples(100, 7, 3, 6, 3, 4, 14, 2, true),
"--cb_explore_adf --quiet -q :: --sparse_weights")
BENCHMARK_CAPTURE(benchmark_multi, cb_adf_same_char_interactions_sparse,
gen_cb_examples(100, 7, 3, 6, 3, 4, 14, 2, true), "--cb_explore_adf --quiet -q :: --sparse_weights")
->MinTime(15.0);
BENCHMARK_CAPTURE(benchmark_multi, ccb_adf_no_namespaces_sparse, gen_ccb_examples(50, 7, 3, 6, 1, 4, 14, 2, false, 3),
"--ccb_explore_adf --quiet --sparse_weights")
->MinTime(15.0);
BENCHMARK_CAPTURE(benchmark_multi, ccb_adf_diff_char_no_interactions_sparse,
gen_ccb_examples(50, 7, 3, 6, 3, 4, 14, 2, false, 3), "--ccb_explore_adf --quiet --sparse_weights")
->MinTime(15.0);
BENCHMARK_CAPTURE(benchmark_multi, ccb_adf_diff_char_interactions_sparse, gen_ccb_examples(50, 7, 3, 6, 3, 4, 14, 2, false, 3),
"--ccb_explore_adf --quiet -q :: --sparse_weights")
BENCHMARK_CAPTURE(benchmark_multi, ccb_adf_diff_char_interactions_sparse,
gen_ccb_examples(50, 7, 3, 6, 3, 4, 14, 2, false, 3), "--ccb_explore_adf --quiet -q :: --sparse_weights")
->MinTime(15.0);
// CCB predict with quadratic interactions
// 20 slots, 20 context features,  30 actions, 20 action features each
Expand All @@ -387,11 +387,12 @@ BENCHMARK_CAPTURE(benchmark_multi_predict, ccb_adf_diff_char_interactions_predic
BENCHMARK_CAPTURE(benchmark_multi, ccb_adf_same_char_no_interactions_sparse,
gen_ccb_examples(50, 7, 3, 6, 3, 4, 14, 2, true, 3), "--ccb_explore_adf --quiet --sparse_weights")
->MinTime(15.0);
BENCHMARK_CAPTURE(benchmark_multi, ccb_adf_same_char_interactions_sparse, gen_ccb_examples(50, 7, 3, 6, 3, 4, 14, 2, true, 3),
"--ccb_explore_adf --quiet -q :: --sparse_weights")
BENCHMARK_CAPTURE(benchmark_multi, ccb_adf_same_char_interactions_sparse,
gen_ccb_examples(50, 7, 3, 6, 3, 4, 14, 2, true, 3), "--ccb_explore_adf --quiet -q :: --sparse_weights")
->MinTime(15.0);

BENCHMARK_CAPTURE(benchmark_multi_predict, cb_las_300actions_sparse, gen_cb_examples(1, 50, 10, 300, 5, 5, 20, 10, false),
BENCHMARK_CAPTURE(benchmark_multi_predict, cb_las_300actions_sparse,
gen_cb_examples(1, 50, 10, 300, 5, 5, 20, 10, false),
"--cb_explore_adf --large_action_space -q :: --max_actions 20 --quiet --sparse_weights")
->MinTime(15.0)
->UseRealTime()
Expand All @@ -411,7 +412,8 @@ BENCHMARK_CAPTURE(benchmark_multi_predict, cb_las_300actions_plaincb_sparse,
->UseRealTime()
->Unit(benchmark::kMillisecond);

BENCHMARK_CAPTURE(benchmark_multi_predict, cb_las_500actions_sparse, gen_cb_examples(1, 50, 10, 500, 5, 5, 20, 10, false),
BENCHMARK_CAPTURE(benchmark_multi_predict, cb_las_500actions_sparse,
gen_cb_examples(1, 50, 10, 500, 5, 5, 20, 10, false),
"--cb_explore_adf --large_action_space -q :: --max_actions 20 --quiet --sparse_weights")
->MinTime(15.0)
->UseRealTime()
Expand Down

0 comments on commit 6e8d589

Please sign in to comment.