Skip to content

Commit 567c6ed

Browse files
committed
fix test KIKIMR-20747
1 parent d5ecd72 commit 567c6ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ydb/library/actors/util/memory_tracker_ut.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ struct TTracked
190190

191191
template <typename T>
192192
double MeasureAllocations() {
193-
constexpr size_t objectsCount = 4 << 20;
193+
constexpr size_t objectsCount = 1 << 20;
194194

195195
std::vector<T*> objects;
196196
objects.resize(objectsCount);
@@ -213,7 +213,7 @@ double MeasureAllocations() {
213213
Y_UNIT_TEST(Performance) {
214214
TMemoryTracker::Instance()->Initialize();
215215

216-
constexpr size_t Runs = 16;
216+
constexpr size_t Runs = 8;
217217

218218
Cerr << "---- warmup" << Endl;
219219
MeasureAllocations<TNotTracked>();

0 commit comments

Comments
 (0)