Skip to content

Instantly share code, notes, and snippets.

@crizant
Created March 2, 2020 12:32
Show Gist options
  • Save crizant/c19cffb300660a66e5cdd05804823a05 to your computer and use it in GitHub Desktop.
Save crizant/c19cffb300660a66e5cdd05804823a05 to your computer and use it in GitHub Desktop.
Flutter const constructor analysis (time to draw each frame)
Metric(Time to draw each frame)\No. of logo 10 100 1000
GPU (Use const constructor) 7.4ms 9.6ms 50ms
UI (Use const constructor) 4.8ms 10.6ms 78ms
GPU (Use non-const constructor) 7.4ms 9.6ms 56ms
UI (Use non-const constructor) 5.4ms 11.7ms 84.1ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment