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
ec03f1c8
Unverified
Commit
ec03f1c8
authored
Nov 18, 2022
by
Jonah Williams
Committed by
GitHub
Nov 18, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "[devicelab] measure entire release folder size, zipped (#115597)" (#115609)
This reverts commit
75a0a725
.
parent
59a01b64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
perf_tests.dart
dev/devicelab/lib/tasks/perf_tests.dart
+7
-6
No files found.
dev/devicelab/lib/tasks/perf_tests.dart
View file @
ec03f1c8
...
@@ -1513,18 +1513,19 @@ class CompileTest {
...
@@ -1513,18 +1513,19 @@ class CompileTest {
watch
.
start
();
watch
.
start
();
await
flutter
(
'build'
,
options:
options
);
await
flutter
(
'build'
,
options:
options
);
watch
.
stop
();
watch
.
stop
();
final
String
buildPath
=
path
.
join
(
final
String
basename
=
path
.
basename
(
cwd
);
final
String
exePath
=
path
.
join
(
cwd
,
cwd
,
'build'
,
'build'
,
'windows'
,
'windows'
,
'runner'
,
'runner'
,
'release'
,
'release'
,
);
'
$basename
.exe'
);
final
File
exe
=
file
(
exePath
);
// On Windows, we do not produce a single installation package file,
// On Windows, we do not produce a single installation package file,
// rather a directory containing an .exe and .dll files. Zip them all
// rather a directory containing an .exe and .dll files.
// together to get an approximate release size.
// The release size is set to the size of the produced .exe file
await
exec
(
'tar.exe'
,
<
String
>[
'-zcf'
,
'build/app.tar.gz'
,
buildPath
]);
releaseSizeInBytes
=
exe
.
lengthSync
();
releaseSizeInBytes
=
file
(
'build/app.tar.gz'
).
lengthSync
();
break
;
break
;
}
}
...
...
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