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
79b531db
Commit
79b531db
authored
Dec 21, 2015
by
Hixie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update docs for benchmarks.
parent
e0c24e26
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
README.md
packages/flutter/benchmark/README.md
+8
-4
pubspec.yaml
packages/flutter/pubspec.yaml
+1
-1
No files found.
packages/flutter/benchmark/README.md
View file @
79b531db
...
...
@@ -7,12 +7,16 @@ so benchmarks here are typically run by hand. To run a benchmark:
1.
Build
`sky_shell`
for Linux Release using the instructions in the
[
Engine repository
](
https://github.com/flutter/engine
)
.
2.
Run
`pub get`
in the
`packages/
unit
`
directory.
2.
Run
`pub get`
in the
`packages/
flutter
`
directory.
3.
Run the benchmarks by running the following command from the root
of the flutter repository (replacing
`stocks/layout_bench.dart`
with the path to whichever benchmark you want to run):
of the flutter repository. Replace
`stocks/layout_bench.dart`
with
the path to whichever benchmark you want to run. If you didn't
build the engine in the recommended place, then also update the
path accordingly. If you made changes to sky_services, you'll also
need to update the
`pubspec.yaml`
file to point to that using a
dependency_override.
```
/path/to/engine/src/out/Release/sky_shell packages/unit/benchmark/stocks/layout_bench.dart --package-root=packages/unit
/packages
../engine/src/out/Release/sky_shell packages/flutter/benchmark/stocks/layout_bench.dart --package-root=packages/flutter
/packages
```
packages/flutter/pubspec.yaml
View file @
79b531db
...
...
@@ -26,7 +26,7 @@ dependencies:
dev_dependencies
:
flutter_test
:
path
:
../flutter_test
stocks
:
stocks
:
# for the benchmarks
path
:
../../examples/stocks
environment
:
...
...
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