forked from svaarala/duktape
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathperformance.html
More file actions
17 lines (14 loc) · 869 Bytes
/
performance.html
File metadata and controls
17 lines (14 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<a name="performance-overview"></a> <!-- for old links -->
<a name="performance-characteristics"></a> <!-- for old links -->
<a name="performance-json-stringify-fastpath"></a> <!-- for old links -->
<h1 id="performance">Performance</h1>
<p>Duktape is an interpreted engine with currently no JIT support. It uses
reference counting which makes memory usage tight at the cost of some execution
performance. Overall Duktape performance should be similar to other interpreted
languages.</p>
<p>See <a href="http://wiki.duktape.org/Performance.html">How to optimize performance</a>
for discussion of Duktape performance characteristics and hints to optimize code
for performance.</p>
<p>Profile guided optimization (PGO) is strongly recommended if performance is
a major concern. For example, GCC -O2 with PGO can be around 20% faster than
GCC -O2 without PGO.</p>