Escargot is a lightweight JavaScript engine designed specifically for resource-constrained environments.
  • C++ 91.5%
  • Python 4.1%
  • JavaScript 2%
  • Java 1.7%
  • CMake 0.5%
  • Other 0.2%
Find a file
김승현/Tizen Platform Lab(SR)/Engineer/삼성전자 ee036ce97f Optimize script parser (#173)
* Implement lazy string literal parsing
* Fix bug in Vector

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2018-12-13 10:35:17 +09:00
build Update CMake for arm target (#159) 2018-10-30 18:12:55 +09:00
docs Add draft for Escargot Spec.md 2017-05-24 18:40:39 +09:00
include implement Promise, gc, virtual property, virtual id things 2017-05-25 13:15:38 +09:00
packaging Change default license to LGPL license (#60) 2018-03-07 18:38:28 +09:00
src Optimize script parser (#173) 2018-12-13 10:35:17 +09:00
test Update test submodules to internal repository 2018-10-30 18:12:55 +09:00
third_party Update submodule: GCutil 2018-12-10 17:59:46 +09:00
tools Update cmake build script (#89) 2018-06-01 12:39:12 +09:00
.babelrc Add ecma_6 into spidermonkey vendortest 2017-01-25 13:08:19 +09:00
.clang-format Apply clang-formatting 2016-12-08 14:53:01 +09:00
.gitignore Update CMake for using add_subdirectory feature (#156) 2018-10-30 18:12:55 +09:00
.gitlab-ci.yml Move tools/vendortest to js_vendor_tc (#74) 2018-05-15 09:09:57 +09:00
.gitmodules Update test submodules to internal repository 2018-10-30 18:12:55 +09:00
build_android.sh Improve android build (#49) 2018-01-24 15:42:34 +09:00
build_third_party.sh Optimize AST tree & Script parser Scanner functions (#69) 2018-05-03 07:29:55 +09:00
build_third_party_android.sh Optimize AST tree & Script parser Scanner functions (#69) 2018-05-03 07:29:55 +09:00
build_third_party_android_nothread.sh Optimize AST tree & Script parser Scanner functions (#69) 2018-05-03 07:29:55 +09:00
CMakeLists.txt Update CMake for using add_subdirectory feature (#156) 2018-10-30 18:12:55 +09:00
excludelist.orig.xml 1. fix setting array length bug 2017-01-04 12:35:54 +00:00
LICENSE.Apache-2.0 Change default license to LGPL license (#60) 2018-03-07 18:38:28 +09:00
LICENSE.BSD-2-Clause Change default license to LGPL license (#60) 2018-03-07 18:38:28 +09:00
LICENSE.BSD-3-Clause Change default license to LGPL license (#60) 2018-03-07 18:38:28 +09:00
LICENSE.LGPL-2.1+ Change default license to LGPL license (#60) 2018-03-07 18:38:28 +09:00
LICENSE.MIT Change default license to LGPL license (#60) 2018-03-07 18:38:28 +09:00
LICENSE.MPL-2.0 Change default license to LGPL license (#60) 2018-03-07 18:38:28 +09:00
Makefile Update build script to support: aarch64 and emulators (#153) 2018-09-17 18:33:51 +09:00
MakefileClang Fix std::isnan bug with clang & add safe floating math cxxflags (#72) 2018-05-04 17:21:54 +09:00
package.json Add ecma_6 into spidermonkey vendortest 2017-01-25 13:08:19 +09:00
README.md Update README file (#167) 2018-11-28 16:32:10 +09:00

Escargot

Prerequisites

apt-get install autoconf automake libtool libc++-dev libicu-dev gcc-multilib g++-multilib

Build Escargot

git clone git@github.sec.samsung.net:lws/escargot.git
cd escargot
git submodule update --init third_party
cmake CMakeLists.txt -DESCARGOT_HOST=linux -DESCARGOT_ARCH=x64 -DESCARGOT_MODE=release -DESCARGOT_OUTPUT=bin
make -j

Build options

The following build options are supported when generating Makefile using cmake.

  • -DESCARGOT_HOST=[ linux | tizen_obs ]
    Compile Escargot for either Linux or Tizen platform
  • -DESCARGOT_ARCH=[ x64 | x86 | arm | i686 | aarch64 ]
    Compile Escargot for each architecture
  • -DESCARGOT_MODE=[ debug | release ]
    Compile Escargot for either release or debug mode
  • -DESCARGOT_OUTPUT=[ bin | shared_lib | static_lib ]
    Define target output type

Testing

First, get benchmarks and tests

git submodule update --init

Benchmarks

make run-sunspider-js # Sunspider
make run-octane # Octane
make run-v8-x64 # V8 for x64
make run-chakracore-x64 # Chakracore for x64
make run-test262 # test262

Misc.

CI Infrastructure

http://10.113.64.74:8080/job/escargot2_daily_measure/