Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 48f42732 authored by David Friedman's avatar David Friedman Committed by android-build-merger
Browse files

Merge \"Docs: Performance section\" into nyc-dev

am: a3d9b5c2

Change-Id: Ia694c0b7a7cfc0dac7fce2483ef9c1afa9aaee13
parents 11071539 a3d9b5c2
Loading
Loading
Loading
Loading
+19 −5
Original line number Diff line number Diff line
@@ -799,10 +799,24 @@ redirects:
  to: http://android-developers.blogspot.com/2016/03/first-preview-of-android-n-developer.html
- from: /reference/org/apache/http/...
  to: /about/versions/marshmallow/android-6.0-changes.html#behavior-apache-http-client
- from: /shareables/...
  to: https://commondatastorage.googleapis.com/androiddevelopers/shareables/...
- from: /downloads/...
  to: https://commondatastorage.googleapis.com/androiddevelopers/...
- from: /shareables/
  to: https://commondatastorage.googleapis.com/androiddevelopers/shareables/
- from: /downloads/
  to: https://commondatastorage.googleapis.com/androiddevelopers/
- from: /training/performance/battery/network/action-any-traffic.html
  to: /topic/performance/power/network/action-any-traffic.html
- from: /training/performance/battery/network/action-app-traffic.html
  to: /topic/performance/power/network/action-app-traffic.html
- from: /training/performance/battery/network/action-server-traffic.html
  to: /topic/performance/power/network/action-server-traffic.html
- from: /training/performance/battery/network/action-user-traffic.html
  to: /topic/performance/power/network/action-user-traffic.html
- from: /training/performance/battery/network/analyze-data.html
  to: /topic/performance/power/network/analyze-data.html
- from: /training/performance/battery/network/gather-data.html
  to: /topic/performance/power/network/gather-data.html
- from: /training/performance/battery/network/index.html
  to: /topic/performance/power/network/index.html

# Redirects for the new [dac]/topic/libraries/ area

+67 −0
Original line number Diff line number Diff line
@@ -3613,6 +3613,59 @@ METADATA['en'].extras = METADATA['en'].extras.concat([
    "lang":"en",
    "type":"Video"
  },

  {
    "title":"Android Performance Testing Codelab",
    "titleFriendly":"",
    "summary":"This codelab shows how to create a stable and reusable testing harness to run performance tests on a very simple existing app.",
    "url":"https://codelabs.developers.google.com/codelabs/android-perf-testing/index.html",
    "group":"",
    "keywords": ["testing"],
    "tags": [
    ],
    "image":"images/testing/testing-icon.png",
    "type":"google"
  },

  {
    "title":"Introduction to Doze",
    "category":"android developers",
    "summary":"A new way for the device to preserve battery by entering into an idle state.",
    "url":"https://www.youtube.com/watch?v=N72ksDKrX6c",
    "group":"",
    "keywords": ["android, performance","battery"],
    "tags": ["video, performance"],
    "image":"https://i1.ytimg.com/vi/N72ksDKrX6c/maxresdefault.jpg",
    "lang":"en",
    "type":"develop"
  },

  {
    "title":"Performance Profiling Tools",
    "category":"training",
    "summary":"Take a look under the hood to identify performance bottlenecks.",
    "url":"https://developer.android.com/tools/performance/index.html",
    "group":"",
    "keywords": ["android, performance","profiling"],
    "tags": ["android, performance"],
    "image":"/assets/images/resource-card-default-android.jpg",
    "lang":"en",
    "type":"develop"
  },

  {
    "title":"Managing Your App's Memory",
    "category":"training",
    "summary":"Learn how you can proactively reduce memory usage while developing for Android.",
    "url":"https://developer.android.com/training/articles/memory.html",
    "group":"",
    "keywords": ["android, performance","profiling"],
    "tags": ["android, performance"],
    "image":"/assets/images/resource-card-default-android.jpg",
    "lang":"en",
    "type":"develop"
  },

  {
    "url":"https://www.youtube.com/watch?v=QDM52bblwlg",
    "image": "images/distribute/hero-family-discovery.jpg",
@@ -5379,12 +5432,26 @@ METADATA['en'].collections = {
      "preview/support.html"
    ]
  },

  "preview/landing/videos/first": {
    "title": "",
    "resources": [
    "https://www.youtube.com/watch?v=CsulIu3UaUM"
    ]
  },

  "develop/performance/landing": {
    "title": "",
    "resources": [
      "https://android-developers.blogspot.com/2010/07/multithreading-for-performance.html",
      "https://www.udacity.com/course/ud825",
      "https://www.youtube.com/watch?v=N72ksDKrX6c",
      "https://developer.android.com/tools/performance/index.html",
      "https://codelabs.developers.google.com/codelabs/android-perf-testing/index.html",
      "https://developer.android.com/training/articles/memory.html",
    ]
  },

  "preview/landing/more": {
    "title": "",
    "resources": [
+35 −0
Original line number Diff line number Diff line
toc:
- title: Optimizing Power Consumption
  path: /topic/performance/power/index.html
  section:
  - title: Reducing Network Battery Drain
    path: /topic/performance/power/network/index.html
    path_attributes:
    - name: description
      value: Access the network while going easy on battery life.
    section:
    - title: Collecting Network Traffic Data
      path: /topic/performance/power/network/gather-data.html
    - title: Analyzing Network Traffic Data
      path: /topic/performance/power/network/analyze-data.html
    - title: Optimizing User-Initiated Network Use
      path: /topic/performance/power/network/action-user-traffic.html
    - title: Optimizing Server-Initiated Network Use
      path: /topic/performance/power/network/action-server-traffic.html
    - title: Optimizing General Network Use
      path: /topic/performance/power/network/action-any-traffic.html
  - title: Implementing Doze
    path: /monitoring-device-state/doze-standby.html
    path_attributes:
    - name: description
      value: Help ensure the device isn't depleting the battery when not in use.
- title: Launch-Time Performance
  path: /topic/performance/launch-time.html
- title: Better Performance through Threading
  path: /topic/performance/threads.html
- title: Optimizing View Hierarchies
  path: /topic/performance/optimizing-view-hierarchies.html
- title: Intelligent Job-Scheduling
  path: /topic/performance/scheduling.html
- title: Reducing APK Size
  path: /topic/performance/apk/reduce-apk-size.html
+39 −0
Original line number Diff line number Diff line
page.title=Performance
page.article=true
page.metaDescription=Android Performance does nice things. Details to come.

meta.tags="performance"
page.tags="performance"

@jd:body

<iframe width="448" height="252" src="//www.youtube.com/embed/qk5F6Bxqhr4?utm_source=dac&utm_medium=video&utm_content=andfuntrain&utm_campaign=udacint?rel=0&hd=1" frameborder="0" allowfullscreen style="float: right; margin: 0 0 20px 20px;"></iframe>

<p>Implementing a cool idea is a great start toward an app that delights users,
but it's just the beginning. The next step is maximizing your app's performance.
For example, users want apps that:</p>

<ul>
   <li>Use power sparingly.</li>
   <li>Start up quickly.</li>
   <li>Respond quickly to user interaction.</li>
</ul>

<p>This section provides you with the know-how you need in order to make
your apps not only cool, but also performant. Read on to discover how to
develop apps that are power-thrifty, responsive, efficient, and well-behaved.</p>




<section class="dac-section dac-small" id="latest-games"><div class="wrap">
  <h2 class="norule" style="margin:0 0">More resources</h2>
  <div class="resource-widget resource-flow-layout col-16"
       data-query="collection:develop/performance/landing"
       data-sortOrder="random"
       data-cardSizes="6x6"
       data-maxResults="24"
       data-items-per-page="24"
       data-initial-results="6"></div>
  </div>
</section>
 No newline at end of file
+2289 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading