Macrobenchmark 檢測引數
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
使用下列檢測引數設定程式庫的行為。您可以新增這些設定檔到 Gradle 設定,或是透過指令列執行檢測時直接套用。
androidx.benchmark.suppressErrors
可用半形逗號分隔的錯誤清單轉換成警告。
- 引數類型:字串清單
- 可用選項:
DEBUGGABLE
LOW-BATTERY
EMULATOR
NOT-PROFILEABLE
- 預設為空白清單
additionalTestOutputDir
本功能在於設定 JSON 基準報表,並將剖析結果儲存至裝置。
- 測試 APK 外部目錄的預設值
- 引數類型:檔案路徑字串
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2022-05-04 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]