mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
869 B
17 lines
869 B
<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>
|
|
|