32 Commits

Author SHA1 Message Date
Jonah Williams
91b78cc361 [Impeller] Add benchmarks that measure the time it takes to record canvas operations. (flutter/engine#48374)
This benchmark includes things like allocating geometry/contents, path conversions, et cetera. It doesn't include dispatching or GPU work, but should make it easier to see improvements/regressions in the efficiency of this code.
2023-11-28 03:06:53 +00:00
Zachary Anderson
2431498922 Move some Dart packages to //flutter/third_party/pkg (flutter/engine#47654)
As part of eliminating the Flutter buildroot
(https://github.com/flutter/flutter/issues/67373), we are moving all
third-party dependencies from //third_party to //flutter/third_party.

Once all third-party dependencies have been migrated, tooling and config
will be moved and the buildroot will be eliminated altogether.

No tests changed because there is no semantic change to this PR. This is
simply relocating a dependency.
2023-11-06 06:59:27 -08:00
Michael Goderbauer
efc22ee283 Enable private field promotion (flutter/engine#45722)
New feature in upcoming Dart 3.2. See https://github.com/dart-lang/language/issues/2020. Feature is enabled by bumping the min SDK version to 3.2.

Part of https://github.com/flutter/flutter/issues/134476.
2023-09-14 21:02:03 +00:00
godofredoc
648918469b Move benchmarks no upload to a test. (flutter/engine#42356)
This is moving the execution of the benchmarks script to a test inside the existing host_relese configuration. It keeps the same coverage with and removes one build.

Bug: https://github.com/flutter/flutter/issues/127678

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2023-06-02 17:03:58 +00:00
Michael Goderbauer
dcc4b1b535 Reland: Bump lower Dart SDK constraints to 3.0 (flutter/engine#40318)
* WIP

Bump to 3.0.0-0

* fix lints

* drop web_ui

* opt pointer_converter.dart out of dart 3

* Revert "drop web_ui"

This reverts commit b97a015d5cd0d7e0380a4231be4c31aad36671f1.
2023-03-16 08:07:39 -07:00
Zachary Anderson
32b3e66d7c Revert "Bump lower Dart SDK constraints to 3.0 (#40178)" (flutter/engine#40317)
Revert "Bump lower Dart SDK constraints to 3.0"
2023-03-15 18:53:00 +00:00
Michael Goderbauer
828f3deb86 Bump lower Dart SDK constraints to 3.0 (flutter/engine#40178)
Bump lower Dart SDK constraints to 3.0
2023-03-15 17:57:04 +00:00
Siva
99b4cb739a Manual Roll Dart SDK from 7b4d4ec3cad1 to 35f6108ef685 (4 revisions) (flutter/engine#38409)
* Manual Roll Dart SDK from 7b4d4ec3cad1 to 35f6108ef685 (4 revisions)

https://dart.googlesource.com/sdk.git/+log/7b4d4ec3cad1..35f6108ef685

2022-12-16 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.0.0-39.0.dev
2022-12-16 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.0.0-38.0.dev
2022-12-16 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.0.0-37.0.dev
2022-12-16 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.0.0-36.0.dev

* Add package:js path dependency
2022-12-19 19:31:31 -08:00
Zachary Anderson
9896c5f66d pylint all Python scripts under testing/ (flutter/engine#38268) 2022-12-14 16:23:16 +00:00
Dan Field
cb5d746c25 [Impeller] Add polyline benchmark with lots of cubics and quads. (flutter/engine#36731) 2022-10-13 18:31:04 +00:00
Michael Goderbauer
cc50c5249c Sync analysis_options.yaml with flutter/flutter (flutter/engine#34986) 2022-07-29 16:41:04 -07:00
Jim Graham
d2476d54a8 upload the output of the DisplayList builder benchmarks (flutter/engine#35010) 2022-07-29 15:02:36 -07:00
ColdPaleLight
cbda16b4b4 Create benchmarks for DisplayListBuilder (flutter/engine#34910) 2022-07-29 18:56:02 +00:00
Dan Field
038db36b53 NNBD migration for //testing (flutter/engine#34766) 2022-07-20 21:12:04 +00:00
Devon Carew
28a17c2f56 rev the dart sdk and package:http dep (flutter/engine#34044)
* rev the dart sdk and package:http dep

* fix the http repo reference
2022-06-14 16:29:17 -07:00
William Hesse
dedb924576 Remove dependencies on package charcode (flutter/engine#33925)
The charcode package has been removed from the Dart SDK source
checkout, and the Flutter engine packages that list it in
their pubspecs do not depend on it directly or indirectly.

Remove it from their pubspecs, so they do not break when
the package disappears from the engine source checkout.

Bug: https://dart-review.googlesource.com/c/sdk/+/247500
2022-06-09 08:04:35 -07:00
Zachary Anderson
1790d5a019 Adds a python formatter (flutter/engine#33797)
* Adds a python formatter

* Apply format
2022-06-03 13:00:14 -07:00
Alexander Aprelev
ef654d96c2 Remove unused pkg/pedantic dependency. (flutter/engine#32894)
The dependency is unused, but causes breakages during dart->engine roll since https://dart.googlesource.com/sdk/+/aa63ef8f4f506ffa9f160b960158e861be370b4a removed it from dart sdk.
2022-04-25 06:39:10 -07:00
George Wright
61fdc01618 Add a CSV output option to displaylist_benchmark_parser.py and add a README detailing how to run and process benchmarks on iOS/Android (flutter/engine#31481) 2022-02-15 19:43:26 -08:00
George Wright
bd22d1169d Add a python script to parse DisplayList benchmarking output (flutter/engine#31266) 2022-02-04 15:18:45 -08:00
Alexander Aprelev
2dd70761f3 Add pkg:smith as a dependency for flutter_frontend_server. (flutter/engine#30903)
* Add pkg:smith as a dependency for flutter_frontend_server.

This is needed to roll dart past b453c6bcba

* Update few more packages that depend on internal dart sdk expect package
2022-01-18 09:26:55 -08:00
George Wright
c859ffd744 Update third-party benchmark library (flutter/engine#29627)
* Roll benchmark to upstream github @ 431abd149fd76a072f821913c0340137cc755f36
Roll buildroot to bfa04ad85fed176aa909f880ef5c8009c945ba03 to get build files for benchmark

* Roll flutter_packages to b1fdbabbe70caa21566f6a815235d624c716ea16

* Add a task name to parse_and_send.dart's call to FlutterDestination.update()
2021-11-10 10:22:34 -08:00
Kaushik Iska
0e1c107c4f Parse the benchmarks on presubmit jobs (flutter/engine#28586) 2021-09-13 13:57:59 -07:00
Zachary Anderson
263c0a9cf9 Clean up upload_metrics.sh (flutter/engine#26329) 2021-05-22 09:06:09 -07:00
Zachary Anderson
ac61a5fea8 Clean up testing/benchmark (flutter/engine#26313) 2021-05-21 09:49:05 -07:00
Yuqian Li
f8860ab806 Upgrade metrics_center (flutter/engine#24185)
So we'll no longer write into the legacy datastore.
2021-02-03 15:52:16 -08:00
Yuqian Li
478675129c Upgrade metrics_center to write into GCS buckets (flutter/engine#24022) 2021-01-29 11:09:51 -08:00
Yuqian Li
6d57116ac3 Migrate to use the published metrics_center (flutter/engine#23767)
This change shouldn't affect anything except for the "Linux benchmarks" LUCI post-submit bot.

We'll closely monitor the LUCI bot to see if this works as intended. If so, we'll continue the migration in Cocoon (https://github.com/flutter/cocoon/pull/1062) to cut the dependency on the old Cocoon datastore and Tong's desktop.

Related issue: https://github.com/flutter/flutter/issues/73872
2021-01-20 09:36:33 -08:00
Yuqian Li
5fbc34bfcf Allow parse_and_send to use access tokens (flutter/engine#22019) 2020-10-28 17:57:03 -07:00
godofredoc
58515d6a7f Add metrics scripts in preparation to move the builder to LUCI. (flutter/engine#22086)
* Add metrics scripts in preparation to move the builder to LUCI.

Bug:
  https://github.com/flutter/flutter/issues/67579

* set -ex to fail scripts inmediately.
2020-10-26 12:49:23 -07:00
vsmenon
a605113c25 opt out dart:ui from nnbd (flutter/engine#16473)
* opt out dart:ui from nnbd

* Annotate tests as well
2020-02-20 11:04:00 -08:00
liyuqian
9be381a891 Run and collect benchmarks (flutter/engine#14556)
This will start to collect engine benchmarks in the flutter-cirrus
Datastore for all post-submit commits.

We're using this to test how https://github.com/liyuqian/metrics_center
works. Once it's stablized, we should move metrics_center into
flutter/packages, and migrate data to flutter-infra Datastore.

Related issue: https://github.com/flutter/flutter/issues/37434
2019-12-23 17:22:01 -08:00