diff options
| author | asatarin <[email protected]> | 2022-02-10 16:47:30 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:47:30 +0300 |
| commit | ca04a556317a80ac802f38457a2292185282878b (patch) | |
| tree | c0748b5dcbade83af788c0abfa89c0383d6b779c /library/cpp/threading | |
| parent | 4ca29390ac54b7877174de542de47532c67453b5 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/threading')
| -rw-r--r-- | library/cpp/threading/skip_list/perf/main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/threading/skip_list/perf/main.cpp b/library/cpp/threading/skip_list/perf/main.cpp index c3eb6a6917a..4ad52049e73 100644 --- a/library/cpp/threading/skip_list/perf/main.cpp +++ b/library/cpp/threading/skip_list/perf/main.cpp @@ -215,7 +215,7 @@ namespace { for (const TTest& test : Tests) { LogInfo() << "Starting test " << test.Name << Endl; - + TInstant started = TInstant::Now(); try { test.Func(); @@ -226,7 +226,7 @@ namespace { } LogInfo() << "List size = " << List.GetSize() << Endl; - + TDuration duration = TInstant::Now() - started; LogInfo() << "test " << test.Name << " duration: " << duration @@ -276,8 +276,8 @@ namespace { for (size_t i = 0; i < Iterations; ++i) { List.Insert(TListItem(Random.GetString(KeyLen), Random.GetString(ValueLen))); } - } - + } + void TEST_LookupRandom() { for (size_t i = 0; i < Iterations; ++i) { List.SeekTo(TListItem(Random.GetString(KeyLen), TStringBuf())); @@ -296,7 +296,7 @@ namespace { TGuard<TMutex> guard(Mutex); List.Insert(TListItem(Random.GetString(KeyLen), Random.GetString(ValueLen))); } - } + } TDuration duration = TInstant::Now() - started; LogInfo() << "Average time for producer = " |
