#include "cc/trees/draw_property_utils.h"
#include <stddef.h>
#include <memory>
#include <sstream>
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/path_service.h"
#include "base/threading/thread.h"
#include "base/time/time.h"
#include "base/timer/lap_timer.h"
#include "cc/layers/layer.h"
#include "cc/test/fake_content_layer_client.h"
#include "cc/test/fake_layer_tree_host_client.h"
#include "cc/test/layer_tree_json_parser.h"
#include "cc/test/layer_tree_test.h"
#include "cc/trees/layer_tree_impl.h"
#include "cc/trees/transform_node.h"
#include "components/viz/test/paths.h"
#include "testing/perf/perf_result_reporter.h"
namespace cc {
namespace {
static const int kTimeLimitMillis = …;
static const int kWarmupRuns = …;
static const int kTimeCheckInterval = …;
class DrawPropertyUtilsPerfTest : public LayerTreeTest { … };
class CalcDrawPropsTest : public DrawPropertyUtilsPerfTest { … };
TEST_F(CalcDrawPropsTest, TenTen) { … }
TEST_F(CalcDrawPropsTest, HeavyPage) { … }
TEST_F(CalcDrawPropsTest, TouchRegionLight) { … }
TEST_F(CalcDrawPropsTest, TouchRegionHeavy) { … }
}
}