Skip to content

Instantly share code, notes, and snippets.

@mit-mit
Last active November 6, 2020 15:11
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 mit-mit/64e160f9dc3bf6c69c7ef2f81384594a to your computer and use it in GitHub Desktop.
Save mit-mit/64e160f9dc3bf6c69c7ef2f81384594a to your computer and use it in GitHub Desktop.
flutter/examples/hello_world/ size reduction with sound null safety
library Unsound Sound Diff Reduction
KB uncomp. KB uncomp.
package:flutter 566 544 22 3.9%
dart:core 262 249 13 5.0%
dart:typed_data 142 136 6 4.2%
dart:ui 130 125 5 3.8%
dart:async 126 126 0 0.0%
dart:collection 82 81 1 1.2%
dart:convert 56 56 0 0.0%
dart:isolate 35 34 1 2.9%
dart:io 34 33 1 2.9%
package:vector_math 24 22 2 8.3%
dart:developer 9 9 0 0.0%
package:typed_data/ 6 6 0 0.0%
package:collection/ 5 5 0 0.0%
dart:ffi 4 3 1 25.0%
dart:math 3 3 0 0.0%
dart:vmservice_io 1 1 0 0.0%
dart:wasm 1 1 0 0.0%
dart:mirrors 0.5 0.5 0.0 0.0%
package:hello_world/ 0.5 0.5 0.0 0.0%
dart:nativewrappers 0.3 0.3 0.0 0.0%
Uncompressed 1487 1435 52 3.5%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment