aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/benchmark
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:23 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:23 +0300
commit706b83ed7de5a473436620367af31fc0ceecde07 (patch)
tree103305d30dec77e8f6367753367f59b3cd68f9f1 /util/generic/benchmark
parent918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff)
downloadydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'util/generic/benchmark')
-rw-r--r--util/generic/benchmark/fastclp2/main.cpp2
-rw-r--r--util/generic/benchmark/log2/main.cpp2
-rw-r--r--util/generic/benchmark/rotate_bits/main.cpp2
-rw-r--r--util/generic/benchmark/sort/main.cpp16
-rw-r--r--util/generic/benchmark/vector_count_ctor/f.cpp2
5 files changed, 12 insertions, 12 deletions
diff --git a/util/generic/benchmark/fastclp2/main.cpp b/util/generic/benchmark/fastclp2/main.cpp
index 49277db077..bd01f97d23 100644
--- a/util/generic/benchmark/fastclp2/main.cpp
+++ b/util/generic/benchmark/fastclp2/main.cpp
@@ -19,7 +19,7 @@ namespace {
}
}
- TVector<T> Examples;
+ TVector<T> Examples;
};
}
diff --git a/util/generic/benchmark/log2/main.cpp b/util/generic/benchmark/log2/main.cpp
index 969f09a309..61dcafa319 100644
--- a/util/generic/benchmark/log2/main.cpp
+++ b/util/generic/benchmark/log2/main.cpp
@@ -11,7 +11,7 @@
namespace {
template <typename T, size_t N>
struct TExamplesHolder {
- TVector<T> Examples;
+ TVector<T> Examples;
TExamplesHolder()
: Examples(N)
diff --git a/util/generic/benchmark/rotate_bits/main.cpp b/util/generic/benchmark/rotate_bits/main.cpp
index 057edbe864..31019f1508 100644
--- a/util/generic/benchmark/rotate_bits/main.cpp
+++ b/util/generic/benchmark/rotate_bits/main.cpp
@@ -25,7 +25,7 @@ namespace {
}
}
- TVector<TExample<T>> Examples;
+ TVector<TExample<T>> Examples;
};
}
diff --git a/util/generic/benchmark/sort/main.cpp b/util/generic/benchmark/sort/main.cpp
index d58f491f4d..fce7ef06ef 100644
--- a/util/generic/benchmark/sort/main.cpp
+++ b/util/generic/benchmark/sort/main.cpp
@@ -5,7 +5,7 @@
#include <util/generic/xrange.h>
Y_CPU_BENCHMARK(Sort1, iface) {
- TVector<int> x = {1};
+ TVector<int> x = {1};
for (const auto i : xrange(iface.Iterations())) {
Y_UNUSED(i);
@@ -14,7 +14,7 @@ Y_CPU_BENCHMARK(Sort1, iface) {
}
Y_CPU_BENCHMARK(Sort2, iface) {
- TVector<int> x = {2, 1};
+ TVector<int> x = {2, 1};
for (const auto i : xrange(iface.Iterations())) {
Y_UNUSED(i);
@@ -23,7 +23,7 @@ Y_CPU_BENCHMARK(Sort2, iface) {
}
Y_CPU_BENCHMARK(Sort4, iface) {
- TVector<int> x = {4, 3, 2, 1};
+ TVector<int> x = {4, 3, 2, 1};
for (const auto i : xrange(iface.Iterations())) {
Y_UNUSED(i);
@@ -32,7 +32,7 @@ Y_CPU_BENCHMARK(Sort4, iface) {
}
Y_CPU_BENCHMARK(Sort16, iface) {
- TVector<int> x = {16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1};
+ TVector<int> x = {16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1};
for (const auto i : xrange(iface.Iterations())) {
Y_UNUSED(i);
@@ -41,7 +41,7 @@ Y_CPU_BENCHMARK(Sort16, iface) {
}
Y_CPU_BENCHMARK(StableSort1, iface) {
- TVector<int> x = {1};
+ TVector<int> x = {1};
for (const auto i : xrange(iface.Iterations())) {
Y_UNUSED(i);
@@ -50,7 +50,7 @@ Y_CPU_BENCHMARK(StableSort1, iface) {
}
Y_CPU_BENCHMARK(StableSort2, iface) {
- TVector<int> x = {2, 1};
+ TVector<int> x = {2, 1};
for (const auto i : xrange(iface.Iterations())) {
Y_UNUSED(i);
@@ -59,7 +59,7 @@ Y_CPU_BENCHMARK(StableSort2, iface) {
}
Y_CPU_BENCHMARK(StableSort4, iface) {
- TVector<int> x = {4, 3, 2, 1};
+ TVector<int> x = {4, 3, 2, 1};
for (const auto i : xrange(iface.Iterations())) {
Y_UNUSED(i);
@@ -68,7 +68,7 @@ Y_CPU_BENCHMARK(StableSort4, iface) {
}
Y_CPU_BENCHMARK(StableSort16, iface) {
- TVector<int> x = {16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1};
+ TVector<int> x = {16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1};
for (const auto i : xrange(iface.Iterations())) {
Y_UNUSED(i);
diff --git a/util/generic/benchmark/vector_count_ctor/f.cpp b/util/generic/benchmark/vector_count_ctor/f.cpp
index b89e351ba7..f758faf808 100644
--- a/util/generic/benchmark/vector_count_ctor/f.cpp
+++ b/util/generic/benchmark/vector_count_ctor/f.cpp
@@ -8,7 +8,7 @@
void CreateYvector(const size_t size, const size_t count) {
for (size_t i = 0; i < count; ++i) {
NBench::Clobber();
- TVector<ui8> v(size);
+ TVector<ui8> v(size);
NBench::Escape(v.data());
NBench::Clobber();
}