#include "base/strings/utf_string_conversions.h"
#include "base/timer/lap_timer.h"
#include "chrome/browser/vr/elements/text.h"
#include "chrome/browser/vr/skia_surface_provider_factory.h"
#include "chrome/browser/vr/test/constants.h"
#include "chrome/browser/vr/test/gl_test_environment.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/perf/perf_result_reporter.h"
#include "testing/perf/perf_test.h"
#include "third_party/skia/include/core/SkSurface.h"
namespace vr {
namespace {
constexpr size_t kNumberOfRuns = …;
constexpr float kFontHeightMeters = …;
constexpr float kTextWidthMeters = …;
}
class TextPerfTest : public testing::Test { … };
TEST_F(TextPerfTest, RenderLoremIpsum100Chars) { … }
TEST_F(TextPerfTest, RenderLoremIpsum700Chars) { … }
}