#include "base/barrier_closure.h"
#include "base/run_loop.h"
#include "base/time/time.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/perf/perf_result_reporter.h"
#include "third_party/blink/renderer/platform/scheduler/common/task_priority.h"
#include "third_party/blink/renderer/platform/scheduler/main_thread/main_thread_scheduler_impl.h"
#include "third_party/blink/renderer/platform/testing/scoped_scheduler_overrider.h"
#if !defined(THREAD_SANITIZER)
namespace blink {
namespace scheduler {
namespace {
constexpr char kMetricPrefix[] = …;
constexpr char kTimePerTask[] = …;
constexpr char kTimePerPostTask[] = …;
constexpr char kTimePerTaskRun[] = …;
class MainThreadPerfTest : public testing::Test { … };
TEST_F(MainThreadPerfTest, PostTaskPerformance) { … }
}
}
}
#endif