mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Remove some unneeded profiling flags (flutter/engine#4827)
This commit is contained in:
parent
1127f37509
commit
fb3456f64f
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user