Benchmarks configurations for engine v2. (flutter/engine#42622)
This configuration migrates benchmarks to engine_v2. [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
This commit is contained in:
@@ -194,6 +194,16 @@ targets:
|
||||
upload_metrics: "true"
|
||||
timeout: 60
|
||||
|
||||
- name: Linux linux_benchmarks
|
||||
bringup: true
|
||||
enabled_branches:
|
||||
- main
|
||||
recipe: engine_v2/builder
|
||||
presubmit: false
|
||||
properties:
|
||||
config_name: linux_benchmarks
|
||||
timeout: 60
|
||||
|
||||
- name: Linux Benchmarks (no-upload)
|
||||
recipe: engine/engine_metrics
|
||||
bringup: true
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"drone_dimensions": [
|
||||
"device_type=none",
|
||||
"os=Linux"
|
||||
],
|
||||
"gclient_variables": {
|
||||
"download_android_deps": false
|
||||
},
|
||||
"gn": [
|
||||
"--runtime-mode",
|
||||
"release",
|
||||
"--prebuilt-dart-sdk",
|
||||
"--build-embedder-examples"
|
||||
],
|
||||
"name": "host_release",
|
||||
"ninja": {
|
||||
"config": "host_release",
|
||||
"targets": [
|
||||
"flutter/build/dart:copy_dart_sdk",
|
||||
"flutter/display_list:display_list_benchmarks",
|
||||
"flutter/display_list:display_list_builder_benchmarks",
|
||||
"flutter/fml:fml_benchmarks",
|
||||
"flutter/impeller/geometry:geometry_benchmarks",
|
||||
"flutter/lib/ui:ui_benchmarks",
|
||||
"flutter/shell/common:shell_benchmarks",
|
||||
"flutter/shell/testing",
|
||||
"flutter/third_party/txt:txt_benchmarks",
|
||||
"flutter/tools/path_ops",
|
||||
"flutter/build/archives:flutter_patched_sdk",
|
||||
"flutter:unittests"
|
||||
]
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
"language": "bash",
|
||||
"name": "Generate metrics test",
|
||||
"script": "flutter/testing/benchmark/generate_metrics.sh"
|
||||
},
|
||||
{
|
||||
"contexts": [
|
||||
"metric_center_token"
|
||||
],
|
||||
"language": "bash",
|
||||
"name": "Upload metrics",
|
||||
"script": "flutter/testing/benchmark/upload_metrics.sh"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user