// 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 "extensions/common/common_manifest_handlers.h" #include "extensions/common/manifest_handler.h" #include "extensions/common/scoped_testing_manifest_handler_registry.h" #include "extensions/test/logging_timer.h" #include "testing/gtest/include/gtest/gtest.h" namespace extensions { // This and the following test are used to monitor the performance // of the manifest handler registry initialization path, since // it was determined to be a large part of the extensions system // startup cost. They are prefixed with "MANUAL_" since they are // not run like regular unit tests. They can be run like this: // extensions_unittests --gtest_filter="ManifestHandlerPerfTest.*" // and should be run after any substantial changes to the related // code. TEST(ManifestHandlerPerfTest, MANUAL_CommonInitialize) { … } TEST(ManifestHandlerPerfTest, MANUAL_LookupTest) { … } TEST(ManifestHandlerPerfTest, MANUAL_CommonMeasureFinalization) { … } } // namespace extensions