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.
24 lines
688 B
24 lines
688 B
==================================
|
|
Performance sensitive environments
|
|
==================================
|
|
|
|
Overview
|
|
========
|
|
|
|
This document describes suggested feature options for optimizing Duktape
|
|
performance for performance sensitive environments.
|
|
|
|
Suggested feature options
|
|
=========================
|
|
|
|
* On some platforms ``setjmp/longjmp`` store the signal mask and may be
|
|
much slower than alternative like ``_setjmp/_longjmp`` or
|
|
``sigsetjmp/siglongjmp``. Use the long control transfer options to use
|
|
an alternative:
|
|
|
|
- ``DUK_OPT_UNDERSCORE_SETJMP``
|
|
|
|
- ``DUK_OPT_SIGSETJMP``
|
|
|
|
- On some platforms (e.g. OSX/iPhone) Duktape will automatically use
|
|
a faster alternative.
|
|
|