| 12 | } |
| 13 | |
| 14 | int64_t DjinniPerfBenchmarkImpl::cppTests() { |
| 15 | auto t1 = std::chrono::high_resolution_clock::now(); |
| 16 | constexpr int kBufSize = 256; |
| 17 | char buf[kBufSize]; |
| 18 | char buf2[kBufSize]; |
| 19 | memcpy(buf, buf2, kBufSize); |
| 20 | auto t2 = std::chrono::high_resolution_clock::now(); |
| 21 | int64_t ns = std::chrono::duration_cast<std::chrono::nanoseconds>(t2 - t1).count(); |
| 22 | return ns; |
| 23 | } |
| 24 | |
| 25 | void DjinniPerfBenchmarkImpl::baseline() {} |
| 26 |
nothing calls this directly
no outgoing calls
no test coverage detected