- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我希望你玩得开心。我目前正在开发具有很多图像的应用程序,因此我们自然将它们添加到/assets
文件夹中。我的问题是。拥有大量 Assets 图片(约140张图片)会影响抖动的运行时性能。感谢您的回答。
最佳答案
基于Flutter文档中的this part有关性能的信息:
Flutter’s engine runtime and your application’s compiled Dart code areboth bundled as shared libraries on Android and iOS. The first step ofloading Flutter is to find those resources in your .apk/.ipa/.app(along with other Flutter assets such as images, fonts, and JIT codeif applicable).
This happens when you construct a FlutterEngine for the first time onboth Android and iOS APIs.
DevTools
或类似的插件才能测量出资源量较少的 bundle 包与资源更多的 bundle 包之间的确切时间。
关于flutter - 有关 Assets 影响绩效的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62837823/
我想知道在 Java 7 菱形运算符 与以前版本的 Java 的语言构造方面是否存在任何已知的性能差异。 基本上,使用这个是否更快: List myList = new ArrayList<>() M
我有一个巨大的应用程序,它使用 Entity Framework 4。它是服务器上的 WCF(托管在 Windows 服务中)和客户端上的 WPF。 它的某些部分很慢,我想知道是不是因为数据库访问很慢
我是一名优秀的程序员,十分优秀!