diff --git a/faiss/perf_tests/bench_scalar_quantizer_accuracy.cpp b/faiss/perf_tests/bench_scalar_quantizer_accuracy.cpp index 4b7ef48a53..b13b9114b8 100644 --- a/faiss/perf_tests/bench_scalar_quantizer_accuracy.cpp +++ b/faiss/perf_tests/bench_scalar_quantizer_accuracy.cpp @@ -6,7 +6,6 @@ */ #include -#include #include #include #include @@ -76,7 +75,7 @@ int main(int argc, char** argv) { for (auto& [bench_name, quantizer_type] : benchs) { benchmark::RegisterBenchmark( - fmt::format("{}_{}d_{}n", bench_name, d, n).c_str(), + bench_name.c_str(), bench_reconstruction_error, quantizer_type, d, diff --git a/faiss/perf_tests/bench_scalar_quantizer_decode.cpp b/faiss/perf_tests/bench_scalar_quantizer_decode.cpp index c2fdbf4294..fc9d520557 100644 --- a/faiss/perf_tests/bench_scalar_quantizer_decode.cpp +++ b/faiss/perf_tests/bench_scalar_quantizer_decode.cpp @@ -6,7 +6,6 @@ */ #include -#include #include #include #include @@ -63,11 +62,7 @@ int main(int argc, char** argv) { for (auto& [bench_name, quantizer_type] : benchs) { benchmark::RegisterBenchmark( - fmt::format("{}_{}d_{}n", bench_name, d, n).c_str(), - bench_decode, - quantizer_type, - d, - n) + bench_name.c_str(), bench_decode, quantizer_type, d, n) ->Iterations(iterations); } diff --git a/faiss/perf_tests/bench_scalar_quantizer_distance.cpp b/faiss/perf_tests/bench_scalar_quantizer_distance.cpp index 81a92d7c7b..d0d1d9a474 100644 --- a/faiss/perf_tests/bench_scalar_quantizer_distance.cpp +++ b/faiss/perf_tests/bench_scalar_quantizer_distance.cpp @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. */ -#include #include #include #include @@ -72,11 +71,7 @@ int main(int argc, char** argv) { for (auto& [bench_name, quantizer_type] : benchs) { benchmark::RegisterBenchmark( - fmt::format("{}_{}d_{}n", bench_name, d, n).c_str(), - bench_distance, - quantizer_type, - d, - n) + bench_name.c_str(), bench_distance, quantizer_type, d, n) ->Iterations(iterations); } benchmark::RunSpecifiedBenchmarks(); diff --git a/faiss/perf_tests/bench_scalar_quantizer_encode.cpp b/faiss/perf_tests/bench_scalar_quantizer_encode.cpp index c35ecbd58c..40c95dabb4 100644 --- a/faiss/perf_tests/bench_scalar_quantizer_encode.cpp +++ b/faiss/perf_tests/bench_scalar_quantizer_encode.cpp @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. */ -#include #include #include #include @@ -57,11 +56,7 @@ int main(int argc, char** argv) { for (auto& [bench_name, quantizer_type] : benchs) { benchmark::RegisterBenchmark( - fmt::format("{}_{}d_{}n", bench_name, d, n).c_str(), - bench_encode, - quantizer_type, - d, - n) + bench_name.c_str(), bench_encode, quantizer_type, d, n) ->Iterations(iterations); }