flutter_flutter/benchmarking/benchmarking.cc
Chinmay Garde c2128fc809
Create a benchmarking target for the shell. (#6420)
Also adds //flutter/benchmarking which, similar to //flutter/testing, allows for the creation of a benchmarking executable. This is also the target that contains benchmarking utilities.
2018-10-03 17:22:33 -07:00

23 lines
529 B
C++

// Copyright 2018 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "benchmarking.h"
#include "flutter/fml/icu_util.h"
namespace benchmarking {
int Main(int argc, char** argv) {
benchmark::Initialize(&argc, argv);
fml::icu::InitializeICU("icudtl.dat");
::benchmark::RunSpecifiedBenchmarks();
return 0;
}
} // namespace benchmarking
int main(int argc, char** argv) {
return benchmarking::Main(argc, argv);
}