aboutsummaryrefslogtreecommitdiffhomepage
path: root/benchmark
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2021-11-04 12:46:08 +0300
committerlevlam <levlam@telegram.org>2021-11-04 12:46:08 +0300
commitca7947cf44c429d962002b9a28e85b3d75e51138 (patch)
tree72c4aaae534dcb66e6f44ac808b58ed5d742f297 /benchmark
parenteb2c0c9315dad89f67dacb752ff1001d9e464c55 (diff)
Minor improvements.
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/bench_actor.cpp1
-rw-r--r--benchmark/bench_http.cpp1
-rw-r--r--benchmark/bench_http_server.cpp1
-rw-r--r--benchmark/bench_queue.cpp2
4 files changed, 2 insertions, 3 deletions
diff --git a/benchmark/bench_actor.cpp b/benchmark/bench_actor.cpp
index 338442c62..82c88cfdd 100644
--- a/benchmark/bench_actor.cpp
+++ b/benchmark/bench_actor.cpp
@@ -43,7 +43,6 @@ class td::ActorTraits<TestActor> {
};
class CreateActorBench final : public td::Benchmark {
- private:
td::ConcurrentScheduler scheduler_;
void start_up() final {
diff --git a/benchmark/bench_http.cpp b/benchmark/bench_http.cpp
index 5fc8ba1f3..9e468f025 100644
--- a/benchmark/bench_http.cpp
+++ b/benchmark/bench_http.cpp
@@ -12,6 +12,7 @@
#include "td/actor/ConcurrentScheduler.h"
#include "td/utils/buffer.h"
+#include "td/utils/BufferedFd.h"
#include "td/utils/logging.h"
#include "td/utils/port/IPAddress.h"
#include "td/utils/port/SocketFd.h"
diff --git a/benchmark/bench_http_server.cpp b/benchmark/bench_http_server.cpp
index 4351f03a5..88fef3814 100644
--- a/benchmark/bench_http_server.cpp
+++ b/benchmark/bench_http_server.cpp
@@ -13,6 +13,7 @@
#include "td/actor/ConcurrentScheduler.h"
#include "td/utils/buffer.h"
+#include "td/utils/BufferedFd.h"
#include "td/utils/logging.h"
#include "td/utils/port/SocketFd.h"
#include "td/utils/Slice.h"
diff --git a/benchmark/bench_queue.cpp b/benchmark/bench_queue.cpp
index 2fc85bbf9..6205f37bb 100644
--- a/benchmark/bench_queue.cpp
+++ b/benchmark/bench_queue.cpp
@@ -17,8 +17,6 @@
// TODO: all return values must be checked
#include <atomic>
-#include <cstdlib>
-#include <vector>
#if TD_PORT_POSIX
#include <pthread.h>