| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This provides a reference for comparison of performance versus overhead in | 5 // This provides a reference for comparison of performance versus overhead in |
| 6 // perftests. | 6 // perftests. |
| 7 | 7 |
| 8 #include "gtest/gtest.h" |
| 8 #include "mojo/public/c/tests/system/perftest_utils.h" | 9 #include "mojo/public/c/tests/system/perftest_utils.h" |
| 9 #include "testing/gtest/include/gtest/gtest.h" | |
| 10 | 10 |
| 11 namespace { | 11 namespace { |
| 12 | 12 |
| 13 // A no-op test so we can compare performance. | 13 // A no-op test so we can compare performance. |
| 14 TEST(ReferencePerftest, NoOp) { | 14 TEST(ReferencePerftest, NoOp) { |
| 15 mojo::test::IterateAndReportPerf("Reference_NoOp", nullptr, []() {}); | 15 mojo::test::IterateAndReportPerf("Reference_NoOp", nullptr, []() {}); |
| 16 } | 16 } |
| 17 | 17 |
| 18 } // namespace | 18 } // namespace |
| OLD | NEW |