// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/views/controls/label.h" #include "base/strings/utf_string_conversions.h" #include "base/timer/lap_timer.h" #include "testing/perf/perf_result_reporter.h" #include "ui/views/test/views_test_base.h" namespace views { LabelPerfTest; // Test the number of text size measurements that can be made made per second. // This should surface any performance regressions in underlying text layout // system, e.g., failure to cache font structures. TEST_F(LabelPerfTest, GetPreferredSize) { … } } // namespace views