Jackson Gardner
e8f4d803ba
Improve web benchmarks measurements ( #127900 )
...
By default, the browser fuzzes the timer APIs such that they have a granularity of approximately 100 microseconds (this is due to Spectre mitigation techniques). However, many of the thing we are trying to measure actually have a much finer granularity than 100 microseconds. As a result, many of our benchmarks are extremely noisy and don't provide accurate data.
By serving the initial script files with the `Cross-Origin-Opener-Policy: same-origin` and `Cross-Origin-Embedder-Policy: require-corp` HTTP headers, the browser runs the benchmarks in a `crossOriginIsolated` context, which restores the fine granularity of APIs such as `performance.now()` to microsecond precision.
Also, we were considering anything an outlier that was more than one standard deviation away from the mean. In a normal distribution, that means we are only capturing 68% of the data and the rest are considered outliers. This is not ideal. Doing two standard deviations away captures 95% of the data, and the outliers are in the remaining 5%, which seems much more reasonable.
2023-05-31 02:29:02 +00:00
Mouad Debbar
2d142c5ba2
[web] ui.platformViewRegistry => ui_web.platformViewRegistry ( #127493 )
...
Now that `platformViewRegistry` is [exposed](https://github.com/flutter/engine/pull/41877 ) through `dart:ui_web`, we can do some cleanup here.
Part of https://github.com/flutter/flutter/issues/126831
2023-05-24 23:31:28 +00:00
Phil Quitslund
d0c0439b8d
fixes to anticipate next Dart linter release ( #127211 )
...
The upcoming linter release notices null literals as unnecessary argument values and flags more `type_literal_in_constant_pattern` cases.
See breakages: https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket/8780744067138629361/+/u/analyze_flutter_flutter/stdout
2023-05-19 21:27:24 +00:00
joshualitt
3001d6ab17
Revert "Migrate benchmarks to package:web" ( #127207 )
...
Reverts flutter/flutter#126848
Triggered some kind of measuring discrepancy / performance regression.
2023-05-19 10:20:44 -07:00
joshualitt
4fea3ef588
Migrate benchmarks to package:web ( #126848 )
2023-05-18 14:02:12 -07:00
Mouad Debbar
28f3037758
[web] Use plain platform views in benchmarks ( #126080 )
...
Removing the dependency between web benchmarks and `url_launcher`'s `Link` widget.
2023-05-05 14:17:34 +00:00
Mouad Debbar
0fa15e04ac
[web] Add benchmarks for the Material3 Components screen ( #124354 )
...
[web] Add benchmarks for the Material3 Components screen
2023-04-11 19:59:37 +00:00
Michael Goderbauer
31798757e7
replace some ._() constructors with class modifiers ( #122765 )
2023-03-23 12:29:18 -07:00
Michael Goderbauer
2b4c960885
Remove more references to dart:ui.window ( #120994 )
...
* Remove more references to dart:ui.window
* two more doc referenes
* revert icon_color_test.dart
2023-02-18 01:50:08 +00:00
Michael Goderbauer
b0f1714b7b
Make Flex,Row,Column const for real ( #119673 )
...
* Make Flex,Row,Column const for real
* dart fix --apply
* fix snippets
* fix integration test
* add comment
2023-02-02 19:33:57 +00:00
Michael Goderbauer
54217bd4b1
Remove unnecessary null checks in dev/benchmarks ( #118840 )
...
* Remove unnecessary null checks in dev/benchmarks
* empty
2023-01-20 04:04:11 +00:00
Ian Hickson
9fdb64b7e7
Taboo the word "simply" from our API documentation. ( #116061 )
2022-12-11 22:43:22 +00:00
Dan Field
eaff1562a9
Dispose Paragraph objects ( #110627 )
2022-09-06 20:45:55 +00:00
Kate Lovett
7e12b37111
Deprecate 2018 text theme parameters ( #109817 )
2022-08-22 20:00:34 +00:00
Michael Goderbauer
10a7c9ba22
Unify analysis options ( #108462 )
2022-07-28 09:07:49 -07:00
Alexandre Ardhuin
07f1c20474
add missing trailing commas in list/set/map literals ( #102585 )
2022-04-27 09:15:35 +02:00
Yegor
fb67afd708
[web] fix CanvasKit benchmarks (was corrupted test PNG) ( #100918 )
2022-03-31 16:36:08 -07:00
Michael Goderbauer
ca2d60e8e2
Prepare more of dev for use_super_parameters ( #101073 )
2022-03-30 14:05:05 -07:00
Michael Goderbauer
7f2c1cd772
Use PlatformDispatcher.instance over window where possible ( #99496 )
2022-03-03 14:46:16 -08:00
Ian Hickson
ab89ce285f
Clean up the bindings APIs. ( #89451 )
2022-02-03 14:55:15 -08:00
Harry Terkelsen
03f1d37935
Add a benchmark for a scrolling list of Links ( #94638 )
2022-02-03 14:38:58 -08:00
Mouad Debbar
c2f6a3af91
[web] Stop using web experiments in benchmarks ( #94739 )
2021-12-06 10:14:06 -08:00
Yegor
4dd56df426
[web] add image decoder benchmark ( #93174 )
2021-11-08 15:23:08 -08:00
Riley Porter
ffbf69cccc
Ignore analyzer implict dynamic checks for js_util generic return type ( #92271 )
2021-10-21 10:28:02 -07:00
Ian Hickson
f90b019c68
Enable prefer_relative_imports and fix files. ( #91573 )
2021-10-11 10:28:07 -07:00
Ian Hickson
7b01346c5c
Enable no_default_cases lint ( #91530 )
2021-10-11 10:23:04 -07:00
Ian Hickson
61a0add286
Enable avoid_redundant_argument_values lint ( #91409 ) ( #91462 )
2021-10-08 09:25:14 -07:00
Konstantin Scheglov
ac88d4ba5d
Fix avoid_renaming_method_parameters for pending analyzer change. ( #85482 )
2021-10-08 08:58:05 -07:00
Zachary Anderson
b9d2177da0
Revert "Enable avoid_redundant_argument_values lint ( #91409 )" ( #91461 )
...
This reverts commit 5fd259be244244e14ff87fee9b6a721625f952cd.
2021-10-07 21:11:07 -07:00
Ian Hickson
5fd259be24
Enable avoid_redundant_argument_values lint ( #91409 )
2021-10-07 20:13:02 -07:00
Ren You
3dea9f0251
Revert "Clean up the bindings APIs ( #86438 )" ( #86484 )
...
This reverts commit d056500bfe6a712cdace450d06c4a8fb2290e63a.
2021-07-15 09:29:16 -07:00
Ian Hickson
d056500bfe
Clean up the bindings APIs ( #86438 )
2021-07-14 14:41:24 -07:00
Zachary Anderson
7f741e9181
Revert "Clean up the bindings APIs ( #86388 )" ( #86404 )
...
This reverts commit 31de052e3fddb4909ff88172a6937db7f3dc49db.
2021-07-13 21:32:29 -07:00
Ian Hickson
31de052e3f
Clean up the bindings APIs ( #86388 )
2021-07-13 18:31:11 -07:00
Ian Hickson
c800b9c3e4
Revert "Clean up the bindings APIs ( #83843 )" ( #86386 )
...
This reverts commit e2490f2906060d0aaecbbe34a9240ca3d54ef998.
2021-07-13 15:47:40 -07:00
Ian Hickson
e2490f2906
Clean up the bindings APIs ( #83843 )
2021-07-13 12:41:03 -07:00
Alexandre Ardhuin
80990c21e2
code formatting ( #85783 )
2021-07-07 23:06:05 -07:00
Darren Austin
37bc722339
Migrate dev/benchmarks/macrobenchmarks to null safety. ( #85501 )
2021-06-29 11:49:27 -07:00
Anis Alibegić
c99ed373b3
Fixed large amount of spelling errors ( #83744 )
2021-06-02 10:14:06 -07:00
Yegor
ccada2704c
[web] run all text layout benchmarks in CanvasKit mode ( #83718 )
2021-06-01 13:54:02 -07:00
Michael Goderbauer
b8a2456737
Enable library_private_types_in_public_api lint ( #81578 )
2021-05-10 16:26:16 -07:00
Phil Quitslund
61c30c41b2
fix sort_directives violations ( #80817 )
2021-04-21 13:49:03 -07:00
Michael Goderbauer
0f568298d8
enable use_key_in_widget_constructors lint ( #77032 )
2021-03-02 10:14:02 -08:00
Michael Goderbauer
fc99e7c0d7
Enable missing_whitespace_between_adjacent_strings ( #77027 )
2021-03-01 18:30:17 -08:00
Yegor
5b6444f317
[web] benchmark and optimize defaultTargetPlatform ( #75037 )
2021-02-02 09:34:01 -08:00
Alexandre Ardhuin
d546e1d311
fix for upcoming lint use_named_constants ( #74788 )
2021-01-27 20:20:44 +01:00
Sam Rawlins
6ea2806b71
Remove unnecessary imports ( #74382 )
2021-01-27 10:59:05 -08:00
Ferhat
ebd794a137
[web] Add wrapbox scroll benchmark ( #70966 )
2020-12-02 08:30:42 -08:00
Ian Hickson
6cff33832e
More lints ( #70500 )
2020-11-16 11:07:37 -08:00
Greg Spencer
bbc0161669
Remove references to Window, and switch usages to PlatformDispatcher or SingletonFlutterWindow ( #69617 )
...
* Remove references to dart:ui.Window, and point usages to PlatformDispatcher or SingletonFlutterWindow, as appropriate
* remove new test platform dispatchers
* Amend documentation
2020-11-09 15:26:29 -08:00