#include "base/strings/stringprintf.h"
#include "base/timer/lap_timer.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/perf/perf_result_reporter.h"
#include "ui/accessibility/ax_node_position.h"
#include "ui/accessibility/ax_tree_id.h"
#include "ui/accessibility/ax_tree_update.h"
#include "ui/accessibility/test_single_ax_tree_manager.h"
namespace ui {
TestPositionType;
namespace {
constexpr int kLaps = …;
constexpr int kWarmupLaps = …;
constexpr char kMetricCallsPerSecondRunsPerS[] = …;
class AXPositionPerfTest : public ::testing::Test,
public TestSingleAXTreeManager { … };
void AXPositionPerfTest::SetUp() { … }
}
TEST_F(AXPositionPerfTest, AsTreePositionFromTextPosition) { … }
TEST_F(AXPositionPerfTest, AsLeafTextPositionFromTextPosition) { … }
TEST_F(AXPositionPerfTest, AsLeafTextPositionFromTreePosition) { … }
TEST_F(AXPositionPerfTest, CompareTextPositions) { … }
}