Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(355)

Side by Side Diff: native_client_sdk/src/doc/reference/nacl-manifest-format.rst

Issue 1059423002: Add PNaCl release note about how to try out Subzero / which flag to set. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 ################################### 1 ###################################
2 Native Client Manifest (nmf) Format 2 Native Client Manifest (nmf) Format
3 ################################### 3 ###################################
4 4
5 .. contents:: 5 .. contents::
6 :local: 6 :local:
7 :backlinks: none 7 :backlinks: none
8 :depth: 2 8 :depth: 2
9 9
10 Overview 10 Overview
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // url is required 70 // url is required
71 "url": "url_to_my_bitcode_bc", 71 "url": "url_to_my_bitcode_bc",
72 72
73 // optlevel is optional 73 // optlevel is optional
74 "optlevel": 0 74 "optlevel": 0
75 } 75 }
76 } 76 }
77 } 77 }
78 } 78 }
79 79
80 .. _pnacl_nmf_optlevels:
81
80 Portable Native Client applications can also specify an ``optlevel`` field. 82 Portable Native Client applications can also specify an ``optlevel`` field.
81 The ``optlevel`` field is an optimization level *hint*, which is a number 83 The ``optlevel`` field is an optimization level *hint*, which is a number
82 (zero and higher). Higher numbers indicate more optimization effort. 84 (zero and higher). Higher numbers indicate more optimization effort.
83 Setting a higher optimization level will improve the application's 85 Setting a higher optimization level will improve the application's
84 performance, but it will also slow down the first load experience. 86 performance, but it will also slow down the first load experience.
85 The default is ``optlevel`` is currently ``2``, and values higher 87 The default is ``optlevel`` is currently ``2``, and values higher
86 than 2 are no different than 2. If compute speed is not as important 88 than 2 are no different than 2. If compute speed is not as important
87 as first load speed, an application could specify an ``optlevel`` 89 as first load speed, an application could specify an ``optlevel``
88 of ``0``. Note that ``optlevel`` is only a *hint*. In the future, the 90 of ``0``. Note that ``optlevel`` is only a *hint*. In the future, the
89 Portable Native Client translator and runtime may *automatically* choose 91 Portable Native Client translator and runtime may *automatically* choose
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 required to load the Native Client application. 267 required to load the Native Client application.
266 268
267 .. _nmf_url_resolution: 269 .. _nmf_url_resolution:
268 270
269 URL resolution 271 URL resolution
270 -------------- 272 --------------
271 273
272 All URLs contained in a manifest are resolved relative to the URL of 274 All URLs contained in a manifest are resolved relative to the URL of
273 the manifest. If the manifest was specified as a data URI, the URLs must 275 the manifest. If the manifest was specified as a data URI, the URLs must
274 all be absolute. 276 all be absolute.
OLDNEW
« no previous file with comments | « native_client_sdk/doc_generated/sdk/release-notes.html ('k') | native_client_sdk/src/doc/sdk/release-notes.rst » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698