Skip to content

Commit

Permalink
Remove some unneeded profiling flags (flutter#4827)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanderso authored Mar 20, 2018
1 parent c9da000 commit 5e83371
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion content_handler/app.cc
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ App::App() {

blink::Settings settings;
settings.enable_observatory = true;
settings.enable_dart_profiling = true;
blink::Settings::Set(settings);

fonts::FontProviderPtr font_provider(
Expand Down
4 changes: 0 additions & 4 deletions runtime/dart_init.cc
Original file line number Diff line number Diff line change
Expand Up @@ -508,10 +508,6 @@ static std::vector<const char*> ProfilingFlags(bool enable_profiling) {
// flags.
if (enable_profiling) {
return {
// Dart assumes ARM devices are insufficiently powerful and sets the
// default profile period to 100Hz. This number is suitable for older
// Raspberry Pi devices but quite low for current smartphones.
"--profile_period=1000",
// This is the default. But just be explicit.
"--profiler",
// This instructs the profiler to walk C++ frames, and to include
Expand Down

0 comments on commit 5e83371

Please sign in to comment.