Skip to content

Commit 5e83371

Browse files
authored
Remove some unneeded profiling flags (flutter#4827)
1 parent c9da000 commit 5e83371

2 files changed

Lines changed: 0 additions & 5 deletions

File tree

‎content_handler/app.cc‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ App::App() {
6666

6767
blink::Settings settings;
6868
settings.enable_observatory = true;
69-
settings.enable_dart_profiling = true;
7069
blink::Settings::Set(settings);
7170

7271
fonts::FontProviderPtr font_provider(

‎runtime/dart_init.cc‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -508,10 +508,6 @@ static std::vector<const char*> ProfilingFlags(bool enable_profiling) {
508508
// flags.
509509
if (enable_profiling) {
510510
return {
511-
// Dart assumes ARM devices are insufficiently powerful and sets the
512-
// default profile period to 100Hz. This number is suitable for older
513-
// Raspberry Pi devices but quite low for current smartphones.
514-
"--profile_period=1000",
515511
// This is the default. But just be explicit.
516512
"--profiler",
517513
// This instructs the profiler to walk C++ frames, and to include

0 commit comments

Comments
 (0)