Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
08225fad
Unverified
Commit
08225fad
authored
Jun 04, 2020
by
liyuqian
Committed by
GitHub
Jun 04, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add iOS new gallery perf test (#58648)
parent
8a19145f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
1 deletion
+33
-1
new_gallery_ios__transition_perf.dart
...devicelab/bin/tasks/new_gallery_ios__transition_perf.dart
+25
-0
new_gallery.dart
dev/devicelab/lib/tasks/new_gallery.dart
+1
-1
manifest.yaml
dev/devicelab/manifest.yaml
+7
-0
No files found.
dev/devicelab/bin/tasks/new_gallery_ios__transition_perf.dart
0 → 100644
View file @
08225fad
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:async'
;
import
'dart:io'
;
import
'package:flutter_devicelab/framework/utils.dart'
;
import
'package:flutter_devicelab/tasks/new_gallery.dart'
;
import
'package:flutter_devicelab/framework/adb.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:path/path.dart'
as
path
;
Future
<
void
>
main
()
async
{
deviceOperatingSystem
=
DeviceOperatingSystem
.
ios
;
final
Directory
galleryParentDir
=
Directory
.
systemTemp
.
createTempSync
(
'new_gallery_test'
);
final
Directory
galleryDir
=
Directory
(
path
.
join
(
galleryParentDir
.
path
,
'gallery'
));
try
{
await
task
(
NewGalleryPerfTest
(
galleryDir
).
run
);
}
finally
{
rmTree
(
galleryParentDir
);
}
}
dev/devicelab/lib/tasks/new_gallery.dart
View file @
08225fad
...
...
@@ -19,7 +19,7 @@ class NewGalleryPerfTest extends PerfTest {
// Manually roll the new gallery version for now. If the new gallery repo
// turns out to be updated frequently in the future, we can set up an auto
// roller to update this version.
await
getNewGallery
(
'
c1682ac4b35dc239f023eaf0238a98910b3a2d6c
'
,
galleryDir
);
await
getNewGallery
(
'
62e633b9e9360ee57dafaaeabbb7fbf85e7642d1
'
,
galleryDir
);
return
await
super
.
run
();
}
...
...
dev/devicelab/manifest.yaml
View file @
08225fad
...
...
@@ -765,6 +765,13 @@ tasks:
stage
:
devicelab
required_agent_capabilities
:
[
"
mac/android"
]
new_gallery_ios__transition_perf
:
description
:
>
Measures the performance of screen transitions in the new Flutter Gallery on iOS.
stage
:
devicelab
required_agent_capabilities
:
[
"
mac/ios"
]
flaky
:
true
fast_scroll_large_images__memory
:
description
:
>
Measures memory usage for scrolling through a list of large images.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment