搜尋套件、儲存庫與 APP 分類

套件詳情v0.7.6

vm_snapshot_analysis

用於分析 AOT 快照大小的工具

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
968萬
喜歡數
10
Pub 分數
140

安裝套件

flutter pub add vm_snapshot_analysis

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

vm_snapshot_analysis 套件提供工具,用於檢視 Flutter 應用程式中 AOT(提前編譯)快照的大小與組成。它幫助開發者了解程式碼與資源如何影響最終應用程式的大小,進而透過識別大型或重複的元件來實現優化。這在效能調校與應用程式大小縮減工作上尤為實用。此分析支援多個平台,包括 Android、iOS、Web、macOS、Windows 與 Linux,使其成為跨平台 Flutter 專案中一個多功能的除錯輔助工具。

適用情境

  • 優化應用程式封裝大小
  • 識別大型程式碼貢獻
  • 除錯意外的大小增長
  • 分析 AOT 編譯輸出
  • 效能分析
  • 跨平台尺寸對比

主要特色

  • 詳細的快照大小分解
  • 平台無關分析
  • 與 Flutter 編譯流程整合
  • 對多個目標平台的支援
  • 以人類可讀的格式輸出
  • 關注 AOT 編譯效率

適合對象

  • 專注於應用大小的Flutter開發者
  • 性能工程師
  • 構建優化團隊
  • 跨平台應用程式維護者
  • DevOps 工程師管理發佈流水線

使用建議

  • 需要 AOT 快照檔案
  • 僅限靜態分析
  • 不適合用於執行時剖析
  • 可能需要為 CI/CD 進行額外設定
  • 最佳使用時機為施工後
  • 不修改程式碼或資源

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

Dart

An approachable, portable, and productive language for high-quality apps on any platform

Dart is:

  • Approachable: Develop with a strongly typed programming language that is consistent, concise, and offers modern language features like null safety and patterns.

  • Portable: Compile to ARM, x64, or RISC-V machine code for mobile, desktop, and backend. Compile to JavaScript or WebAssembly for the web.

  • Productive: Make changes iteratively: use hot reload to see the result instantly in your running app. Diagnose app issues using DevTools.

Dart's flexible compiler technology lets you run Dart code in different ways, depending on your target platform and goals:

  • Dart Native: For programs targeting devices (mobile, desktop, server, and more), Dart Native includes both a Dart VM with JIT (just-in-time) compilation and an AOT (ahead-of-time) compiler for producing machine code.

  • Dart Web: For programs targeting the web, Dart Web includes both a development time compiler (dartdevc) and a production time compiler (dart2js).

Dart platforms illustration

License & patents

Dart is free and open source.

See LICENSE and PATENT_GRANT.

Using Dart

Visit dart.dev to learn more about the language, tools, and to find codelabs.

Browse pub.dev for more packages and libraries contributed by the community and the Dart team.

Our API reference documentation is published at api.dart.dev, based on the stable release. (We also publish docs from our beta and dev channels, as well as from the primary development branch).

Building Dart

If you want to build Dart yourself, here is a guide to getting the source, preparing your machine to build the SDK, and building.

There are more documents in our repo at docs.

Contributing to Dart

The easiest way to contribute to Dart is to file issues.

You can also contribute patches, as described in Contributing.

Roadmap

Future plans for Dart are included in the combined Dart and Flutter roadmap on the Flutter wiki.

所屬分類

依賴

依賴清單 3 項

原始碼儲存庫

使用此套件的專案