Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save a-siva/07e8a5bfa8548a3041d44d5d1c6f3a40 to your computer and use it in GitHub Desktop.
Save a-siva/07e8a5bfa8548a3041d44d5d1c6f3a40 to your computer and use it in GitHub Desktop.
Some preliminary null safety performance numbers
Some preliminary null safety performance numbers for the ParticleSystemPaint and ParticleSystemUpdate benchmarks which emulate patterns used in the Flutter framework code
@a-siva
Copy link
Author

a-siva commented Jun 9, 2020

Runtime performance numbers (lower is better)

  • ParticleSystemPaint (Runtime) : 6737.37 us (Original). 6524.42 us (Null Safety) (about 3.1%)
  • ParticleSystemUpdate(RunTime) : 5520.66 us (Original), 4464.28 us (Null Safety) (about 19.1%)

AOT snapshot sizes (lower is better)

  • particle_paint.snapshot : 3511392 (Original), 3437664 (Null Safety) (about 2% reduction)
  • particle_update.snapshot : 3499104 (Original), 3429472 (Null Safety) about 2% reduction)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment