Forked from sbrissenden/firebase_performance_slow_screens.sql
Last active
August 31, 2021 19:09
-
-
Save seyhunak/9c9ffd4e6c1f05b94f4084bcd143525f to your computer and use it in GitHub Desktop.
[BigQuery + Firebase Performance Monitoring] Find app screens with frozen frames impacting French users
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
AVG(trace_info.duration_us / 1000000) AS seconds_on_screen, | |
AVG(trace_info.screen_info.slow_frame_ratio) AS slow_frame_ratio, | |
AVG(trace_info.screen_info.frozen_frame_ratio) AS frozen_frame_ratio, | |
event_name as screen, | |
country | |
FROM `ibam-d6cd2.firebase_performance.iba_mobilbank_IOS` | |
WHERE _PARTITIONTIME > TIMESTAMP("2019-05-09") | |
AND event_type = "SCREEN_TRACE" | |
AND country = "FR" | |
GROUP BY event_name, country | |
ORDER BY frozen_frame_ratio desc; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment