diff options
author | danlark <[email protected]> | 2022-02-10 16:46:08 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:46:08 +0300 |
commit | 3426a9bc7f169ae9da54cef557ad2a33f6e8eee0 (patch) | |
tree | 26154e1e9990f1bb4525d3e3fb5b6dac2c2c1da2 /library/cpp/testing/benchmark/examples | |
parent | cb68f224c46a8ee52ac3fdd2a32534b8bb8dc134 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/testing/benchmark/examples')
-rw-r--r-- | library/cpp/testing/benchmark/examples/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/testing/benchmark/examples/main.cpp b/library/cpp/testing/benchmark/examples/main.cpp index ddd8b05ffc7..50d0554289a 100644 --- a/library/cpp/testing/benchmark/examples/main.cpp +++ b/library/cpp/testing/benchmark/examples/main.cpp @@ -100,19 +100,19 @@ Y_NO_INLINE int FFF(int x, int y) { } Y_NO_INLINE size_t FS1(TStringBuf x) { - return x.size(); + return x.size(); } Y_NO_INLINE size_t FS1_2(TStringBuf x, TStringBuf y) { - return x.size() + y.size(); + return x.size() + y.size(); } Y_NO_INLINE size_t FS2(const TStringBuf& x) { - return x.size(); + return x.size(); } Y_NO_INLINE size_t FS2_2(const TStringBuf& x, const TStringBuf& y) { - return x.size() + y.size(); + return x.size() + y.size(); } Y_CPU_BENCHMARK(FunctionCallCost_StringBufVal1, iface) { |