Skip to content

Commit 8b102b2

Browse files
authored
[Docs] Update some notes on speed (#19323)
Fixes #19297
1 parent cbc1902 commit 8b102b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/source/docs/optimizing/Optimizing-Code.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ To ensure that compiled code contains enough information for profiling, build yo
245245
Troubleshooting poor performance
246246
================================
247247

248-
Emscripten-compiled code can currently achieve approximately half the speed of a native build. If the performance is significantly poorer than expected, you can also run through the additional troubleshooting steps below:
248+
Emscripten-compiled code can often be close to the speed of a native build. If the performance is significantly poorer than expected, you can also run through the additional troubleshooting steps below:
249249

250250
- :ref:`Building-Projects` is a two-stage process: compiling source code files to LLVM **and** generating JavaScript from LLVM. Did you build using the same optimization values in **both** steps (``-O2`` or ``-O3``)?
251251
- Test on multiple browsers. If performance is acceptable on one browser and significantly poorer on another, then :ref:`file a bug report <bug-reports>`, noting the problem browser and other relevant information.

0 commit comments

Comments
 (0)