Skip to content

Commit 76f300e

Browse files
Zainullin DamirZainullin Damir
authored andcommitted
++
1 parent f4a77cd commit 76f300e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

include/ipfixprobe/outputPlugin/outputStorage/bOutputStorage.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace ipxp::output {
1818
template<typename ElementType>
1919
class BOutputStorage : public OutputStorage<ElementType> {
2020
protected:
21-
constexpr static std::size_t WINDOW_SIZE = 15;
21+
constexpr static std::size_t WINDOW_SIZE = 1;
2222
constexpr static std::size_t BUCKET_SIZE = 128;
2323
constexpr static std::size_t BUCKET_COUNT
2424
= OutputStorage<ElementType>::STORAGE_CAPACITY / BUCKET_SIZE;

tests/performance/outputStorage/testOutputStorage.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,15 +174,15 @@ void makePerformanceTest(std::string_view storageName)
174174

175175
std::cout << "==========================================================" << std::endl;
176176
std::cout << storageName << ", 32 Writers, 1 Reader\n";
177-
makeTest<OutputStorageType>(32, {1}, false, 20'000'064);
177+
makeTest<OutputStorageType>(32, {1}, false, 20'000'000);
178178

179179
std::cout << "==========================================================" << std::endl;
180180
std::cout << storageName << ", 1 Writers, 32 Readers\n";
181-
makeTest<OutputStorageType>(1, {32}, false, 70'000'000);
181+
makeTest<OutputStorageType>(1, {32}, false, 80'000'000);
182182

183183
std::cout << "==========================================================" << std::endl;
184184
std::cout << storageName << ", 32 Writers, 32 Readers\n";
185-
makeTest<OutputStorageType>(32, {32}, false, 20'000'064);
185+
makeTest<OutputStorageType>(32, {32}, false, 20'000'000);
186186

187187
std::cout << "==========================================================" << std::endl;
188188
std::cout << storageName << ", 4 Writers, 4 Group 1 Reader\n";

0 commit comments

Comments
 (0)