Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Copy link
Owner Author

@a-siva 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