D/EGL_emulation time messages in Flutter
Asked Answered
E

8

22

I receive multiple messages of the following kind when I do anything in Android emulator in the flutter app

D/EGL_emulation(6380): app_time_stats: avg=1505.58ms min=1505.58ms max=1505.58ms count=1

What is it?

Emboly answered 10/12, 2021 at 15:3 Comment(2)
Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.Zannini
to me it's pretty clear he asks what that message means and none of the answer answer that question, instead explain how to hide it.. :)Richart
M
22

For Visual Studio Code Users:

You can always filter messages by using the Filter input on the top right corner.

For this particular case, you can hide those messages by applying this filter: !D/EGL

BEFORE: Without filtering:

BEFORE: Without filtering

AFTER: With filtering: enter image description here

Meill answered 30/4, 2022 at 18:59 Comment(1)
do you have a more permanent solution?Stalemate
B
9
  • Right click on D/EGL_emulation ...
  • Click "Fold Lines Like This"
  • Edit the filter that's just been added to only contain D/EGL_emulation.
  • All these lines will be removed from the RUN console window now
Basuto answered 30/5, 2022 at 21:6 Comment(1)
It's not workingPuce
C
7

In Terminal (Mac/ Linux):

If you run the flutter command inside terminal, to filter those messages simply just run this command to filter

flutter run | grep -v "D/EGL_emulation"

or

flutter run | grep -v "app_time_stats"
Criminality answered 8/1, 2023 at 13:15 Comment(3)
Best solution for terminal users I've found.Sannyasi
in case someone's using powershell, try using this: flutter run 2>&1 | Select-String -Pattern "EGL_emulation" -NotMatchGratulation
Hey thankyouuu easiest solution for vscode user! and this command filter so portable. If i need it i can just remove the grep.Tarryn
D
4

1.) Right click on "D/EGL_emulation" click fold line like this

1)

2.) This tab will popup

3.) Edit the currently selected line and just left "D/EGL_emulation:" then press ok. enter image description here

During answered 2/12, 2022 at 7:3 Comment(0)
H
3

I was used an emulator with android S, my friend recommended me to use android R and the log its over. try it!

Hendershot answered 14/12, 2021 at 14:30 Comment(1)
Good suggestion, worked for me! Downgraded api on the emulator from 13 to 11 and it helped to speed things upWame
G
1

In case you are using VS Code and Powershell instead of CMD:

here's what I've been using now, which also mutes the info on text input fields:

flutter run 2>&1 | Select-String -Pattern "EGL_emulation", "D/InputMethodManager", "D/InsetsController", "W/RemoteInputConnectionImpl", "I/TextInputPlugin"  -NotMatch

you can add all other messages that occour too with the pattern

Gratulation answered 18/9, 2023 at 10:49 Comment(0)
H
0

This is an Android Studio emulator message, and in this case, is a "Debug" message. Please see here to filter out the Debug messages from either Android Studio or VS Code, while keeping the Warnings and Errors.

Hairsplitter answered 21/2, 2022 at 16:39 Comment(0)
K
0

1.right click on "D/EGL_emulation( 6380): app_time_stats" 2.fole lines like this

it work for me

Koblick answered 24/4, 2022 at 8:56 Comment(2)
As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.Zannini
Actually, this works great. Thanks. I clicked on "Fold Lines Like This", then edited the filter to just contain D/EGL_emulation. PERFECT. Thank youBasuto

© 2022 - 2024 — McMap. All rights reserved.