Skip to content

Size improvements πŸ“¦

Compare
Choose a tag to compare
@seanhenry seanhenry released this 25 Feb 10:30
· 8 commits to main since this release

Size improvements

Optimisations were made on the wgpu-native libraries to reduce the final bundle size:

  • Dead code is eliminated before linking to reduce unpacked package size from 374MB to 70.5MB
  • Compile-time optimisations reduce final binary size by 2.2MB on iOS and 5.45MB on Android*

*These figures were measured by comparing the final bundle size of the Example app built using RN 0.76, before and after the library optimisations. They are per-architecture meaning that the apk was 21.8MB smaller, 5.45MB smaller for each architecture.

React Native support

Version 0.1.2 now supports react native 0.77