Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OpenGLRenderer: Davey

Tags:

android

I have noticed that from time to time, android shows the following log message:

I/OpenGLRenderer( 4958): Davey! duration=1923ms; Flags=1, IntendedVsync=12247...

Does anyone know the reason why my OpenGLRenderer is calling Davey!?

like image 427
Twometer Avatar asked Jul 21 '19 10:07

Twometer


3 Answers

This "Davey!" is here because Dave Burke, VP on Android, cares deeply about jank and performance and filed many, many, many bugs for the engineering teams. This is just a fun nod to him when the system automatically detects jank.

like image 117
Romain Guy Avatar answered Nov 11 '22 11:11

Romain Guy


I had the same question. It looks like a name, but the code suggests it isn't (?). From Android source file frameworks/base/libs/hwui/JankTracker.cpp, around line 177

....
    // Log daveys since they are weird and we don't know what they are (b/70339576)
    if (totalDuration >= 700_ms) {
        static int sDaveyCount = 0;
        std::stringstream ss;
        ss << "Davey! duration=" << ns2ms(totalDuration) << "ms; ";
....

The logging code was added here: Android 0e89ca2088b7e5424b35d9a564b83847dc0df84a. Maybe ask the engineer that added the code: John Reck .

like image 28
RuudSieb Avatar answered Nov 11 '22 13:11

RuudSieb


"Davey" is a transliteration of the Russian "Дава́й"

It means "come on!" and is an expression used to mean anything from "GO!" (in the sense of 'watch out!') to "COME ON!!!" (in the sense of 'hurry up! go!')

The programmer adding this was probably not Russian but making some kind of Slavic language joke.

like image 4
Frank Avatar answered Nov 11 '22 11:11

Frank