aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/benchmark
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:25 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:25 +0300
commit344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/generic/benchmark
parent706b83ed7de5a473436620367af31fc0ceecde07 (diff)
downloadydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 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 bd01f97d23..49277db077 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 61dcafa319..969f09a309 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 31019f1508..057edbe864 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 fce7ef06ef..d58f491f4d 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 f758faf808..b89e351ba7 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();
}