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
HyukWoo Park bce02aba5e Add web-tooling-benchmark
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
2023-10-18 11:27:19 +09:00
.ahub/sam Update sam exclude file with comments 2023-04-21 14:47:59 +09:00
.github Update Jenkinsfiles 2023-07-18 16:44:16 +09:00
.jenkins Add arm32 test 2023-07-24 11:17:03 +09:00
build Disable intl modules in default 2023-08-18 19:26:07 +09:00
docs Initial debugger documentation 2021-09-08 18:09:48 +09:00
packaging Implement riscv64 build support 2023-07-24 16:57:25 +09:00
src Disable unsupported debugger keyword message 2023-10-18 11:25:53 +09:00
test Add web-tooling-benchmark 2023-10-18 11:27:19 +09:00
third_party Implement riscv64 build support 2023-07-24 16:57:25 +09:00
tools Add arm32 test 2023-07-24 11:17:03 +09:00
.clang-format Apply clang-formatting 2016-12-08 14:53:01 +09:00
.gitignore Update Jenkinsfiles 2023-07-18 16:44:16 +09:00
.gitmodules Add web-tooling-benchmark 2023-10-18 11:27:19 +09:00
CMakeLists.txt Implement riscv64 build support 2023-07-24 16:57:25 +09:00
LICENSE Update README 2020-08-25 11:38:57 +09: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
README.md Update README 2023-08-18 20:55:12 +09:00
RELEASE_VERSION Implment tizen build of escargot 2023-06-14 12:38:57 +09:00

Try-Catch Version of Escargot (Origin)

Prerequisites

On Ubuntu Linux

General build prerequisites:

sudo apt-get install autoconf automake cmake libtool libicu-dev ninja-build

Prerequisites for x86-64-to-x86 compilation:

sudo apt-get install gcc-multilib g++-multilib
sudo apt-get install libicu-dev:i386

Build Escargot

build core runtime of Escargot engine (excluding intl, temporal etc)

git clone https://github.com/Samsung/escargot.git -b try-catch
cd escargot
git submodule update --init third_party
cmake -H. -Bout/test/release -DESCARGOT_HOST=linux -DESCARGOT_ARCH=[x86|x64|arm|aarch64] -DESCARGOT_MODE=release -DESCARGOT_OUTPUT=shell -DESCARGOT_THREADING=ON -DESCARGOT_TEST=ON -GNinja
ninja -Cout/test/release

Testing

octane

Using test runner

tools/run-tests.py --engine=ESCARGOT_BINARY_PATH octane

Or directly run octane benchmarks

cd test/octane/
./escargot run.js

sunspider

Using test runner

tools/run-tests.py --engine=ESCARGOT_BINARY_PATH sunspider-js

kraken

download kraken benchmark

git clone https://github.com/mozilla-it/krakenbenchmark.mozilla.org.git

run kraken benchmark

cd krakenbenchmark.mozilla.org
./sunspider --shell ESCARGOT_BINARY_PATH --suite kraken-1.1

results would be stored in kraken-1.1-results directory