Compare commits
379 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 493994dd0d | |||
| 9192b862c9 | |||
| d0671c4ff1 | |||
| acdecfc62a | |||
| a13ab0d703 | |||
| c742f27e2d | |||
| 408f081096 | |||
| e834f8d3e7 | |||
| 46809447ae | |||
| 5b86cf113e | |||
| 3731fbf0af | |||
| 09af6e670e | |||
| 93509a57e3 | |||
| 22babb1718 | |||
| 887d06b7a3 | |||
| 9ca5e323bd | |||
| de6dab0e48 | |||
| c2b32a83cd | |||
| c846c4ab73 | |||
| cf87970ef6 | |||
| 2ce27a189a | |||
| f97f82f7be | |||
| dc12458382 | |||
| 41fa2aa172 | |||
| 38bb39e744 | |||
| 204b36ca0b | |||
| 2b3309b8b0 | |||
| 4e6dc2f538 | |||
| 196c4cb17e | |||
| 962807a13f | |||
| 7ff37da735 | |||
| 5380e31139 | |||
| 8ba099d7e4 | |||
| 49c24ca464 | |||
| 5d2b25659d | |||
| 13a04be79c | |||
| 957bd3edcc | |||
| 394e265312 | |||
| 7b0be3cae9 | |||
| 55993b0afa | |||
| be085d866d | |||
| b89c74fd39 | |||
| dd84f11996 | |||
| 15a7d7e9c3 | |||
| 724c3cc930 | |||
| 7dcd1e5e9f | |||
| c19318b057 | |||
| 622f42e0a8 | |||
| 0deac9f81c | |||
| dd9c144f51 | |||
| 89bff5e359 | |||
| ac98c53718 | |||
| 6c67548577 | |||
| 6094bea88d | |||
| 096ae299d2 | |||
| 9d3c20803e | |||
| 5651f16598 | |||
| 1abbe29a66 | |||
| ec7a5418f2 | |||
| bb9da7bee1 | |||
| 0dde589bcb | |||
| 1b74600a09 | |||
| 758fedfae6 | |||
| 8b667fcee7 | |||
| 985a9eedb5 | |||
| 9fcf785a4b | |||
| bedac4c3bc | |||
| b51f765ed1 | |||
| dcaa04afc5 | |||
| 2a019e2274 | |||
| b2335cbb7f | |||
| 865c99258f | |||
| 8388203d27 | |||
| a54fd5ea3c | |||
| 25354431d2 | |||
| bed00f4536 | |||
| dd165d5781 | |||
| bf30ce8e00 | |||
| c52dbc2940 | |||
| c281570720 | |||
| c0978d1a42 | |||
| 6e72dd22fe | |||
| c985963f69 | |||
| 72badce76a | |||
| 12a74134dd | |||
| bc434fca87 | |||
| 238b4666e7 | |||
| 6a0b710916 | |||
| eee6ff12aa | |||
| 10bc42127b | |||
| 2e0a2ea4ae | |||
| 1dd1869ded | |||
| 287a2d1412 | |||
| 92cb1a3434 | |||
| a1f85dd64e | |||
| 357f6bf3f8 | |||
| 8330c15097 | |||
| 60de91eb8c | |||
| 87eba79779 | |||
| 7829448c78 | |||
| 9c60aefca6 | |||
| d4044fcac0 | |||
| 8ab324929a | |||
| 8eef1a9a8f | |||
| 031b313178 | |||
| 6fcc14ff4a | |||
| abc29eee34 | |||
| a3b8bfa9fb | |||
| 007760c3fa | |||
| 8597db659c | |||
| d4e44ebece | |||
| 3ba3ad10e7 | |||
| ce038154fb | |||
| 10e9c4b548 | |||
| 957a19d7cf | |||
| 642359af04 | |||
| 233d10b978 | |||
| b439434d30 | |||
| ce59abad46 | |||
| d7166b3912 | |||
| 2e2f31d30e | |||
| 858c3c3230 | |||
| 453c082b74 | |||
| f685a4aeab | |||
| a68f34df84 | |||
| 96a7c97880 | |||
| 880924a6ed | |||
| 6cef532d03 | |||
| 1adc3d30bc | |||
| 06a332a760 | |||
| 044345a76e | |||
| 3a5e6fa48c | |||
| 7bcdd52b4b | |||
| 42ae379733 | |||
| 6605ede9fb | |||
| d5061bac4d | |||
| 8668db6842 | |||
| ea3e45ac39 | |||
| 31a873a48e | |||
| 76b8c955ea | |||
| c69dc7a156 | |||
| 56167ea54a | |||
| 7463fe667b | |||
| 88e67ef735 | |||
| 101b8bf227 | |||
| d65f23bfd0 | |||
| 02f4de81f5 | |||
| 99be8ab3c8 | |||
| 5966e858ef | |||
| d1f2c84572 | |||
| 06ecca6663 | |||
| 0ee0bace08 | |||
| a26ebb8405 | |||
| fbf94d37e5 | |||
| dfb0700253 | |||
| d9bae736a4 | |||
| ac01ea321e | |||
| 411e301ad2 | |||
| 03b63f6294 | |||
| f98766ea9a | |||
| 93b51bcab4 | |||
| e1d47e3c0d | |||
| ab7f3000fc | |||
| 9a7f60f05f | |||
| 01c7d2ac45 | |||
| f87298c2b0 | |||
| 7ecf99b017 | |||
| e3ebd49eb5 | |||
| 3429d39829 | |||
| 43d11d87c5 | |||
| 5e5634c4cb | |||
| 0771455bbe | |||
| 489d5b163a | |||
| 6ce1c8ff16 | |||
| 21c5dcc11f | |||
| 81fd2655db | |||
| 1ba2f30ae5 | |||
| 193827d4b2 | |||
| 93d3413025 | |||
| 3262452035 | |||
| 6d5be46bdb | |||
| c55e641059 | |||
| 17d8c1af81 | |||
| 860c4e876a | |||
| b4ce04327d | |||
| 6e07d78cc6 | |||
| 6097bcc240 | |||
| 1f38a46eaf | |||
| 1db00fbf60 | |||
| 0f13a86f00 | |||
| 453a7c7941 | |||
| 04d340bd6f | |||
| b2ff3f9691 | |||
| 3f1814be33 | |||
| 656206dc50 | |||
| 6654b30df5 | |||
| de416c464b | |||
| a72b445e9a | |||
| b8e515e3f3 | |||
| 5f14059361 | |||
| 85d4fe5e55 | |||
| a8f57d6358 | |||
| e10fe1f597 | |||
| bedf0f0cb5 | |||
| 03375af44d | |||
| 9a701733a3 | |||
| 4292616cf8 | |||
| b8ca410730 | |||
| 2df8fe93fe | |||
| e7ad8c42a6 | |||
| 5ae131a7cb | |||
| 043088649f | |||
| 876c3873ea | |||
| 6b8e1f0431 | |||
| de089f0dbb | |||
| efa2802b97 | |||
| 62bc5cb612 | |||
| 83a6afbb06 | |||
| 5ebdbb04f6 | |||
| c33e34f0e7 | |||
| 501414adb8 | |||
| cd4a7b6bee | |||
| 82b9ac9815 | |||
| ec337b2c9a | |||
| 827a127b04 | |||
| be9a3c3e60 | |||
| c24c3e9e65 | |||
| f40d6fdece | |||
| 455fc048b5 | |||
| e07ed06a5e | |||
| 5777047573 | |||
| faf673f539 | |||
| 5e9b44d21b | |||
| 97535f8ff2 | |||
| 62f9646099 | |||
| f5a4f99221 | |||
| c759ccd75f | |||
| 5131fbee48 | |||
| 0ae3f0f930 | |||
| ef93d120cc | |||
| 71729f6582 | |||
| 9166d919d9 | |||
| ddab48c104 | |||
| eb9e190be6 | |||
| 4f4fc6325c | |||
| 8c12846a17 | |||
| 9169e1243f | |||
| abf9031527 | |||
| de7839226a | |||
| 621ea5b9ba | |||
| d416895268 | |||
| 732bc19ff7 | |||
| fd6732a4a9 | |||
| 2ca7d745cd | |||
| ab3400cef3 | |||
| fd01adde0f | |||
| b851077d65 | |||
| 250133054f | |||
| 799ae107c6 | |||
| 1d4376b94f | |||
| 187c1d28f1 | |||
| 4d5f4e1afa | |||
| d65c73a44d | |||
| da1855297e | |||
| 2bf9e2dcba | |||
| 6b9860fbc5 | |||
| 6bc6fdd18d | |||
| db73b1c01e | |||
| c8de8d5e49 | |||
| e96afc8826 | |||
| 199dc6704c | |||
| 8f289fc627 | |||
| 2c63fc9d4e | |||
| 122e48c278 | |||
| 80d617ebf2 | |||
| e6a631fcb4 | |||
| 2d0df71d18 | |||
| 12be83ebc5 | |||
| fa0de984fe | |||
| b014667d16 | |||
| a816719a79 | |||
| 8d260a945d | |||
| 7abf005e06 | |||
| 703321007a | |||
| 0049c59d3e | |||
| 89185772c2 | |||
| e3b6faa8bc | |||
| 0351a8b378 | |||
| 565f644e3f | |||
| a167fd4308 | |||
| ab1a558ef5 | |||
| 92768e86c0 | |||
| 34c5750f1c | |||
| 63434ade09 | |||
| 7fc0ebf150 | |||
| 6cf461295f | |||
| e872b6604e | |||
| 6d42af2f3f | |||
| 7401e7061c | |||
| c0075f34c9 | |||
| 5364ba535d | |||
| 4dbbe4efe1 | |||
| b886bd5510 | |||
| f3b9746178 | |||
| c52fd730a3 | |||
| dd0225f16d | |||
| cd95058b27 | |||
| 390d0eb97f | |||
| 3c57f7d99c | |||
| 59ecb5e1df | |||
| fdf5689ca4 | |||
| 4f8991b2d8 | |||
| dd20004d37 | |||
| 0498fced24 | |||
| 63bbec1ba6 | |||
| 5c78637deb | |||
| e772c5c480 | |||
| cfa9ac568a | |||
| 3206a16923 | |||
| 2f9f4dba85 | |||
| 5a4c30bbd4 | |||
| 209b565e55 | |||
| 772d72c073 | |||
| 9b2663a889 | |||
| 18cc78cb69 | |||
| 41ce1eac12 | |||
| fcbed56d94 | |||
| faefc3e5e3 | |||
| 40d0d1b969 | |||
| f133131d9b | |||
| 3486aefa0b | |||
| 51f19b42a0 | |||
| 4344825b96 | |||
| f470c608a2 | |||
| fa3258dfdc | |||
| 99b53fdcbb | |||
| e0c5e10e49 | |||
| 8c5ecfd1d2 | |||
| 86e129d998 | |||
| b44c700fc5 | |||
| 152f07d594 | |||
| 64c33390de | |||
| c80b55b8e8 | |||
| 5cdad993ac | |||
| bbd16d0f4a | |||
| e669531811 | |||
| 841a8dc376 | |||
| 536fedb60c | |||
| 773ad6caeb | |||
| 2e80bad557 | |||
| 26ff4941fd | |||
| e2a2ba91e6 | |||
| fe7cc16c6e | |||
| f8c37a292f | |||
| dd508c8113 | |||
| 7525563eeb | |||
| 8f615e3732 | |||
| d6fb541460 | |||
| 3f842c5099 | |||
| da4db65d1c | |||
| e3cca4df37 | |||
| 07c593199f | |||
| 7b5a6dc624 | |||
| da994e5a7c | |||
| 774a1fac8e | |||
| 8d3ae4f1c5 | |||
| 4ca1c56b3d | |||
| 204d60e5b5 | |||
| 45fa11e195 | |||
| 3929590e13 | |||
| b6b83d7bbc | |||
| c59eefd271 | |||
| 1fca920c56 | |||
| 75a09e911d | |||
| 89b1c33b1d | |||
| 11f4ce78b2 | |||
| 5e9f4cdd8b | |||
| 1c4754088c | |||
| 46ed769c87 |
@@ -1,77 +0,0 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
|
||||
---
|
||||
|
||||
First of all, when reporting a bug, give the issue a descriptive title.
|
||||
|
||||
In the body of the issue, optionally give a free-form text description of the
|
||||
bug. Give the context necessary for others to understand the problem.
|
||||
|
||||
Then, provide information necessary to reproduce the bug.
|
||||
Omit sections that are irrelevant for the bug report, but note that information
|
||||
like git revision, build platform, build command, and test case are required in
|
||||
almost all cases.
|
||||
|
||||
###### JerryScript revision
|
||||
Identify the git hash(es) or tag(s) where the issue was observed.
|
||||
|
||||
###### Build platform
|
||||
Name the build platform. E.g., copy the output of
|
||||
`echo "$(lsb_release -ds) ($(uname -mrs))"` (on Linux),
|
||||
`echo "$(sw_vers -productName) $(sw_vers -productVersion) ($(uname -mrs))"` (on macOS), or
|
||||
`python -c "import platform; print(platform.platform())"` (should work everywhere).
|
||||
|
||||
###### Build steps
|
||||
Describe how to build JerryScript. Give all the necessary details of the build
|
||||
(e.g., environment variables, command(s), profile, command line options, etc.).
|
||||
|
||||
E.g.:
|
||||
```sh
|
||||
tools/build.py --clean --debug
|
||||
```
|
||||
Or:
|
||||
```sh
|
||||
mkdir build && cmake -H. -Bbuild && make -C build
|
||||
```
|
||||
|
||||
Even if the bug was originally observed when JerryScript was integrated into a
|
||||
larger project, try to reproduce it with as few external code as possible,
|
||||
preferably by building the `jerry` command line tool.
|
||||
|
||||
###### Build log
|
||||
Copy the build log if the reported issue is a build problem. Do a verbose build
|
||||
if necessary. Try and trim the log to relevant parts.
|
||||
|
||||
###### Test case
|
||||
Give the JavaScript input that should be passed to the engine to trigger the
|
||||
bug. Try and post a reduced test case that is minimally necessary to reproduce
|
||||
the issue. As a rule of thumb, use Markdown's fenced code block syntax for the
|
||||
test case. Attach the file (renamed to .txt) if the test case contains
|
||||
'problematic' bytes that cannot be copied in the bug report directly.
|
||||
|
||||
###### Execution platform
|
||||
Unnecessary if the same as the build platform.
|
||||
|
||||
###### Execution steps
|
||||
List the steps that trigger the bug.
|
||||
|
||||
E.g., if a bug is snapshot-specific:
|
||||
```sh
|
||||
build/bin/jerry-snapshot generate -o testcase.js.snapshot testcase.js
|
||||
build/bin/jerry --exec-snapshot testcase.js.snapshot
|
||||
```
|
||||
|
||||
Unnecessary if trivial (i.e., `build/bin/jerry testcase.js`).
|
||||
|
||||
###### Output
|
||||
Copy relevant output from the standard output and/or error channels.
|
||||
|
||||
###### Backtrace
|
||||
In case of a crash (assertion failure, etc.), try to copy the backtrace from a
|
||||
debugger at the point of failure.
|
||||
|
||||
###### Expected behavior
|
||||
Describe what should happen instead of current behavior. Unnecessary if trivial
|
||||
(e.g., in case of a crash, the trivial expected behavior is not to crash).
|
||||
@@ -1,19 +0,0 @@
|
||||
**PLEASE REMOVE THIS TEMPLATE BEFORE SUBMITTING**
|
||||
|
||||
Before submitting a PR, please, make sure that:
|
||||
|
||||
- Changes are in a separate branch, not in master.
|
||||
- The branch contains only one commit on top of master (if not, squash them into
|
||||
one commit).
|
||||
- The commit has a descriptive commit message with a concise title (first line).
|
||||
- The commit message contains `fixes #XXXX` or `closes #XXXX` to auto-close the
|
||||
issue(s) that the PR fixes (if any).
|
||||
- Tests for the changes have been added (for bug fixes / features).
|
||||
- Documentation has been added / updated (if applicable).
|
||||
- All new and existing tests passed locally (if not, fix them first and amend
|
||||
the commit).
|
||||
|
||||
IMPORTANT: Please review the CONTRIBUTING.md file for detailed contributing
|
||||
guidelines.
|
||||
|
||||
**PLEASE REMOVE THIS TEMPLATE BEFORE SUBMITTING**
|
||||
+2
-41
@@ -1,41 +1,2 @@
|
||||
# Produced files
|
||||
.mbedignore
|
||||
build/*
|
||||
|
||||
# IDE related files
|
||||
nbproject
|
||||
*.sublime-project
|
||||
*.sublime-workspace
|
||||
.idea
|
||||
|
||||
# Random Trash
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
core
|
||||
vgcore.*
|
||||
*.orig
|
||||
*.directory
|
||||
*.patch
|
||||
.tags*
|
||||
cscope.*
|
||||
__pycache__
|
||||
*.pyc
|
||||
.DS_Store
|
||||
|
||||
# ctags and ID database
|
||||
tags
|
||||
ID
|
||||
|
||||
# targets
|
||||
jerry-targetjs.h
|
||||
.output
|
||||
targets/esp8266/output.map
|
||||
targets/esp8266/libs
|
||||
|
||||
# Generated documentation
|
||||
docs/doxygen
|
||||
|
||||
# Tests
|
||||
tests/test262/
|
||||
.vs
|
||||
_site
|
||||
.sass-cache
|
||||
|
||||
+9
-168
@@ -1,172 +1,13 @@
|
||||
language: c
|
||||
|
||||
# Default environment: Ubuntu Trusty 14.04.
|
||||
os: linux
|
||||
dist: trusty
|
||||
|
||||
# Default job task: run tests as defined in the $OPT environment variable.
|
||||
# Jobs can redefine the 'script' stage in the matrix below.
|
||||
script: tools/run-tests.py $OPTS
|
||||
install:
|
||||
- wget https://raw.githubusercontent.com/${TRAVIS_REPO_SLUG}/master/tools/check-signed-off.sh
|
||||
- chmod u+x check-signed-off.sh
|
||||
script: ./check-signed-off.sh --gh-actions
|
||||
|
||||
# All the job definitions in the matrix.
|
||||
matrix:
|
||||
include:
|
||||
- name: "Checks"
|
||||
install: pip install --user pylint==1.6.5
|
||||
script:
|
||||
- tools/run-tests.py --check-signed-off=travis --check-doxygen --check-vera --check-license --check-magic-strings --check-pylint
|
||||
- travis_wait 40 tools/run-tests.py --check-cppcheck
|
||||
addons:
|
||||
apt:
|
||||
packages: [doxygen, cppcheck, vera++]
|
||||
|
||||
- name: "Linux/x86-64 Build, Correctness & Debugger Tests"
|
||||
env:
|
||||
- OPTS="--quiet --jerry-tests --jerry-test-suite --jerry-debugger"
|
||||
|
||||
- name: "Linux/x86 (cpointer-32bit) Build & Correctness Tests"
|
||||
env:
|
||||
- OPTS="--quiet --jerry-tests --jerry-test-suite --buildoptions=--compile-flag=-m32,--cpointer-32bit=on"
|
||||
addons:
|
||||
apt:
|
||||
packages: [gcc-multilib]
|
||||
|
||||
- name: "Linux/ARM Build & Correctness Tests"
|
||||
env:
|
||||
- OPTS="--quiet --jerry-tests --jerry-test-suite --toolchain=cmake/toolchain_linux_armv7l.cmake --buildoptions=--linker-flag=-static"
|
||||
- RUNTIME=qemu-arm-static
|
||||
- TIMEOUT=300
|
||||
addons:
|
||||
apt:
|
||||
packages: [gcc-arm-linux-gnueabihf, libc6-dev-armhf-cross, qemu-user-static]
|
||||
|
||||
- name: "OSX/x86-64 Build, Correctness & Unit Tests"
|
||||
env:
|
||||
- OPTS="--quiet --jerry-tests --jerry-test-suite --unittests"
|
||||
os: osx
|
||||
addons:
|
||||
homebrew:
|
||||
packages: [cmake, cppcheck, vera++]
|
||||
|
||||
- name: "Build Tests"
|
||||
env:
|
||||
- OPTS="--buildoption-test"
|
||||
addons:
|
||||
apt:
|
||||
packages: [gcc-multilib]
|
||||
|
||||
- name: "Conformance Tests"
|
||||
env:
|
||||
- OPTS="--test262"
|
||||
|
||||
- name: "Unit Tests"
|
||||
env:
|
||||
- OPTS="--unittests"
|
||||
|
||||
- name: "ASAN Tests"
|
||||
env:
|
||||
# Skipping maximum stack usage related tests due to 'detect_stack_use_after_return=1' ASAN option.
|
||||
# For more detailed description: https://github.com/google/sanitizers/wiki/AddressSanitizerUseAfterReturn#compatibility
|
||||
- OPTS="--quiet --jerry-tests --jerry-test-suite --skip-list=parser-oom.js,parser-oom2.js,stack-limit.js,regression-test-issue-2190.js,regression-test-issue-2258-2963.js,regression-test-issue-2448.js,regression-test-issue-2905.js --buildoptions=--stack-limit=0,--compile-flag=-fsanitize=address,--compile-flag=-m32,--compile-flag=-fno-omit-frame-pointer,--compile-flag=-fno-common,--compile-flag=-O2,--debug,--system-allocator=on,--linker-flag=-fuse-ld=gold"
|
||||
- ASAN_OPTIONS=detect_stack_use_after_return=1:check_initialization_order=true:strict_init_order=true
|
||||
- TIMEOUT=600
|
||||
compiler: gcc-5
|
||||
addons:
|
||||
apt:
|
||||
sources: ubuntu-toolchain-r-test
|
||||
packages: [gcc-5, gcc-5-multilib]
|
||||
|
||||
- name: "UBSAN Tests"
|
||||
env:
|
||||
- OPTS="--quiet --jerry-tests --jerry-test-suite --skip-list=parser-oom.js,parser-oom2.js --buildoptions=--compile-flag=-fsanitize=undefined,--compile-flag=-m32,--compile-flag=-fno-omit-frame-pointer,--compile-flag=-fno-common,--debug,--system-allocator=on,--linker-flag=-fuse-ld=gold"
|
||||
- UBSAN_OPTIONS=print_stacktrace=1
|
||||
- TIMEOUT=600
|
||||
compiler: gcc-5
|
||||
addons:
|
||||
apt:
|
||||
sources: ubuntu-toolchain-r-test
|
||||
packages: [gcc-5, gcc-5-multilib]
|
||||
|
||||
- name: "Coverity Scan & SonarQube"
|
||||
env:
|
||||
# Declaration of the encrypted COVERITY_SCAN_TOKEN, created via the
|
||||
# "travis encrypt" command using the project repo's public key.
|
||||
- secure: "V7BdXv3FCVkFGEfKfWto6I+Sytou1zTCGyn49xurkBfKNsG/3vbkXfsbK1m6lCZxmY7W/1odpfjixpAPZgy2L4FgPZK6/UyVvC8pIFjDOubcEniN48haleSvm/ZFPLDifxDL2+VVFtK1oRYPtDBzzSoUCcfwovgk+Wy+tSBnhnyRLqO/WaI6PqFof7ECYMTRlJVjioZARVP4YmkBruIPmGDdR/3EvwowlxfuiFoPheix61ug4x3tpTBW2qWgvFjDyCZXFz4pJrBQPTAIbyKMxHcBykJjl9eR+dWAOsvE1Uw48tFOJxjKDfUttVQUPsyKFllmcCVS0fDYB5pzZOmRUPxJmox1jt8J1FY85Ri1PGY0THBPM2H7to4Yf2418Y3539epbN8p+79dwaM7e2OiJ2owukbWI7PoNqIz5DV5zxpIKsOQfeWuNLJOgsBePEIU7lz133Si/2d5W/7If46B1d+hZRBJfSYksgDqDU6G/voZkPf0K5bKe2O2BxiIW1DYk4yQ1ecZAkqGjZ8jG3zYGMG3mSF4VyuU4UGFG1Pg8fw7Ap5zuHxSVY1H9dtu4T6JQG3aj/x1omlzfw48DjgkwxVhf7Xvl3yfR7pzydYheLX3MZYtcVo7rWnglZFZoUjWDK1StbmzsvPftvwWtoDTWlzo4xeSXhahSJvJyc4U8Wc="
|
||||
addons:
|
||||
coverity_scan:
|
||||
project:
|
||||
name: "jerryscript-project/jerryscript"
|
||||
description: "Ultra-lightweight JavaScript engine for the Internet of Things."
|
||||
notification_email: rsipka.uszeged@partner.samsung.com
|
||||
build_command: "tools/build.py --clean"
|
||||
branch_pattern: master
|
||||
sonarcloud:
|
||||
organization: "jerryscript-project"
|
||||
# Coverity Scan has already built the project by the time 'script' stage is reached.
|
||||
script: tools/check-sonarqube.sh
|
||||
cache:
|
||||
directories:
|
||||
- '${HOME}/.sonar/cache'
|
||||
|
||||
- name: "Mbed OS 5/K64F Build Test"
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- sourceline: ppa:team-gcc-arm-embedded/ppa
|
||||
packages: [gcc-arm-embedded]
|
||||
language: python # NOTE: only way to ensure python>=2.7.10 on Trusty image
|
||||
python: 3.6
|
||||
install: make -f ./targets/mbedos5/Makefile.travis install
|
||||
script: make -f ./targets/mbedos5/Makefile.travis script
|
||||
|
||||
- name: "Zephyr/Arduino 101 Build Test"
|
||||
language: python # NOTE: only way to ensure python>=2.7.10 on Trusty image
|
||||
python: 3.6
|
||||
install: make -f ./targets/zephyr/Makefile.travis install-noapt
|
||||
script: make -f ./targets/zephyr/Makefile.travis script
|
||||
addons:
|
||||
apt:
|
||||
packages: [gperf, dfu-util, device-tree-compiler]
|
||||
|
||||
- name: "NuttX/STM32F4 Build Test"
|
||||
install: make -f targets/nuttx-stm32f4/Makefile.travis install-noapt
|
||||
script: make -f targets/nuttx-stm32f4/Makefile.travis script
|
||||
addons:
|
||||
apt:
|
||||
packages: [gcc-arm-none-eabi, libnewlib-arm-none-eabi, gperf]
|
||||
|
||||
- name: "RIOT/STM32F4 Build Test"
|
||||
install: make -f ./targets/riot-stm32f4/Makefile.travis install-noapt
|
||||
script: make -f ./targets/riot-stm32f4/Makefile.travis script
|
||||
compiler: clang-3.9
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- sourceline: ppa:team-gcc-arm-embedded/ppa
|
||||
packages: [clang-3.9, gcc-arm-embedded, gcc-multilib]
|
||||
|
||||
- name: "ESP8266 Build Test"
|
||||
install: make -f ./targets/esp8266/Makefile.travis install-noapt
|
||||
script: make -f ./targets/esp8266/Makefile.travis script
|
||||
addons:
|
||||
apt:
|
||||
packages: [wget]
|
||||
|
||||
fast_finish: true
|
||||
|
||||
# The channel name "chat.freenode.net#jerryscript"
|
||||
# is encrypted against Samsung/jerryscript
|
||||
# to prevent IRC spam of forks.
|
||||
#
|
||||
# travis encrypt -r "Samsung/jerryscript" "chat.freenode.net#jerryscript"
|
||||
notifications:
|
||||
irc:
|
||||
channels:
|
||||
- secure: "4kML4uZywOPaT3r/bHCvZCeQWooyzZumESmKuHG2Y8/B29WtMBobsoRQZRfOmlUP5kshfjh0Itp5WFpdACiBCoorHch/8z3VT7fIbKF4UnxrAvNiFArqxXC0OWGIu93e7uyyXJCsQ/JiOXU7bD31Mh8LbnfS1z3wBAMXi+AwcaGiVVH4VTL6O8sR3ij5WmsqpECWhyWTgTP3MiLquZ+09Lv9mp5GGciEemq4p8VnaQt2BdyEBmUJJ1EAyMCJlKNObQudegOzYsY3CVON9C87dCuHf7DYstsxb8AzwRAKn8LHiaWhYaWLfvHqoXmc4w1ZgN0HZ5Qyx8KMkZkXKUiHxuCSoXDxNAHWTGQBsTDid5drZeqOFucOHEKJzkqaWSUKUF3pY/hq/h2kjAn230DlBNkJt+ikSxwy6Mm8GG8LnH5gRMl37zHDHrtyRsKR8GIst9B1B95LAOLA5t8U/ucGKXqLsohS8glXaM4jjh69it3GeHj6NhB8NbC/LsmRrhjKzV+VnjPI6gZvN+5tDiuxMbsMal+0DdWVNCst/aO3Jz0iaA5ahyo2ZwBb2efw3CekRLMKmHtnjqB0SWWXT3/t2+5zNoM6gBjo4RPOg7k5eTOXcfk8okWtQ5d3n8UtvZ5rSiDl3rssHwp1yHuuC8rGGov74DLvyDlpM6p/dmtu2o8="
|
||||
on_success: always
|
||||
on_failure: always
|
||||
use_notice: true
|
||||
template:
|
||||
- "%{repository_name} (%{branch}@%{commit}): %{author} - %{commit_subject} [%{result}]"
|
||||
- "Commit: %{compare_url}"
|
||||
- "Build: %{build_url}"
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
- gh-pages
|
||||
- /.*/
|
||||
|
||||
@@ -1,6 +1,16 @@
|
||||
---
|
||||
layout: page
|
||||
title: Getting Started
|
||||
category: navbar
|
||||
permalink: /getting-started/
|
||||
---
|
||||
|
||||
* toc
|
||||
{:toc}
|
||||
|
||||
## Setting up prerequisites
|
||||
|
||||
Currently, only Ubuntu 14.04+ is officially supported as primary development environment.
|
||||
Currently, only Ubuntu 18.04+ is officially supported as primary development environment.
|
||||
|
||||
There are several dependencies, that should be installed manually. The following list is the absolute minimum for building:
|
||||
|
||||
@@ -11,11 +21,11 @@ Several scripts and tools help the building and development process, thus it is
|
||||
|
||||
- `bash` >= `4.3.11`
|
||||
- `cppcheck` >= `1.61`
|
||||
- `vera++` >= `1.2.1`
|
||||
- `clang-format-10` >= `10.0.0`
|
||||
- `python` >= `2.7.6`
|
||||
|
||||
```bash
|
||||
sudo apt-get install gcc gcc-arm-none-eabi cmake cppcheck vera++ python
|
||||
sudo apt-get install gcc gcc-arm-none-eabi cmake cppcheck clang-format-10 python
|
||||
```
|
||||
|
||||
To make our scripts run correctly, several shell utilities should be available on the system:
|
||||
@@ -51,10 +61,10 @@ tools/build.py --debug --logging=on --error-messages=on --line-info=on
|
||||
python tools/build.py --cmake-param=CMAKE_PARAM
|
||||
```
|
||||
|
||||
**Set a profile mode (ES5.1, subset of ES2015, minimal)**
|
||||
**Set a profile mode (es.next, minimal)**
|
||||
|
||||
```bash
|
||||
python tools/build.py --profile=es5.1|es2015-subset|minimal
|
||||
python tools/build.py --profile=es.next|minimal
|
||||
```
|
||||
|
||||
See also the related [README.md](https://github.com/jerryscript-project/jerryscript/blob/master/jerry-core/profiles/README.md).
|
||||
@@ -161,12 +171,6 @@ python tools/run-tests.py --unittests
|
||||
python tools/run-tests.py --jerry-tests
|
||||
```
|
||||
|
||||
**To run jerry-test-suite**
|
||||
|
||||
```bash
|
||||
python tools/run-tests.py --jerry-test-suite
|
||||
```
|
||||
|
||||
**To run signed-off check**
|
||||
|
||||
```bash
|
||||
@@ -179,10 +183,10 @@ python tools/run-tests.py --check-signed-off
|
||||
python tools/run-tests.py --check-cppcheck
|
||||
```
|
||||
|
||||
**To run vera check**
|
||||
**To run format check**
|
||||
|
||||
```bash
|
||||
python tools/run-tests.py --check-vera
|
||||
python tools/run-tests.py --check-format
|
||||
```
|
||||
|
||||
**To get a list of all the available test options**
|
||||
@@ -1,20 +1,33 @@
|
||||
---
|
||||
layout: page
|
||||
title: Configuration
|
||||
category: navbar
|
||||
permalink: /configuration/
|
||||
---
|
||||
|
||||
* toc
|
||||
{:toc}
|
||||
|
||||
# Configuration
|
||||
|
||||
JerryScript provides a large number of configuration options which can be used to enable or disable specific features, allowing users to fine tune the engine to best suit their needs.
|
||||
A configuration option's value can be changed either by providing specific C preprocessor definitions, by adding CMake defininitions, or by using the arguments of the `tools/build.py` script.
|
||||
A configuration option's value can be changed either by providing specific C preprocessor definitions, by adding CMake definitions, or by using the arguments of the `tools/build.py` script.
|
||||
This document lists the available configuration options, shows the configuration name for C, CMake, and python, and provides a brief description that explains the effect of the options.
|
||||
|
||||
|
||||
### All-in-one build
|
||||
### Amalgamated build
|
||||
|
||||
Enables the All-in-one build process, which aggregates the contents of each source file, and uses this combined file to compile the JerryScript library.
|
||||
This process can provide comparable results to link time optimization, and can be useful when LTO is not available otherwise.
|
||||
Enables the amalgamated build process, which aggregates the contents of each source file per library
|
||||
(i.e., JerryScript's core, port, and math libraries), and uses these combined files to compile the project.
|
||||
This process can provide comparable results to link-time optimization, and can be useful when LTO is not available otherwise.
|
||||
|
||||
| Options | |
|
||||
|---------|----------------------------------------------|
|
||||
| C: | `<none>` |
|
||||
| CMake: | `-DENABLE_ALL_IN_ONE=ON/OFF` |
|
||||
| Python: | `--all-in-one=ON/OFF` |
|
||||
| CMake: | `-DENABLE_AMALGAM=ON/OFF` |
|
||||
| Python: | `--amalgam=ON/OFF` |
|
||||
|
||||
See also: [Amalgamated sources](#amalgamated-sources)
|
||||
|
||||
### Jerry debugger
|
||||
|
||||
@@ -41,7 +54,7 @@ that can be used by the debugger to identify the currently executed source conte
|
||||
### Profiles
|
||||
|
||||
This option can be used to enable/disable available JavaScript language features by providing profile files. Profile files contain a list of C definitions that configure each individual feature.
|
||||
The `path` value for CMake and Python arguments should be a file path to the profile file, or one of `es2015-subset`, `es5.1`, or `minimal`, which are the pre-defined profiles.
|
||||
The `path` value for CMake and Python arguments should be a file path to the profile file, or one of `es.next` or `minimal`, which are the pre-defined profiles.
|
||||
To see how a profile file should be created, or what configuration options are available in C, see the profile [README](https://github.com/jerryscript-project/jerryscript/blob/master/jerry-core/profiles/README.md).
|
||||
|
||||
| Options | |
|
||||
@@ -50,6 +63,17 @@ To see how a profile file should be created, or what configuration options are a
|
||||
| CMake: | `-DJERRY_PROFILE="path"` |
|
||||
| Python: | `--profile="path"` |
|
||||
|
||||
### Promise callback
|
||||
|
||||
Enables Promise event notification support. This feature allows setting a user callback, which is called when certain Promise related events occur such as
|
||||
creating a new Promise, resolving a Promise with a value, etc.
|
||||
|
||||
| Options | |
|
||||
|---------|----------------------------------------------|
|
||||
| C: | `-DJERRY_PROMISE_CALLBACK=0/1` |
|
||||
| CMake: | `-DJERRY_PROMISE_CALLBACK=ON/OFF` |
|
||||
| Python: | `--promise-callback=ON/OFF` |
|
||||
|
||||
### External context
|
||||
|
||||
Enables external context support in the engine. By default, JerryScript uses a statically allocated context to store the current state of the engine internals.
|
||||
@@ -136,7 +160,7 @@ Enabling this feature provides detailed error messages where available, like lin
|
||||
| Options | |
|
||||
|---------|----------------------------------------------|
|
||||
| C: | `-DJERRY_ERROR_MESSAGES=0/1` |
|
||||
| CMake: | `--DJERRY_ERROR_MESSAGES=ON/OFF` |
|
||||
| CMake: | `-DJERRY_ERROR_MESSAGES=ON/OFF` |
|
||||
| Python: | `--error-messages=ON/OFF` |
|
||||
|
||||
### Logging
|
||||
@@ -152,7 +176,7 @@ This feature is disabled by default.
|
||||
|
||||
### LCache
|
||||
|
||||
This option enables the LCache, allowing faster access to object properties. The LCache usases a statically allocated hash-map, which increases memory consumption.
|
||||
This option enables the LCache, allowing faster access to object properties. The LCache uses a statically allocated hash-map, which increases memory consumption.
|
||||
See [Internals](04.INTERNALS.md#lcache) for further details.
|
||||
This option is enabled by default.
|
||||
|
||||
@@ -170,13 +194,13 @@ This option is enabled by default.
|
||||
|
||||
| Options | |
|
||||
|---------|----------------------------------------------|
|
||||
| C: | `-DJERRY_PROPRETY_HASHMAP=0/1` |
|
||||
| C: | `-DJERRY_PROPERTY_HASHMAP=0/1` |
|
||||
| CMake: | `<none>` |
|
||||
| Python: | `<none>` |
|
||||
|
||||
### Memory statistics
|
||||
|
||||
This option can be used to provide memory usage statistics either upon engine termination, or during runtime using the `jerry_get_memory_stats` jerry API function.
|
||||
This option can be used to provide memory usage statistics either upon engine termination, or during runtime using the `jerry_heap_stats` jerry API function.
|
||||
The feature can create a significant performance overhead, and should only be used for measurement purposes. This option is disabled by default.
|
||||
|
||||
| Options | |
|
||||
@@ -193,7 +217,7 @@ The default value is 512.
|
||||
| Options | |
|
||||
|---------|----------------------------------------------|
|
||||
| C: | `-DJERRY_GLOBAL_HEAP_SIZE=(int)` |
|
||||
| CMake: | `--DJERRY_GLOBAL_HEAP_SIZE=(int)` |
|
||||
| CMake: | `-DJERRY_GLOBAL_HEAP_SIZE=(int)` |
|
||||
| Python: | `--mem-heap=(int)` |
|
||||
|
||||
### Garbage collection limit
|
||||
@@ -277,26 +301,79 @@ This option is disabled by default.
|
||||
| CMake: | `-DJERRY_MEM_GC_BEFORE_EACH_ALLOC=ON/OFF` |
|
||||
| Python: | `--mem-stress-test=ON/OFF` |
|
||||
|
||||
### MSVC CRT
|
||||
|
||||
# Single source build mode
|
||||
This option enables the use of the MSVC CRT library and is disabled by default.
|
||||
|
||||
There is a special mode to use/"build" JerryScript. That is generating a single C file which can be
|
||||
included into projects quickly. To achive this the following command can be executed to create
|
||||
a set of files into the `gen_src` directory (Note that the command is executed in the jerryscript root directory
|
||||
but can be adapted to run outside of the project root dir):
|
||||
| Options | |
|
||||
|---------|----------------------------------------------|
|
||||
| C: | `<none>` |
|
||||
| CMake: | `-DENABLE_STATIC_CRT=ON/OFF` |
|
||||
| Python: | `--static-crt=ON/OFF` |
|
||||
|
||||
### Architecture
|
||||
|
||||
Specify the platform name if it is supported by the generator.
|
||||
|
||||
| Options | |
|
||||
|---------|----------------------------------------------|
|
||||
| C: | `<none>` |
|
||||
| CMake: | `-A (string)` |
|
||||
| Python: | `--arch=(string)` |
|
||||
|
||||
### Tostring function
|
||||
|
||||
Enable function toString.
|
||||
|
||||
| Options | |
|
||||
|---------|----------------------------------------------|
|
||||
| C: | `-DJERRY_FUNCTION_TO_STRING=0/1` |
|
||||
| CMake: | `-DJERRY_FUNCTION_TO_STRING=ON/OFF` |
|
||||
| Python: | `--function-to-string=ON/OFF` |
|
||||
|
||||
|
||||
### VM throw
|
||||
|
||||
Enable VM throw.
|
||||
|
||||
| Options | |
|
||||
|---------|----------------------------------------------|
|
||||
| C: | `-DJERRY_VM_THROW=0/1` |
|
||||
| CMake: | `-DJERRY_VM_THROW=ON/OFF` |
|
||||
| Python: | `--vm-throw=ON/OFF` |
|
||||
|
||||
|
||||
### Promise callback
|
||||
|
||||
Enable Promise callback.
|
||||
|
||||
| Options | |
|
||||
|---------|----------------------------------------------|
|
||||
| C: | `-DJERRY_PROMISE_CALLBACK=0/1` |
|
||||
| CMake: | `-DJERRY_PROMISE_CALLBACK=ON/OFF` |
|
||||
| Python: | `--promise-callback=ON/OFF` |
|
||||
|
||||
|
||||
# Amalgamated sources
|
||||
|
||||
The sources of JerryScript can be combined into a handful of files to allow their easy integration
|
||||
in other projects. To achieve this, the following command can be executed to create a set of files
|
||||
into the `amalgam` directory:
|
||||
|
||||
```sh
|
||||
$ python tools/srcgenerator.py --output-dir gen_src --jerry-core --jerry-port-default --jerry-libm
|
||||
$ python tools/amalgam.py --output-dir amalgam --jerry-core --jerry-port --jerry-math
|
||||
```
|
||||
|
||||
The command creates the following files in the `gen_src` dir:
|
||||
(Note: In the example above, the command is executed from the project's root directory, but that is
|
||||
not mandatory.)
|
||||
|
||||
The command creates the following files in the `amalgam` dir:
|
||||
|
||||
* `jerryscript.c`
|
||||
* `jerryscript.h`
|
||||
* `jerryscript-config.h`
|
||||
* `jerryscript-port-default.c`
|
||||
* `jerryscript-port-default.h`
|
||||
* `jerryscript-libm.c`
|
||||
* `jerryscript-port.c`
|
||||
* `jerryscript-math.c`
|
||||
* `math.h`
|
||||
|
||||
**Important**: the `jerryscript-config.h` contains the configurations mentioned above and
|
||||
@@ -304,15 +381,15 @@ should be adapted to the required use-case. See the file contents for more detai
|
||||
default configuration. (Note: This config file is created from the the `jerry-core/config.h` file.)
|
||||
|
||||
These files can be directly compiled with an application using the JerryScript API.
|
||||
For example with the following command:
|
||||
E.g., using a command similar to the one below:
|
||||
|
||||
```sh
|
||||
$ gcc -Wall -o demo_app demo_app.c gen_src/jerryscript.c gen_src/jerryscript-port-default.c jerryscript-libm.c -Igen_src/
|
||||
$ gcc -Wall -o demo_app demo_app.c amalgam/jerryscript.c amalgam/jerryscript-port.c amalgam/jerryscript-math.c -Iamalgam/
|
||||
```
|
||||
|
||||
Please note that the headers must be available on the include path.
|
||||
(Note: The headers must be available on the include path.)
|
||||
|
||||
In addition there is a `-DENABLE_ALL_IN_ONE_SOURCE=ON` CMake option to use this kind of sources during the build.
|
||||
This approach is also under the hood of the [amalgamated build](#amalgamated-build) process.
|
||||
|
||||
# Target specific information
|
||||
|
||||
+13674
File diff suppressed because it is too large
Load Diff
+1088
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,15 @@
|
||||
---
|
||||
layout: page
|
||||
title: Internals
|
||||
category: documents
|
||||
permalink: /internals/
|
||||
---
|
||||
|
||||
* toc
|
||||
{:toc}
|
||||
|
||||
# High-Level Design
|
||||

|
||||
{: class="thumbnail center-block img-responsive" }
|
||||
|
||||
The diagram above shows the interactions between the major components of JerryScript: Parser and Virtual Machine (VM). Parser performs translation of input ECMAScript application into the byte-code with the specified format (refer to [Bytecode](#byte-code) and [Parser](#parser) page for details). Prepared bytecode is executed by the Virtual Machine that performs interpretation (refer to [Virtual Machine](#virtual-machine) and [ECMA](#ecma) pages for details).
|
||||
|
||||
@@ -27,7 +37,7 @@ Function `parser_parse_source` carries out the parsing and compiling of the inpu
|
||||
|
||||
The interactions between the major components shown on the following figure.
|
||||
|
||||

|
||||
{: class="thumbnail center-block img-responsive" }
|
||||
|
||||
# Byte-code
|
||||
|
||||
@@ -39,7 +49,7 @@ CBC is a CISC like instruction set which assigns shorter instructions for freque
|
||||
|
||||
The memory layout of the compiled bytecode is the following.
|
||||
|
||||

|
||||
{: class="thumbnail center-block img-responsive" }
|
||||
|
||||
The header is a `cbc_compiled_code` structure with several fields. These fields contain the key properties of the compiled code.
|
||||
|
||||
@@ -51,7 +61,7 @@ CBC instruction list is a sequence of bytecode instructions which represents the
|
||||
|
||||
The memory layout of a byte-code is the following:
|
||||
|
||||

|
||||
{: class="thumbnail center-block img-responsive" }
|
||||
|
||||
Each byte-code starts with an opcode. The opcode is one byte long for frequent and two byte long for rare instructions. The first byte of the rare instructions is always zero (`CBC_EXT_OPCODE`), and the second byte represents the extended opcode. The name of common and rare instructions start with `CBC_` and `CBC_EXT_` prefix respectively.
|
||||
|
||||
@@ -78,7 +88,7 @@ Argument combinations are limited to the following seven forms:
|
||||
## Literals
|
||||
|
||||
Literals are organized into groups whose represent various literal types. Having these groups consuming less space than assigning flag bits to each literal.
|
||||
(In the followings, the mentioned ranges represent those indicies which are greater than or equal to the left side and less than the right side of the range. For example a range between `ident_end` and `literal_end` fields of the byte-code header contains those indicies, which are greater than or equal to `ident_end`
|
||||
(In the followings, the mentioned ranges represent those indices which are greater than or equal to the left side and less than the right side of the range. For example a range between `ident_end` and `literal_end` fields of the byte-code header contains those indices, which are greater than or equal to `ident_end`
|
||||
and less than `literal_end`. If `ident_end` equals to `literal_end` the range is empty.)
|
||||
|
||||
The two major group of literals are _identifiers_ and _values_.
|
||||
@@ -135,26 +145,24 @@ Byte-codes can be placed into four main categories.
|
||||
|
||||
Byte-codes of this category serve for placing objects onto the stack. As there are many instructions representing multiple atomic tasks in CBC, there are also many instructions for pushing objects onto the stack according to the number and the type of the arguments. The following table list a few of these opcodes with a brief description.
|
||||
|
||||
<span class="CSSTableGenerator" markdown="block">
|
||||
<div class="CSSTableGenerator" markdown="block">
|
||||
|
||||
| byte-code | description |
|
||||
| --------------------- | ----------------------------------------------------- |
|
||||
| CBC_PUSH_LITERAL | Pushes the value of the given literal argument. |
|
||||
| CBC_PUSH_TWO_LITERALS | Pushes the values of the given two literal arguments. |
|
||||
| CBC_PUSH_UNDEFINED | Pushes an undefined value. |
|
||||
| CBC_PUSH_TRUE | Pushes a logical true. |
|
||||
| CBC_PUSH_PROP_LITERAL | Pushes a property whose base object is popped from the stack, and the property name is passed as a literal argument. |
|
||||
|
||||
</span>
|
||||
</div>
|
||||
|
||||
### Call Byte-codes
|
||||
|
||||
The byte-codes of this category perform calls in different ways.
|
||||
|
||||
<span class="CSSTableGenerator" markdown="block">
|
||||
<div class="CSSTableGenerator" markdown="block">
|
||||
|
||||
| byte-code | description |
|
||||
| --------------------- | ------------------------------------------------------------------------------------ |
|
||||
| CBC_CALL0 | Calls a function without arguments. The return value won't be pushed onto the stack. |
|
||||
| CBC_CALL1 | Calls a function with one argument. The return value won't be pushed onto the stack. |
|
||||
| CBC_CALL | Calls a function with n arguments. n is passed as a byte argument. The return value won't be pushed onto the stack. |
|
||||
@@ -162,16 +170,15 @@ The byte-codes of this category perform calls in different ways.
|
||||
| CBC_CALL1_PUSH_RESULT | Calls a function with one argument. The return value will be pushed onto the stack. |
|
||||
| CBC_CALL2_PROP | Calls a property function with two arguments. The base object, the property name, and the two arguments are on the stack. |
|
||||
|
||||
</span>
|
||||
</div>
|
||||
|
||||
### Arithmetic, Logical, Bitwise and Assignment Byte-codes
|
||||
|
||||
The opcodes of this category perform arithmetic, logical, bitwise and assignment operations.
|
||||
|
||||
<span class="CSSTableGenerator" markdown="block">
|
||||
<div class="CSSTableGenerator" markdown="block">
|
||||
|
||||
| byte-code | description |
|
||||
| ----------------------- | --------------------------------------------------------------------------------------------------- |
|
||||
| CBC_LOGICAL_NOT | Negates the logical value that popped from the stack. The result is pushed onto the stack. |
|
||||
| CBC_LOGICAL_NOT_LITERAL | Negates the logical value that given in literal argument. The result is pushed onto the stack. |
|
||||
| CBC_ADD | Adds two values that are popped from the stack. The result is pushed onto the stack. |
|
||||
@@ -180,16 +187,15 @@ The opcodes of this category perform arithmetic, logical, bitwise and assignment
|
||||
| CBC_ASSIGN | Assigns a value to a property. It has three arguments: base object, property name, value to assign. |
|
||||
| CBC_ASSIGN_PUSH_RESULT | Assigns a value to a property. It has three arguments: base object, property name, value to assign. The result will be pushed onto the stack. |
|
||||
|
||||
</span>
|
||||
</div>
|
||||
|
||||
### Branch Byte-codes
|
||||
|
||||
Branch byte-codes are used to perform conditional and unconditional jumps in the byte-code. The arguments of these instructions are 1-3 byte long relative offsets. The number of bytes is part of the opcode, so each byte-code with a branch argument has three forms. The direction (forward, backward) is also defined by the opcode since the offset is an unsigned value. Thus, certain branch instructions has six forms. Some examples can be found in the following table.
|
||||
|
||||
<span class="CSSTableGenerator" markdown="block">
|
||||
<div class="CSSTableGenerator" markdown="block">
|
||||
|
||||
| byte-code | description |
|
||||
| -------------------------- | ----------------------------------------------------------- |
|
||||
| CBC_JUMP_FORWARD | Jumps forward by the 1 byte long relative offset argument. |
|
||||
| CBC_JUMP_FORWARD_2 | Jumps forward by the 2 byte long relative offset argument. |
|
||||
| CBC_JUMP_FORWARD_3 | Jumps forward by the 3 byte long relative offset argument. |
|
||||
@@ -198,7 +204,7 @@ Branch byte-codes are used to perform conditional and unconditional jumps in the
|
||||
| CBC_JUMP_BACKWARD_3 | Jumps backward by the 3 byte long relative offset argument. |
|
||||
| CBC_BRANCH_IF_TRUE_FORWARD | Jumps forward if the value on the top of the stack is true by the 1 byte long relative offset argument. |
|
||||
|
||||
</span>
|
||||
</div>
|
||||
|
||||
## Snapshot
|
||||
|
||||
@@ -228,7 +234,7 @@ The major structure for data representation is `ECMA_value`. The lower three bit
|
||||
* symbol
|
||||
* error
|
||||
|
||||

|
||||
{: class="thumbnail center-block img-responsive" }
|
||||
|
||||
In case of number, string and object the value contains an encoded pointer, and
|
||||
simple value is a pre-defined constant which can be:
|
||||
@@ -243,7 +249,7 @@ simple value is a pre-defined constant which can be:
|
||||
|
||||
Compressed pointers were introduced to save heap space.
|
||||
|
||||

|
||||
{: class="thumbnail center-block img-responsive" }
|
||||
|
||||
These pointers are 8 byte aligned 16 bit long pointers which can address 512 Kb of
|
||||
memory which is also the maximum size of the JerryScript heap. To support even more
|
||||
@@ -257,7 +263,7 @@ There are two possible representation of numbers according to standard IEEE 754:
|
||||
The default is 8-byte (double),
|
||||
but the engine supports the 4-byte (single precision) representation by setting JERRY_NUMBER_TYPE_FLOAT64 to 0 as well.
|
||||
|
||||

|
||||
{: class="thumbnail center-block img-responsive" }
|
||||
|
||||
Several references to single allocated number are not supported. Each reference holds its own copy of a number.
|
||||
|
||||
@@ -271,7 +277,7 @@ An object can be a conventional data object or a lexical environment object. Unl
|
||||
|
||||
[Lexical environments](http://www.ecma-international.org/ecma-262/5.1/#sec-10.2) are implemented as objects in JerryScript, since lexical environments contains key-value pairs (called bindings) like objects. This simplifies the implementation and reduces code size.
|
||||
|
||||

|
||||
{: class="thumbnail center-block img-responsive" }
|
||||
|
||||
The objects are represented as following structure:
|
||||
|
||||
@@ -281,10 +287,11 @@ The objects are represented as following structure:
|
||||
|
||||
### Properties of Objects
|
||||
|
||||

|
||||
{: class="thumbnail center-block img-responsive" }
|
||||
|
||||
Objects have a linked list that contains their properties. This list actually contains property pairs, in order to save memory described in the followings:
|
||||
A property is 7 bit long and its type field is 2 bit long which consumes 9 bit which does not fit into 1 byte but consumes 2 bytes. Hence, placing together two properties (14 bit) with the 2 bit long type field fits into 2 bytes.
|
||||
A property has a one byte long descriptor, a two byte long name and four byte long value. Hence 14 bytes consumed by a property pair. Another two bytes is
|
||||
used to show the next property pair, so the total size (16 byte) is divisible by 8.
|
||||
|
||||
#### Property Hashmap
|
||||
|
||||
@@ -312,7 +319,7 @@ Internal properties are special properties that carry meta-information that cann
|
||||
|
||||
LCache is a hashmap for finding a property specified by an object and by a property name. The object-name-property layout of the LCache presents multiple times in a row as it is shown in the figure below.
|
||||
|
||||

|
||||
{: class="thumbnail center-block img-responsive" }
|
||||
|
||||
When a property access occurs, a hash value is extracted from the demanded property name and than this hash is used to index the LCache. After that, in the indexed row the specified object and property name will be searched.
|
||||
|
||||
+286
@@ -0,0 +1,286 @@
|
||||
---
|
||||
layout: page
|
||||
title: Port API
|
||||
category: documents
|
||||
permalink: /port-api/
|
||||
---
|
||||
|
||||
* toc
|
||||
{:toc}
|
||||
|
||||
# Reference
|
||||
|
||||
## Process management
|
||||
|
||||
It is questionable whether a library should be able to terminate an application. Any API function can signal an error (ex.: cannot allocate memory), so the engine use the termination approach with this port function.
|
||||
|
||||
```c
|
||||
/**
|
||||
* Init the program
|
||||
*/
|
||||
void jerry_port_init (void);
|
||||
```
|
||||
|
||||
```c
|
||||
/**
|
||||
* Signal the port that jerry experienced a fatal failure from which it cannot
|
||||
* recover.
|
||||
*
|
||||
* @param code gives the cause of the error.
|
||||
*
|
||||
* Note:
|
||||
* Jerry expects the function not to return.
|
||||
*
|
||||
* Example: a libc-based port may implement this with exit() or abort(), or both.
|
||||
*/
|
||||
void jerry_port_fatal (jerry_fatal_code_t code);
|
||||
```
|
||||
|
||||
Error codes
|
||||
|
||||
```c
|
||||
typedef enum
|
||||
{
|
||||
JERRY_FATAL_OUT_OF_MEMORY = 10,
|
||||
JERRY_FATAL_REF_COUNT_LIMIT = 12,
|
||||
JERRY_FATAL_DISABLED_BYTE_CODE = 13,
|
||||
JERRY_FATAL_UNTERMINATED_GC_LOOPS = 14,
|
||||
JERRY_FATAL_FAILED_ASSERTION = 120
|
||||
} jerry_fatal_code_t;
|
||||
```
|
||||
|
||||
```c
|
||||
/**
|
||||
* Makes the process sleep for a given time.
|
||||
*
|
||||
* Note:
|
||||
* This port function is called by jerry-core when JERRY_DEBUGGER is set to 1.
|
||||
* Otherwise this function is not used.
|
||||
*
|
||||
* @param sleep_time milliseconds to sleep.
|
||||
*/
|
||||
void jerry_port_sleep (uint32_t sleep_time);
|
||||
```
|
||||
|
||||
## External context
|
||||
|
||||
Allows the user to provide external buffer for isolated engine contexts, so that user
|
||||
can configure the heap size at runtime and run multiple JS applications
|
||||
simultaneously.
|
||||
|
||||
```c
|
||||
/**
|
||||
* Allocate a new context for the engine.
|
||||
*
|
||||
* This port function is called by jerry_init when JERRY_EXTERNAL_CONTEXT is enabled. Otherwise this function is not
|
||||
* used. The engine will pass the size required for the context structure. An implementation must make sure to
|
||||
* allocate at least this amount.
|
||||
*
|
||||
* Excess allocated space will be used as the engine heap when jerryscript is configured to use it's internal allocator,
|
||||
* this can be used to control the internal heap size.
|
||||
*
|
||||
* NOTE: The allocated memory must be pointer-aligned, otherwise the behavior is
|
||||
* undefined.
|
||||
*
|
||||
* @param context_size: the size of the internal context structure
|
||||
*
|
||||
* @return total size of the allocated buffer
|
||||
*/
|
||||
size_t jerry_port_context_alloc (size_t context_size);
|
||||
```
|
||||
|
||||
```c
|
||||
/**
|
||||
* Get the currently active context of the engine.
|
||||
*
|
||||
* This port function is called by jerry-core when JERRY_EXTERNAL_CONTEXT is enabled.
|
||||
* Otherwise this function is not used.
|
||||
*
|
||||
* @return the pointer to the currently used engine context.
|
||||
*/
|
||||
struct jerry_context_t *jerry_port_context_get (void);
|
||||
```
|
||||
|
||||
```c
|
||||
/**
|
||||
* Free the currently used context.
|
||||
*
|
||||
* This port function is called by jerry_cleanup when JERRY_EXTERNAL_CONTEXT is enabled.
|
||||
* Otherwise this function is not used.
|
||||
*
|
||||
* @return the pointer to the engine context.
|
||||
*/
|
||||
void jerry_port_context_free (void);
|
||||
```
|
||||
|
||||
## I/O
|
||||
|
||||
```c
|
||||
/**
|
||||
* Display or log a debug/error message.
|
||||
*
|
||||
* The message is passed as a zero-terminated string. Messages may be logged in parts, which
|
||||
* will result in multiple calls to this functions. The implementation should consider
|
||||
* this before appending or prepending strings to the argument.
|
||||
*
|
||||
* This function is called with messages coming from the jerry engine as
|
||||
* the result of some abnormal operation or describing its internal operations
|
||||
* (e.g., data structure dumps or tracing info).
|
||||
*
|
||||
* The implementation can decide whether error and debug messages are logged to
|
||||
* the console, or saved to a database or to a file.
|
||||
*/
|
||||
void jerry_port_log (const char *message_p);
|
||||
```
|
||||
|
||||
```c
|
||||
/**
|
||||
* Print a buffer to standard output
|
||||
*
|
||||
* This port function is never called from jerry-core directly, it is only used by jerry-ext components to print
|
||||
* information.
|
||||
*
|
||||
* @param buffer_p: input buffer
|
||||
* @param buffer_size: data size
|
||||
*/
|
||||
void jerry_port_print_buffer (const jerry_char_t *buffer_p, jerry_size_t buffer_size);
|
||||
```
|
||||
|
||||
```c
|
||||
/**
|
||||
* Read a line from standard input.
|
||||
*
|
||||
* The implementation should allocate storage necessary for the string. The result string should include the ending line
|
||||
* terminator character(s) and should be zero terminated.
|
||||
*
|
||||
* An implementation may return NULL to signal that the end of input is reached, or an error occured.
|
||||
*
|
||||
* When a non-NULL value is returned, the caller will pass the returned value to `jerry_port_line_free` when the line is
|
||||
* no longer needed. This can be used to finalize dynamically allocated buffers if necessary.
|
||||
*
|
||||
* This port function is never called from jerry-core directly, it is only used by some jerry-ext components that
|
||||
* require user input.
|
||||
*
|
||||
* @param out_size_p: size of the input string in bytes, excluding terminating zero byte
|
||||
*
|
||||
* @return pointer to the buffer storing the string,
|
||||
* or NULL if end of input
|
||||
*/
|
||||
jerry_char_t *jerry_port_line_read (jerry_size_t *out_size_p);
|
||||
```
|
||||
|
||||
```c
|
||||
/**
|
||||
* Free a line buffer allocated by jerry_port_line_read
|
||||
*
|
||||
* @param buffer_p: buffer returned by jerry_port_line_read
|
||||
*/
|
||||
void jerry_port_line_free (jerry_char_t *buffer_p);
|
||||
```
|
||||
|
||||
## Filesystem
|
||||
|
||||
```
|
||||
/**
|
||||
* Canonicalize a file path.
|
||||
*
|
||||
* If possible, the implementation should resolve symbolic links and other directory references found in the input path,
|
||||
* and create a fully canonicalized file path as the result.
|
||||
*
|
||||
* The function may return with NULL in case an error is encountered, in which case the calling operation will not
|
||||
* proceed.
|
||||
*
|
||||
* The implementation should allocate storage for the result path as necessary. Non-NULL return values will be passed
|
||||
* to `jerry_port_path_free` when the result is no longer needed by the caller, which can be used to finalize
|
||||
* dynamically allocated buffers.
|
||||
*
|
||||
* NOTE: The implementation must not return directly with the input, as the input buffer is released after the call.
|
||||
*
|
||||
* @param path_p: zero-terminated string containing the input path
|
||||
* @param path_size: size of the input path string in bytes, excluding terminating zero
|
||||
*
|
||||
* @return buffer with the normalized path if the operation is successful,
|
||||
* NULL otherwise
|
||||
*/
|
||||
jerry_char_t *jerry_port_path_normalize (const jerry_char_t *path_p, jerry_size_t path_size);
|
||||
```
|
||||
|
||||
```c
|
||||
/**
|
||||
* Free a path buffer returned by jerry_port_path_normalize.
|
||||
*
|
||||
* @param path_p: the path buffer to free
|
||||
*/
|
||||
void jerry_port_path_free (jerry_char_t *path_p);
|
||||
```
|
||||
|
||||
```c
|
||||
/**
|
||||
* Get the offset of the basename component in the input path.
|
||||
*
|
||||
* The implementation should return the offset of the first character after the last path separator found in the path.
|
||||
* This is used by the caller to split the path into a directory name and a file name.
|
||||
*
|
||||
* @param path_p: input zero-terminated path string
|
||||
*
|
||||
* @return offset of the basename component in the input path
|
||||
*/
|
||||
jerry_size_t jerry_port_path_base (const jerry_char_t *path_p);
|
||||
```
|
||||
|
||||
```c
|
||||
/**
|
||||
* Open a source file and read its contents into a buffer.
|
||||
*
|
||||
* When the source file is no longer needed by the caller, the returned pointer will be passed to
|
||||
* `jerry_port_source_free`, which can be used to finalize the buffer.
|
||||
*
|
||||
* @param file_name_p: Path that points to the source file in the filesystem.
|
||||
* @param out_size_p: The opened file's size in bytes.
|
||||
*
|
||||
* @return pointer to the buffer which contains the content of the file.
|
||||
*/
|
||||
jerry_char_t *jerry_port_source_read (const char *file_name_p, jerry_size_t *out_size_p);
|
||||
```
|
||||
|
||||
```c
|
||||
/**
|
||||
* Free a source file buffer.
|
||||
*
|
||||
* @param buffer_p: buffer returned by jerry_port_source_read
|
||||
*/
|
||||
void jerry_port_source_free (jerry_char_t *buffer_p);
|
||||
```
|
||||
|
||||
## Date
|
||||
|
||||
```c
|
||||
/**
|
||||
* Get local time zone adjustment in milliseconds for the given input time.
|
||||
*
|
||||
* The argument is a time value representing milliseconds since unix epoch.
|
||||
*
|
||||
* Ideally, this function should satisfy the stipulations applied to LocalTZA
|
||||
* in section 21.4.1.7 of the ECMAScript version 12.0, as if called with isUTC true.
|
||||
*
|
||||
* This port function can be called by jerry-core when JERRY_BUILTIN_DATE is enabled.
|
||||
* Otherwise this function is not used.
|
||||
*
|
||||
* @param unix_ms: time value in milliseconds since unix epoch
|
||||
*
|
||||
* @return local time offset in milliseconds applied to UTC for the given time value
|
||||
*/
|
||||
int32_t jerry_port_local_tza (double unix_ms);
|
||||
```
|
||||
|
||||
```c
|
||||
/**
|
||||
* Get the current system time in UTC.
|
||||
*
|
||||
* This port function is called by jerry-core when JERRY_BUILTIN_DATE is enabled.
|
||||
* It can also be used in the implementing application to initialize the random number generator.
|
||||
*
|
||||
* @return milliseconds since Unix epoch
|
||||
*/
|
||||
double jerry_port_current_time (void);
|
||||
```
|
||||
@@ -1,12 +1,22 @@
|
||||
---
|
||||
layout: page
|
||||
title: Reference Counting
|
||||
category: documents
|
||||
permalink: /reference-counting/
|
||||
---
|
||||
|
||||
* toc
|
||||
{:toc}
|
||||
|
||||
## Reference counting in JerryScript
|
||||
|
||||
In JerryScript all `jerry_value_t` values are independent
|
||||
references to internal objects. Values returned by JerryScript
|
||||
API functions are always live references and must be released
|
||||
by `jerry_release_value`.
|
||||
by `jerry_value_free`.
|
||||
|
||||
```c
|
||||
jerry_value_t global = jerry_get_global_object ();
|
||||
jerry_value_t global = jerry_current_realm ();
|
||||
|
||||
/* The value stored in the 'global' variable contains a live
|
||||
* reference to the global object. The system also keeps its
|
||||
@@ -14,9 +24,9 @@ by `jerry_release_value`.
|
||||
* are independent, and both must be destroyed before the global
|
||||
* object can be freed. */
|
||||
|
||||
jerry_release_value (global);
|
||||
jerry_value_free (global);
|
||||
|
||||
/* Without jerry_release_value() the global object will not
|
||||
/* Without jerry_value_free() the global object will not
|
||||
* be freed even by jerry_cleanup(). After the reference
|
||||
* is released it becomes a dead reference and cannot be
|
||||
* used anymore. */
|
||||
@@ -26,15 +36,15 @@ Multiple references might refer to the same internal object
|
||||
even though their `jerry_value_t` representation might be different.
|
||||
|
||||
```c
|
||||
jerry_value_t pi_ref1 = jerry_create_number (3.14);
|
||||
jerry_value_t pi_ref2 = jerry_acquire_value (pi_ref1);
|
||||
jerry_value_t pi_ref1 = jerry_number (3.14);
|
||||
jerry_value_t pi_ref2 = jerry_value_copy (pi_ref1);
|
||||
|
||||
/* Both pi_ref1 and pi_ref2 refer to the same 3.14 value
|
||||
* although they might not be equal in C (pi_ref1 != pi_ref2). */
|
||||
|
||||
/* Both references must be released. */
|
||||
jerry_release_value (pi_ref1);
|
||||
jerry_release_value (pi_ref2);
|
||||
jerry_value_free (pi_ref1);
|
||||
jerry_value_free (pi_ref2);
|
||||
```
|
||||
|
||||
Releasing the same `jerry_value_t` twice to release two live
|
||||
@@ -42,8 +52,8 @@ references is not allowed and it might cause crashes. Hence the
|
||||
following code is an **INCORRECT WAY** of releasing the 3.14 value.
|
||||
|
||||
```c
|
||||
jerry_release_value (pi_ref1);
|
||||
jerry_release_value (pi_ref1);
|
||||
jerry_value_free (pi_ref1);
|
||||
jerry_value_free (pi_ref1);
|
||||
```
|
||||
|
||||
JerryScript API functions returning with a `jerry_value_t` always
|
||||
@@ -53,7 +63,7 @@ stated in the documentation). The next example shows this
|
||||
behaviour through property getting and setting.
|
||||
|
||||
```c
|
||||
jerry_value_t prop_value = jerry_get_property (...);
|
||||
jerry_value_t prop_value = jerry_object_get (...);
|
||||
|
||||
/* The prop_value must be released later because both the base
|
||||
* object and the prop_value have an independent reference to
|
||||
@@ -61,7 +71,7 @@ behaviour through property getting and setting.
|
||||
* prop_value contains a live reference to an error object.
|
||||
* This reference must be released as well. */
|
||||
|
||||
if (jerry_value_is_error (prop_value))
|
||||
if (jerry_value_is_exception (prop_value))
|
||||
{
|
||||
/* Errors can be handled here. */
|
||||
}
|
||||
@@ -73,12 +83,12 @@ behaviour through property getting and setting.
|
||||
}
|
||||
|
||||
/* The prop_value must be released. */
|
||||
jerry_release_value (prop_value);
|
||||
jerry_value_free (prop_value);
|
||||
|
||||
/* Property setting is the same. */
|
||||
|
||||
jerry_value_t new_prop_value = jerry_create_number (2.718);
|
||||
jerry_value_t result = jerry_set_property (..., new_prop_value);
|
||||
jerry_value_t new_prop_value = jerry_number (2.718);
|
||||
jerry_value_t result = jerry_object_set (..., new_prop_value);
|
||||
|
||||
/* If the property set is successful, a new reference is created
|
||||
* for the value referenced by new_prop_value. The new_prop_value
|
||||
@@ -86,14 +96,14 @@ behaviour through property getting and setting.
|
||||
* is successful. */
|
||||
|
||||
/* The new_prop_value can be passed to other JerryScript API
|
||||
* functions before the jerry_release_value () call. */
|
||||
* functions before the jerry_value_free () call. */
|
||||
|
||||
jerry_release_value (new_prop_value);
|
||||
jerry_value_free (new_prop_value);
|
||||
|
||||
/* The reference stored in the 'result' variable is live whether
|
||||
* the operation is successful or not, and must also be freed. */
|
||||
|
||||
if (jerry_value_is_error (result))
|
||||
if (jerry_value_is_exception (result))
|
||||
{
|
||||
/* Errors can be handled here. */
|
||||
}
|
||||
@@ -102,7 +112,7 @@ behaviour through property getting and setting.
|
||||
/* A reference to a true primitive value is returned. */
|
||||
}
|
||||
|
||||
jerry_release_value (result);
|
||||
jerry_value_free (result);
|
||||
```
|
||||
|
||||
The simplest form of setting a property without error checking
|
||||
@@ -110,8 +120,8 @@ is the following:
|
||||
|
||||
```c
|
||||
/* There are no 'ifs' in this snippet. */
|
||||
jerry_release_value (jerry_set_property (..., new_prop_value));
|
||||
jerry_release_value (new_prop_value);
|
||||
jerry_value_free (jerry_object_set (..., new_prop_value));
|
||||
jerry_value_free (new_prop_value);
|
||||
```
|
||||
|
||||
The reference returned by a `jerry_external_handler_t` callback
|
||||
@@ -128,48 +138,48 @@ jerry_value_t my_external_handler (const jerry_value_t function_obj,
|
||||
* these references are automatically released after the handler
|
||||
* is returned. This approach reduces code size which is useful
|
||||
* on embedded systems. However you can create other references
|
||||
* to them by calling jerry_acquire_value () if needed. */
|
||||
* to them by calling jerry_value_copy () if needed. */
|
||||
|
||||
/* Since the ownership of the reference is transferred to the
|
||||
* caller the following snippet is valid. */
|
||||
|
||||
/* If the value to be returned is needed for other purposes the
|
||||
* jerry_acquire_value () can be used to create new references. */
|
||||
return jerry_create_string (...);
|
||||
* jerry_value_copy () can be used to create new references. */
|
||||
return jerry_string (...);
|
||||
}
|
||||
```
|
||||
|
||||
Duplicating a `jerry_value_t` in C does not create another live reference.
|
||||
|
||||
```c
|
||||
jerry_value_t undef = jerry_create_undefined ();
|
||||
jerry_value_t undef = jerry_undefined ();
|
||||
jerry_value_t undef2 = undef;
|
||||
|
||||
/* Releasing either undef or undef2 is valid but not both.
|
||||
* After the release both references become dead (invalid). */
|
||||
jerry_release_value (undef2);
|
||||
jerry_value_free (undef2);
|
||||
|
||||
/* Dead references can be reassigned again. */
|
||||
undef = jerry_create_boolean (true);
|
||||
undef = jerry_boolean (true);
|
||||
```
|
||||
|
||||
References can be duplicated in C as long as only one of them is freed.
|
||||
|
||||
```c
|
||||
jerry_value_t a = jerry_create_boolean (true);
|
||||
jerry_value_t a = jerry_boolean (true);
|
||||
|
||||
jerry_value_t b = a;
|
||||
jerry_value_t c = a;
|
||||
|
||||
/* A new reference is assigned to 'a'. */
|
||||
a = jerry_create_boolean (false);
|
||||
a = jerry_boolean (false);
|
||||
|
||||
[...]
|
||||
|
||||
jerry_release_value (a);
|
||||
jerry_value_free (a);
|
||||
/* The 'a' (boolean false) reference becomes dead (invalid). */
|
||||
|
||||
jerry_release_value (c);
|
||||
jerry_value_free (c);
|
||||
/* Both 'b' and 'c' (boolean true) references become dead. */
|
||||
|
||||
/* Since all references are released, no memory leak occurs. */
|
||||
@@ -1,3 +1,13 @@
|
||||
---
|
||||
layout: page
|
||||
title: Debugger
|
||||
category: documents
|
||||
permalink: /debugger/
|
||||
---
|
||||
|
||||
* toc
|
||||
{:toc}
|
||||
|
||||
## JerryScript debugger interface
|
||||
|
||||
JerryScript provides a remote debugger which allows debugging
|
||||
@@ -74,8 +84,8 @@ Currently, `jerryx_debugger_rp_create ()` for raw packet transport layer and
|
||||
`jerryx_debugger_serial_create (const char* config)` for serial protocol
|
||||
are also available.)
|
||||
|
||||
The resource name provided to `jerry_parse ()` is used by the client
|
||||
to identify the resource name of the source code. This resource name
|
||||
The source name provided to `jerry_parse ()` is used by the client
|
||||
to identify the source name of the source code. This source name
|
||||
is usually a file name.
|
||||
|
||||
## JerryScript debugger C-API interface
|
||||
@@ -97,14 +107,15 @@ when a source code is received successfully.
|
||||
|
||||
```c
|
||||
typedef jerry_value_t
|
||||
(*jerry_debugger_wait_for_source_callback_t) (const jerry_char_t *resource_name_p,
|
||||
size_t resource_name_size,
|
||||
(*jerry_debugger_wait_for_source_callback_t) (const jerry_char_t *source_name_p,
|
||||
size_t source_name_size,
|
||||
const jerry_char_t *source_p,
|
||||
size_t source_size, void *user_p);
|
||||
size_t source_size,
|
||||
void *user_p);
|
||||
```
|
||||
|
||||
- `resource_name_p` - resource (usually a file) name of the source code
|
||||
- `resource_name_size` - size of resource name
|
||||
- `source_name_p` - source (usually a file) name of the source code
|
||||
- `source_name_size` - size of source name
|
||||
- `source_p` - source code character data
|
||||
- `source_size` - size of source code
|
||||
- `user_p` - custom pointer passed to [jerry_debugger_wait_for_client_source](#jerry_debugger_wait_for_client_source)
|
||||
@@ -130,6 +141,8 @@ jerry_debugger_is_connected (void);
|
||||
[doctest]: # (test="link")
|
||||
|
||||
```c
|
||||
#include <stdio.h>
|
||||
|
||||
#include "jerryscript.h"
|
||||
#include "jerryscript-ext/debugger.h"
|
||||
|
||||
@@ -291,7 +304,8 @@ return value of the function.
|
||||
```c
|
||||
jerry_debugger_wait_for_source_status_t
|
||||
jerry_debugger_wait_for_client_source (jerry_debugger_wait_for_source_callback_t callback_p,
|
||||
void *user_p, jerry_value_t *return_value)
|
||||
void *user_p,
|
||||
jerry_value_t *return_value)
|
||||
```
|
||||
|
||||
**Example**
|
||||
@@ -306,25 +320,30 @@ jerry_debugger_wait_for_client_source (jerry_debugger_wait_for_source_callback_t
|
||||
* Runs the source code received by jerry_debugger_wait_for_client_source.
|
||||
*/
|
||||
static jerry_value_t
|
||||
wait_for_source_callback (const jerry_char_t *resource_name_p, /**< resource name */
|
||||
size_t resource_name_size, /**< size of resource name */
|
||||
wait_for_source_callback (const jerry_char_t *source_name_p, /**< source name */
|
||||
size_t source_name_size, /**< size of source name */
|
||||
const jerry_char_t *source_p, /**< source code */
|
||||
size_t source_size, /**< source code size */
|
||||
void *user_p /**< user pointer */)
|
||||
{
|
||||
(void) user_p;
|
||||
|
||||
jerry_value_t ret_val = jerry_parse (resource_name_p,
|
||||
resource_name_size,
|
||||
source_p,
|
||||
source_size,
|
||||
JERRY_PARSE_NO_OPTS);
|
||||
jerry_parse_options_t parse_options;
|
||||
parse_options.options = JERRY_PARSE_HAS_SOURCE_NAME;
|
||||
parse_options.source_name = jerry_string ((const jerry_char_t *) source_name_p,
|
||||
(jerry_size_t) source_name_size,
|
||||
JERRY_ENCODING_UTF8);
|
||||
|
||||
if (!jerry_value_is_error (ret_val))
|
||||
jerry_value_t ret_val = jerry_parse (source_p,
|
||||
source_size,
|
||||
&parse_options);
|
||||
jerry_value_free (parse_options.source_name);
|
||||
|
||||
if (!jerry_value_is_exception (ret_val))
|
||||
{
|
||||
jerry_value_t func_val = ret_val;
|
||||
ret_val = jerry_run (func_val);
|
||||
jerry_release_value (func_val);
|
||||
jerry_value_free (func_val);
|
||||
}
|
||||
|
||||
return ret_val;
|
||||
@@ -352,7 +371,7 @@ main (void)
|
||||
NULL,
|
||||
&run_result);
|
||||
|
||||
jerry_release_value (run_result);
|
||||
jerry_value_free (run_result);
|
||||
}
|
||||
while (receive_status == JERRY_DEBUGGER_SOURCE_RECEIVED);
|
||||
|
||||
@@ -378,7 +397,7 @@ Sends the program's output to the debugger client.
|
||||
|
||||
```c
|
||||
void
|
||||
jerry_debugger_send_output (const jerry_char_t *buffer, jerry_size_t string_size)
|
||||
jerry_debugger_send_output (const jerry_char_t *buffer, jerry_size_t str_size)
|
||||
```
|
||||
|
||||
**Example**
|
||||
@@ -404,40 +423,3 @@ main (void)
|
||||
jerry_cleanup ();
|
||||
}
|
||||
```
|
||||
|
||||
### jerry_debugger_send_log
|
||||
|
||||
**Summary**
|
||||
|
||||
Sends the program's log to the debugger client.
|
||||
|
||||
**Prototype**
|
||||
|
||||
```c
|
||||
void
|
||||
jerry_debugger_send_log (jerry_log_level_t level, const jerry_char_t *buffer, jerry_size_t string_size)
|
||||
```
|
||||
|
||||
**Example**
|
||||
|
||||
[doctest]: # (test="link")
|
||||
|
||||
```c
|
||||
#include "jerryscript.h"
|
||||
#include "jerryscript-ext/debugger.h"
|
||||
|
||||
int
|
||||
main (void)
|
||||
{
|
||||
jerry_init (JERRY_INIT_EMPTY);
|
||||
jerryx_debugger_after_connect (jerryx_debugger_tcp_create (5001)
|
||||
&& jerryx_debugger_ws_create ());
|
||||
|
||||
jerry_char_t my_log[] = "Custom diagnostics";
|
||||
jerry_size_t my_log_size = sizeof (my_log);
|
||||
|
||||
jerry_debugger_send_log (JERRY_LOG_LEVEL_DEBUG, my_log, my_log_size);
|
||||
|
||||
jerry_cleanup ();
|
||||
}
|
||||
```
|
||||
@@ -1,3 +1,13 @@
|
||||
---
|
||||
layout: page
|
||||
title: Coding Standards
|
||||
category: documents
|
||||
permalink: /coding-standards/
|
||||
---
|
||||
|
||||
* toc
|
||||
{:toc}
|
||||
|
||||
# JerryScript Coding Standards
|
||||
|
||||
This text is a brief overview of JerryScript Coding Standards.
|
||||
@@ -12,7 +22,7 @@ review.
|
||||
* Tab characters are not allowed.
|
||||
* Maximum line length is 120 characters (excluding newline).
|
||||
* No trailing white space is allowed.
|
||||
* Run `tools/run-tests.py --check-vera` to check several
|
||||
* Run `tools/run-tests.py --check-format` to check several
|
||||
of the coding conventions automatically.
|
||||
|
||||
## Comments
|
||||
@@ -46,7 +56,7 @@ is doing.
|
||||
|
||||
/* not a complete sentence */
|
||||
|
||||
/* A bad mulitiline
|
||||
/* A bad multiline
|
||||
comment. */
|
||||
```
|
||||
|
||||
@@ -369,7 +379,7 @@ a = 6;
|
||||
|
||||
b = 7;
|
||||
|
||||
/* No newlines are allowed between control staments
|
||||
/* No newlines are allowed between control statements
|
||||
* and their code blocks. */
|
||||
|
||||
if (a > 6)
|
||||
@@ -419,7 +429,7 @@ a=b+c;
|
||||
a = b+c;
|
||||
a += c + ( d );
|
||||
/* Introduce temporary variables or macros
|
||||
* if the expression is too long. Occures rarely.. */
|
||||
* if the expression is too long. Occurs rarely.. */
|
||||
a = b
|
||||
+ c;
|
||||
if ( a + b > 0 )
|
||||
@@ -739,6 +749,12 @@ typedef
|
||||
char wrong_newlines_again_t;
|
||||
```
|
||||
|
||||
### Type usage conventions
|
||||
|
||||
- Passing the number of arguments for a function call is always `uint32_t`
|
||||
- String size/length/position related operation should use `lit_utf8_size_t`
|
||||
- Extended objects internal fields must be `uint32_t`
|
||||
|
||||
## Function declarations
|
||||
|
||||
Function declarations in JerryScript are verbose but this format
|
||||
@@ -1,3 +1,13 @@
|
||||
---
|
||||
layout: page
|
||||
title: 'Extension API: Argument Validation'
|
||||
category: documents
|
||||
permalink: /ext-reference-arg/
|
||||
---
|
||||
|
||||
* toc
|
||||
{:toc}
|
||||
|
||||
# jerryx_arg types
|
||||
|
||||
## jerryx_arg_t
|
||||
@@ -244,7 +254,7 @@ my_external_handler (const jerry_value_t function_obj,
|
||||
mapping,
|
||||
4);
|
||||
|
||||
if (jerry_value_is_error (rv))
|
||||
if (jerry_value_is_exception (rv))
|
||||
{
|
||||
/* Handle error. */
|
||||
return rv;
|
||||
@@ -255,7 +265,7 @@ my_external_handler (const jerry_value_t function_obj,
|
||||
* required_bool, required_str and optional_num can now be used.
|
||||
*/
|
||||
|
||||
return jerry_create_undefined (); /* Or return something more meaningful. */
|
||||
return jerry_undefined (); /* Or return something more meaningful. */
|
||||
}
|
||||
```
|
||||
|
||||
@@ -361,6 +371,28 @@ jerryx_arg_transform_array (const jerry_value_t array_val,
|
||||
|
||||
- [jerryx_arg_array](#jerryx_arg_array)
|
||||
|
||||
## jerryx_arg_transform_optional
|
||||
|
||||
**Summary**
|
||||
|
||||
The common function to deal with optional arguments. The core transform function is provided by argument `func`.
|
||||
|
||||
**Prototype**
|
||||
|
||||
```c
|
||||
jerry_value_t jerryx_arg_transform_optional (jerryx_arg_js_iterator_t *js_arg_iter_p,
|
||||
const jerryx_arg_t *c_arg_p,
|
||||
jerryx_arg_transform_func_t func);
|
||||
```
|
||||
|
||||
- `js_arg_iter_p` - the JS arg iterator.
|
||||
- `c_arg_p` - the native arg.
|
||||
- `func` - the core transform function.
|
||||
- return value - a `jerry_value_t` representing `undefined` if all validators passed or an `Error` if a validator failed.
|
||||
|
||||
**See also**
|
||||
|
||||
- [jerryx_arg_transform_func_t](#jerryx_arg_transform_func_t)
|
||||
|
||||
# Helpers for commonly used validations
|
||||
|
||||
@@ -577,11 +609,11 @@ User should prepare the `jerryx_arg_object_props_t` instance, and pass it to thi
|
||||
|
||||
```c
|
||||
static inline jerryx_arg_t
|
||||
jerryx_arg_object_properties (const jerryx_arg_object_props_t *object_props_p,
|
||||
jerryx_arg_object_properties (const jerryx_arg_object_props_t *obj_prop_p,
|
||||
jerryx_arg_optional_t opt_flag);
|
||||
```
|
||||
- return value - the created `jerryx_arg_t` instance.
|
||||
- `object_props_p` - provides information for properties transform.
|
||||
- `obj_prop_p` - provides information for properties transform.
|
||||
- `opt_flag` - whether the argument is optional.
|
||||
|
||||
**Example**
|
||||
@@ -640,7 +672,7 @@ my_external_handler (const jerry_value_t function_obj,
|
||||
mapping,
|
||||
1);
|
||||
|
||||
if (jerry_value_is_error (rv))
|
||||
if (jerry_value_is_exception (rv))
|
||||
{
|
||||
/* Handle error. */
|
||||
return rv;
|
||||
@@ -651,7 +683,7 @@ my_external_handler (const jerry_value_t function_obj,
|
||||
* required_bool, required_num and optional_num can now be used.
|
||||
*/
|
||||
|
||||
return jerry_create_undefined (); /* Or return something more meaningful. */
|
||||
return jerry_undefined (); /* Or return something more meaningful. */
|
||||
}
|
||||
|
||||
```
|
||||
@@ -731,7 +763,7 @@ my_external_handler (const jerry_value_t function_obj,
|
||||
mapping,
|
||||
1);
|
||||
|
||||
if (jerry_value_is_error (rv))
|
||||
if (jerry_value_is_exception (rv))
|
||||
{
|
||||
/* Handle error. */
|
||||
return rv;
|
||||
@@ -742,7 +774,7 @@ my_external_handler (const jerry_value_t function_obj,
|
||||
* required_bool, required_num and optional_num can now be used.
|
||||
*/
|
||||
|
||||
return jerry_create_undefined (); /* Or return something more meaningful. */
|
||||
return jerry_undefined (); /* Or return something more meaningful. */
|
||||
}
|
||||
|
||||
```
|
||||
@@ -754,6 +786,23 @@ my_external_handler (const jerry_value_t function_obj,
|
||||
|
||||
# Functions to create custom validations
|
||||
|
||||
## jerryx_arg_ignore
|
||||
|
||||
**Summary**
|
||||
|
||||
Create a jerryx_arg_t instance for ignored argument.
|
||||
|
||||
**Prototype**
|
||||
|
||||
```c
|
||||
static inline jerryx_arg_t jerryx_arg_ignore (void);
|
||||
```
|
||||
- return value - the created `jerryx_arg_t` instance.
|
||||
|
||||
**See also**
|
||||
|
||||
- [jerryx_arg_t](#jerryx_arg_t)
|
||||
|
||||
## jerryx_arg_custom
|
||||
|
||||
**Summary**
|
||||
@@ -0,0 +1,417 @@
|
||||
---
|
||||
layout: page
|
||||
title: 'Extension API: External Function Handlers'
|
||||
category: documents
|
||||
permalink: /ext-reference-handler/
|
||||
---
|
||||
|
||||
* toc
|
||||
{:toc}
|
||||
|
||||
# Common methods to handle properties
|
||||
|
||||
The `jerryscript-ext/properties.h` header defines a set of convenience methods
|
||||
which makes the property access a bit straightforward.
|
||||
|
||||
# Utility to register multiple properties in bulk
|
||||
|
||||
In some cases it is useful to register multiple properties for a given object
|
||||
for this the following utility structures and methods are provided.
|
||||
|
||||
## jerryx_property_entry
|
||||
|
||||
**Summary**
|
||||
|
||||
Structure to define an array of properties with `name` and `value` fields which
|
||||
can be registered to a target object.
|
||||
|
||||
The engine must be initialized before specifying the `jerry_value_t` in the struct.
|
||||
|
||||
|
||||
**Prototype**
|
||||
|
||||
```c
|
||||
typedef struct {
|
||||
const char *name;
|
||||
jerry_value_t value;
|
||||
} jerryx_property_entry;
|
||||
```
|
||||
|
||||
**See also**
|
||||
|
||||
- [jerryx_set_properties](#jerryx_set_properties)
|
||||
|
||||
|
||||
## jerryx_register_result
|
||||
|
||||
**Summary**
|
||||
|
||||
Structure returned as the result of the [jerryx_set_properties](#jerryx_set_properties) operation.
|
||||
The `result` field will either be a JavaScript undefined value or an error object.
|
||||
In every case the `registered` field is used to indicated the number of
|
||||
successfully registered methods.
|
||||
|
||||
This must be passed for the [jerryx_release_property_entry](#jerryx_release_property_entry) method
|
||||
after the property registration.
|
||||
|
||||
If any error occurred during the property registration the `result` field of the structure
|
||||
must be manually released after processing the error value.
|
||||
|
||||
**Prototype**
|
||||
|
||||
```c
|
||||
typedef struct {
|
||||
jerry_value_t result;
|
||||
uint32_t registered;
|
||||
} jerryx_register_result;
|
||||
```
|
||||
|
||||
**See also**
|
||||
|
||||
- [jerryx_set_properties](#jerryx_set_properties)
|
||||
- [jerryx_release_property_entry](#jerryx_release_property_entry)
|
||||
|
||||
|
||||
## jerryx_set_properties
|
||||
|
||||
**Summary**
|
||||
|
||||
Set multiple properties on a target object.
|
||||
|
||||
The properties are an array of (name, jerry_value_t) pairs and
|
||||
this list must end with a (NULL, 0) entry.
|
||||
|
||||
Important notes:
|
||||
* Each property value in the input array is released after a successful property registration.
|
||||
* The method [jerryx_release_property_entry](#jerryx_release_property_entry) must be called if there is any failed registration
|
||||
to release the values in the entries array.
|
||||
It is safe to call this cleanup method in every case not just in case of failure.
|
||||
* If the error value is reported via the result it must be freed manually.
|
||||
|
||||
**Prototype**
|
||||
|
||||
```c
|
||||
jerryx_register_result
|
||||
jerryx_set_properties (const jerry_value_t target_object,
|
||||
const jerryx_property_entry entries[]);
|
||||
```
|
||||
|
||||
- `target_object` - object on which the entries will be set.
|
||||
- `entries` - array of (name, jerry_value_t) pairs.
|
||||
- return a [jerryx_register_result](#jerryx_register_result).
|
||||
- if everything is ok, the struct's `result` field is set to a JS undefined value.
|
||||
- otherwise the `result` field is an error object indicating the problem.
|
||||
- in every case the `registered` field contains the number of successfully registered properties.
|
||||
|
||||
**Example**
|
||||
|
||||
[doctest]: # ()
|
||||
|
||||
```c
|
||||
#include <stdio.h>
|
||||
#include "jerryscript.h"
|
||||
#include "jerryscript-ext/handlers.h"
|
||||
#include "jerryscript-ext/properties.h"
|
||||
|
||||
static jerry_value_t
|
||||
handler (const jerry_call_info_t *call_info_p,
|
||||
const jerry_value_t args_p[],
|
||||
const jerry_length_t args_cnt)
|
||||
{
|
||||
printf ("native handler called!\n");
|
||||
|
||||
return jerry_boolean (true);
|
||||
}
|
||||
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
jerry_init (JERRY_INIT_EMPTY);
|
||||
|
||||
jerryx_property_entry methods[] =
|
||||
{
|
||||
{ "demo", jerry_function_external (handler) },
|
||||
{ NULL, 0 },
|
||||
};
|
||||
|
||||
jerry_value_t global = jerry_current_realm ();
|
||||
jerryx_register_result reg = jerryx_set_properties (global, methods);
|
||||
/* if `reg.result` is undefined all methods are registered */
|
||||
if (jerry_value_is_exception (reg.result))
|
||||
{
|
||||
printf ("Only registered %d properties\r\n", reg.registered);
|
||||
/* clean up not registered property values */
|
||||
jerryx_release_property_entry (methods, reg);
|
||||
|
||||
/* clean up the error */
|
||||
jerry_value_free (reg.result);
|
||||
}
|
||||
|
||||
jerry_value_free (global);
|
||||
|
||||
jerry_cleanup();
|
||||
|
||||
return 0;
|
||||
}
|
||||
```
|
||||
|
||||
**Convenience macros**
|
||||
|
||||
To make property registration convenient, there are a set of macros to use
|
||||
when setting a property entry:
|
||||
|
||||
* `JERRYX_PROPERTY_NUMBER(NAME, NUMBER)` - creates a number entry.
|
||||
* `JERRYX_PROPERTY_STRING(NAME, STR, SIZE)` - creates an UTF-8 string entry using `SIZE` bytes from the string.
|
||||
* `JERRYX_PROPERTY_STRING_SZ(NAME, STR)` - creates an ASCII string entry. This string must be zero terminated.
|
||||
* `JERRYX_PROPERTY_BOOLEAN(NAME, VALUE)` - creates a boolean entry.
|
||||
* `JERRYX_PROPERTY_FUNCTION(NAME, NATIVE)` - creates a native C function entry.
|
||||
* `JERRYX_PROPERTY_UNDEFINED(NAME)` - creates an undefined property entry.
|
||||
* `JERRYX_PROPERTY_LIST_END()` - indicates the end of the property list.
|
||||
|
||||
**Example usage of Convenience macros**
|
||||
|
||||
[doctest]: # ()
|
||||
|
||||
```c
|
||||
#include <stdio.h>
|
||||
#include "jerryscript.h"
|
||||
#include "jerryscript-ext/handlers.h"
|
||||
#include "jerryscript-ext/properties.h"
|
||||
|
||||
static jerry_value_t
|
||||
handler (const jerry_call_info_t *call_info_p,
|
||||
const jerry_value_t args_p[],
|
||||
const jerry_length_t args_cnt)
|
||||
{
|
||||
printf ("native handler called!\n");
|
||||
|
||||
return jerry_boolean (true);
|
||||
}
|
||||
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
jerry_init (JERRY_INIT_EMPTY);
|
||||
|
||||
/**
|
||||
* Create a array of properties to be registered.
|
||||
* This must be done after initializing the engine as creating `jerry_value_t`
|
||||
* elements are invalid before `jerry_init`.
|
||||
*/
|
||||
jerryx_property_entry methods[] =
|
||||
{
|
||||
JERRYX_PROPERTY_FUNCTION ("demo", handler),
|
||||
JERRYX_PROPERTY_NUMBER ("test_num", 2.3),
|
||||
JERRYX_PROPERTY_UNDEFINED ("this_is_undefined"),
|
||||
JERRYX_PROPERTY_LIST_END(),
|
||||
};
|
||||
|
||||
jerry_value_t global = jerry_current_realm ();
|
||||
jerryx_register_result reg = jerryx_set_properties (global, methods);
|
||||
/* if `reg.result` is undefined all methods are registered */
|
||||
if (jerry_value_is_exception (reg.result))
|
||||
{
|
||||
printf ("Only registered %d properties\r\n", reg.registered);
|
||||
/* clean up not registered property values */
|
||||
jerryx_release_property_entry (methods, reg);
|
||||
|
||||
/* clean up the error */
|
||||
jerry_value_free (reg.result);
|
||||
}
|
||||
|
||||
jerry_value_free (global);
|
||||
|
||||
jerry_cleanup();
|
||||
|
||||
return 0;
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
**See also**
|
||||
|
||||
- [jerryx_property_entry](#jerryx_property_entry)
|
||||
- [jerryx_release_property_entry](#jerryx_release_property_entry)
|
||||
- [jerryx_register_result](#jerryx_register_result)
|
||||
|
||||
## jerryx_release_property_entry
|
||||
|
||||
**Summary**
|
||||
|
||||
Release all `jerry_value_t` in a `jerryx_property_entry` array based on a previous [jerryx_set_properties](#jerryx_set_properties) call
|
||||
and also the error value (if any) in the `jerryx_register_result` structure.
|
||||
In case of a successful registration it is safe to call this method.
|
||||
|
||||
After the method call the `entries` array should not be used as all values are released.
|
||||
|
||||
**Prototype**
|
||||
|
||||
```
|
||||
void
|
||||
jerryx_release_property_entry (const jerryx_property_entry entries[],
|
||||
const jerryx_register_result register_result);
|
||||
```
|
||||
|
||||
- `entries` - array of [jerryx_property_entry](#jerryx_property_entry).
|
||||
- `register_result` - result of a previous [jerryx_set_properties](#jerryx_set_properties) call.
|
||||
|
||||
**Example**
|
||||
|
||||
For example usage see [jerryx_set_properties](#jerryx_set_properties).
|
||||
|
||||
|
||||
# Common external function handlers
|
||||
|
||||
## jerryx_handler_assert
|
||||
|
||||
**Summary**
|
||||
|
||||
Hard assert for scripts. The routine calls `jerry_port_fatal` on assertion failure.
|
||||
|
||||
If the `JERRY_FEATURE_LINE_INFO` runtime feature is enabled (build option: `JERRY_LINE_INFO`)
|
||||
a backtrace is also printed out.
|
||||
|
||||
**Prototype**
|
||||
|
||||
```c
|
||||
jerry_value_t
|
||||
jerryx_handler_assert (const jerry_call_info_t *call_info_p,
|
||||
const jerry_value_t args_p[],
|
||||
const jerry_length_t args_cnt);
|
||||
```
|
||||
|
||||
- `call_info_p` - pointer to a [jerry_call_info_t](#jerry_call_info_t)
|
||||
structure which holds call related information (unused).
|
||||
- `args_p` - the array of function arguments.
|
||||
- `args_cnt` - the number of function arguments.
|
||||
- return value - `jerry_value_t` representing boolean true, if only one argument
|
||||
was passed and that argument was a boolean true. Note that the function does
|
||||
not return otherwise.
|
||||
|
||||
**See also**
|
||||
|
||||
- [jerryx_register_global](#jerryx_register_global)
|
||||
|
||||
|
||||
## jerryx_handler_gc
|
||||
|
||||
**Summary**
|
||||
|
||||
Expose garbage collector to scripts. If the first argument of the function
|
||||
is logical true, it performs a high pressure gc. Otherwise a low pressure
|
||||
gc is performed, which is also the default if no parameters passed.
|
||||
|
||||
**Prototype**
|
||||
|
||||
```c
|
||||
jerry_value_t
|
||||
jerryx_handler_gc (const jerry_call_info_t *call_info_p,
|
||||
const jerry_value_t args_p[],
|
||||
const jerry_length_t args_cnt);
|
||||
```
|
||||
|
||||
- `call_info_p` - pointer to a [jerry_call_info_t](#jerry_call_info_t)
|
||||
structure which holds call related information (unused).
|
||||
- `args_p` - the array of function arguments (unused).
|
||||
- `args_cnt` - the number of function arguments (unused).
|
||||
- return value - `jerry_value_t` representing `undefined`.
|
||||
|
||||
**See also**
|
||||
|
||||
- [jerryx_register_global](#jerryx_register_global)
|
||||
|
||||
|
||||
## jerryx_handler_print
|
||||
|
||||
**Summary**
|
||||
|
||||
Provide a `print` implementation for scripts. The routine converts all of its
|
||||
arguments to strings and outputs them by using `jerry_port_print_buffer`.
|
||||
The NULL character is output as "\u0000", other characters are output bytewise.
|
||||
|
||||
*Note*: This implementation does not use standard C `printf` to print its
|
||||
output. This allows more flexibility but also extends the core JerryScript
|
||||
engine port API. Applications that want to use `jerryx_handler_print` must
|
||||
ensure that their port implementation also provides
|
||||
`jerry_port_print_buffer`.
|
||||
|
||||
**Prototype**
|
||||
|
||||
```c
|
||||
jerry_value_t
|
||||
jerryx_handler_print (const jerry_call_info_t *call_info_p,
|
||||
const jerry_value_t args_p[],
|
||||
const jerry_length_t args_cnt);
|
||||
```
|
||||
|
||||
- `call_info_p` - pointer to a [jerry_call_info_t](#jerry_call_info_t)
|
||||
structure which holds call related information (unused).
|
||||
- `args_p` - the array of function arguments.
|
||||
- `args_cnt` - the number of function arguments.
|
||||
- return value - `jerry_value_t` representing `undefined` if all arguments could
|
||||
be converted to strings, an `Error` otherwise.
|
||||
|
||||
**See also**
|
||||
|
||||
- [jerryx_register_global](#jerryx_register_global)
|
||||
- [jerry_port_print_buffer](05.PORT-API.md#jerry_port_print_buffer)
|
||||
|
||||
|
||||
# Handler registration helper
|
||||
|
||||
## jerryx_register_global
|
||||
|
||||
**Summary**
|
||||
|
||||
Register a JavaScript function in the global object.
|
||||
|
||||
*Note*: Returned value must be freed with `jerry_value_free`, when it is no
|
||||
longer needed.
|
||||
|
||||
**Prototype**
|
||||
|
||||
```c
|
||||
jerry_value_t
|
||||
jerryx_register_global (const char *name_p,
|
||||
jerry_external_handler_t handler_p);
|
||||
```
|
||||
|
||||
- `name_p` - the name of the function to be registered.
|
||||
- `handler_p` - the address of the external function handler.
|
||||
- return value - `jerry_value_t` representing boolean true, if the operation was
|
||||
successful, an `Error` otherwise.
|
||||
|
||||
**Example**
|
||||
|
||||
[doctest]: # (test="compile")
|
||||
|
||||
```c
|
||||
#include "jerryscript.h"
|
||||
#include "jerryscript-ext/handlers.h"
|
||||
#include "jerryscript-ext/properties.h"
|
||||
|
||||
static const struct {
|
||||
const char *name_p;
|
||||
jerry_external_handler_t handler_p;
|
||||
} common_functions[] =
|
||||
{
|
||||
{ "assert", jerryx_handler_assert },
|
||||
{ "gc", jerryx_handler_gc },
|
||||
{ "print", jerryx_handler_print },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
|
||||
static void
|
||||
register_common_functions (void)
|
||||
{
|
||||
jerry_value_t ret = jerry_undefined ();
|
||||
|
||||
for (int i = 0; common_functions[i].name_p != NULL && !jerry_value_is_exception (ret); i++)
|
||||
{
|
||||
ret = jerryx_register_global (common_functions[i].name_p,
|
||||
common_functions[i].handler_p);
|
||||
}
|
||||
|
||||
jerry_value_free (ret);
|
||||
}
|
||||
```
|
||||
@@ -0,0 +1,60 @@
|
||||
---
|
||||
layout: page
|
||||
title: 'Extension API: Autorelease Values'
|
||||
category: documents
|
||||
permalink: /ext-reference-autorelease/
|
||||
---
|
||||
|
||||
* toc
|
||||
{:toc}
|
||||
|
||||
# Autorelease values
|
||||
|
||||
## JERRYX_AR_VALUE_T
|
||||
|
||||
**Summary**
|
||||
|
||||
Macro for `const jerry_value_t` for which jerry_value_free() is
|
||||
automatically called when the variable goes out of scope.
|
||||
|
||||
*Note*: The macro depends on compiler support. For GCC and LLVM/clang, the macro is implemented
|
||||
using the `__cleanup__` variable attribute. For other compilers, no support has been added yet.
|
||||
|
||||
**Example**
|
||||
|
||||
[doctest]: # (test="compile", name="11.EXT-REFERENCE-AUTORELEASE.c")
|
||||
|
||||
```c
|
||||
#include "jerryscript.h"
|
||||
#include "jerryscript-ext/autorelease.h"
|
||||
|
||||
static void
|
||||
foo (bool enable)
|
||||
{
|
||||
JERRYX_AR_VALUE_T bar = jerry_string_sz ("...");
|
||||
|
||||
if (enable)
|
||||
{
|
||||
JERRYX_AR_VALUE_T baz = jerry_current_realm ();
|
||||
|
||||
/* bar and baz can now be used. */
|
||||
|
||||
/*
|
||||
* jerry_value_free (baz) and jerry_value_free (bar) is called automatically before
|
||||
* returning, because `baz` and `bar` go out of scope.
|
||||
*/
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* jerry_value_free (bar) is called automatically when the function returns,
|
||||
* because `bar` goes out of scope.
|
||||
*/
|
||||
}
|
||||
```
|
||||
|
||||
**See also**
|
||||
|
||||
- [jerry_value_t](../api-reference#jerry_value_t)
|
||||
- [jerry_value_copy](../api-reference#jerry_value_copy)
|
||||
- [jerry_value_free](../api-reference#jerry_value_free)
|
||||
@@ -1,3 +1,13 @@
|
||||
---
|
||||
layout: page
|
||||
title: 'Extension API: Module Support'
|
||||
category: documents
|
||||
permalink: /ext-reference-module/
|
||||
---
|
||||
|
||||
* toc
|
||||
{:toc}
|
||||
|
||||
# Module API
|
||||
|
||||
This is a JerryScript extension that provides a means of loading modules. Fundamentally, a module is a name (stored as
|
||||
@@ -37,8 +47,8 @@ resolved using the native JerryScript module resolver `jerryx_module_native_reso
|
||||
`jerryx_module_resolve()`. Native modules are registered during application startup and by calling `dlopen()` by means
|
||||
of library constructors, support for which can be turned on using the `FEATURE_INIT_FINI` build flag. In the absence of
|
||||
such a flag, the module registration and unregistration functions are exposed as global symbols which can be called
|
||||
explicitly. Note: `FEATURE_INIT_FINI` build flag isn't supported on Windows, because Microsoft Visual C/C++ Compiler
|
||||
doesn't support library constructors and destructors.
|
||||
explicitly. Note: On windows, `FEATURE_INIT_FINI` build flag only supported with GNU toolchain or Microsoft Visual C/C++ Compiler
|
||||
2008 and upper.
|
||||
|
||||
## jerryx_module_resolve
|
||||
|
||||
@@ -63,7 +73,7 @@ to `jerryx_module_resolve` with a module name whose canonical name matches an al
|
||||
```c
|
||||
jerry_value_t
|
||||
jerryx_module_resolve (const jerry_value_t name,
|
||||
const jerryx_module_resolver_t *resolvers_p,
|
||||
const jerryx_module_resolver_t **resolvers_p,
|
||||
size_t resolver_count);
|
||||
```
|
||||
|
||||
@@ -84,7 +94,7 @@ Remove a module from the current context's cache, or clear the cache entirely.
|
||||
```c
|
||||
void
|
||||
jerryx_module_clear_cache (const jerry_value_t name,
|
||||
const jerryx_module_resolver_t *resolvers_p,
|
||||
const jerryx_module_resolver_t **resolvers_p,
|
||||
size_t resolver_count);
|
||||
```
|
||||
|
||||
@@ -164,9 +174,9 @@ load_and_evaluate_js_file (const jerry_value_t name, jerry_value_t *result)
|
||||
char *js_file_contents = NULL;
|
||||
int file_size = 0;
|
||||
|
||||
jerry_size_t name_size = jerry_get_utf8_string_size (name);
|
||||
jerry_size_t name_size = jerry_string_size (name, JERRY_ENCODING_UTF8);
|
||||
jerry_char_t name_string[name_size + 1];
|
||||
jerry_string_to_utf8_char_buffer (name, name_string, name_size);
|
||||
jerry_string_to_buffer (name, JERRY_ENCODING_UTF8, name_string, name_size);
|
||||
name_string[name_size] = 0;
|
||||
|
||||
FILE *js_file = fopen (name_string, "r");
|
||||
@@ -205,7 +215,7 @@ canonicalize_file_path (const jerry_value_t name)
|
||||
/**
|
||||
* Since a file on the file system can be referred to by multiple relative paths, but only by one absolute path, the
|
||||
* absolute path becomes the canonical name for the module. Thus, to establish this canonical name, we must search
|
||||
* name for "./" and "../", follow symlinks, etc., then create absolute_path via jerry_create_string () and return
|
||||
* name for "./" and "../", follow symlinks, etc., then create absolute_path via jerry_string () and return
|
||||
* it, because it is the canonical name for this module. Thus, we avoid loading the same JavaScript file twice.
|
||||
*/
|
||||
|
||||
@@ -257,7 +267,7 @@ symbols so that they may be called explicitly from within the application.
|
||||
#define JERRYX_NATIVE_MODULE(module_name, on_resolve_cb)
|
||||
```
|
||||
|
||||
- `module_name` - the name of the module without quotes. This value is used as the prefix for the registration and unregistration funtions. For example, when `module_name` is `example_module`, this results in the declaration of two functions `example_module_register()` and `example_module_unregister()`. These functions are declared global if support for library constructors/destructors is absent, allowing you to call them from other parts of the code by
|
||||
- `module_name` - the name of the module without quotes. This value is used as the prefix for the registration and unregistration functions. For example, when `module_name` is `example_module`, this results in the declaration of two functions `example_module_register()` and `example_module_unregister()`. These functions are declared global if support for library constructors/destructors is absent, allowing you to call them from other parts of the code by
|
||||
first forward-declaring them.
|
||||
- `on_resolve_cb` - the function of type `jerryx_native_module_on_resolve_t` that will be called when the module needs to be
|
||||
loaded.
|
||||
@@ -271,7 +281,7 @@ loaded.
|
||||
static jerry_value_t
|
||||
my_module_on_resolve (void)
|
||||
{
|
||||
return jerry_create_external_function (very_useful_function);
|
||||
return jerry_function_external (very_useful_function);
|
||||
} /* my_module_on_resolve */
|
||||
|
||||
/* Note that there is no semicolon at the end of the next line. This is how it must be. */
|
||||
@@ -1,3 +1,13 @@
|
||||
---
|
||||
layout: page
|
||||
title: 'Debugger Transport'
|
||||
category: documents
|
||||
permalink: /debugger-transport/
|
||||
---
|
||||
|
||||
* toc
|
||||
{:toc}
|
||||
|
||||
# JerryScript debugger transport interface
|
||||
|
||||
The transport interface support allows dynamic selection of transportation
|
||||
@@ -77,7 +87,8 @@ the `header_p->next_p->send()` method.
|
||||
|
||||
```c
|
||||
typedef bool (*jerry_debugger_transport_send_t) (struct jerry_debugger_transport_interface_t *header_p,
|
||||
uint8_t *message_p, size_t message_length);
|
||||
uint8_t *message_p,
|
||||
size_t message_length);
|
||||
```
|
||||
|
||||
## jerry_debugger_transport_receive_t
|
||||
@@ -100,18 +111,20 @@ typedef bool (*jerry_debugger_transport_receive_t) (struct jerry_debugger_transp
|
||||
|
||||
**Summary**
|
||||
|
||||
Add a new interface to the transporation interface chain. The interface
|
||||
Add a new interface to the transportation interface chain. The interface
|
||||
will be the first item of the interface chain.
|
||||
|
||||
**Prototype**
|
||||
|
||||
```c
|
||||
void jerry_debugger_transport_add (jerry_debugger_transport_header_t *header_p,
|
||||
size_t send_message_header_size, size_t max_send_message_size,
|
||||
size_t receive_message_header_size, size_t max_receive_message_size);
|
||||
size_t send_message_header_size,
|
||||
size_t max_send_message_size,
|
||||
size_t receive_message_header_size,
|
||||
size_t max_receive_message_size);
|
||||
```
|
||||
|
||||
- `header_p`: header of a transporation interface.
|
||||
- `header_p`: header of a transportation interface.
|
||||
- `send_message_header_size`: size of the outgoing message header, can be 0.
|
||||
- `max_send_message_size`: maximum outgoing message size supported by the interface.
|
||||
- `receive_message_header_size`: size of the incoming message header, can be 0.
|
||||
@@ -1,3 +1,13 @@
|
||||
---
|
||||
layout: page
|
||||
title: 'Extension API: Handle Scope'
|
||||
category: documents
|
||||
permalink: /ext-reference-handle-scope/
|
||||
---
|
||||
|
||||
* toc
|
||||
{:toc}
|
||||
|
||||
# Handle Scope
|
||||
|
||||
## jerryx_handle_scope
|
||||
@@ -11,7 +21,7 @@ JerryScript only supports a single nested hierarchy of scopes. There is only one
|
||||
|
||||
**Example**
|
||||
|
||||
[doctest]: # (test="compile")
|
||||
[doctest]: # ()
|
||||
|
||||
```c
|
||||
#include "jerryscript.h"
|
||||
@@ -20,7 +30,7 @@ JerryScript only supports a single nested hierarchy of scopes. There is only one
|
||||
static jerry_value_t
|
||||
create_object (void)
|
||||
{
|
||||
jerry_value_t obj = jerry_create_object ();
|
||||
jerry_value_t obj = jerry_object ();
|
||||
return obj;
|
||||
} /* create_object */
|
||||
|
||||
@@ -41,7 +51,7 @@ main (void)
|
||||
jerry_init (JERRY_INIT_EMPTY);
|
||||
|
||||
test_handle_scope_val ();
|
||||
jerry_gc (JERRY_GC_PRESSURE_LOW);
|
||||
jerry_heap_gc (JERRY_GC_PRESSURE_LOW);
|
||||
|
||||
jerry_cleanup ();
|
||||
} /* main */
|
||||
@@ -55,7 +65,7 @@ It is necessary in common cases that a handle has to be promote to outer scope a
|
||||
|
||||
**Example**
|
||||
|
||||
[doctest]: # (test="compile")
|
||||
[doctest]: # ()
|
||||
|
||||
```c
|
||||
#include "jerryscript.h"
|
||||
@@ -66,7 +76,7 @@ create_object (void)
|
||||
{
|
||||
jerryx_escapable_handle_scope scope;
|
||||
jerryx_open_escapable_handle_scope (&scope);
|
||||
jerry_value_t obj = jerryx_create_handle (jerry_create_object ());
|
||||
jerry_value_t obj = jerryx_create_handle (jerry_object ());
|
||||
|
||||
jerry_value_t escaped_obj;
|
||||
jerryx_escape_handle(scope, obj, &escaped_obj);
|
||||
@@ -93,7 +103,7 @@ main (void)
|
||||
jerry_init (JERRY_INIT_EMPTY);
|
||||
|
||||
test_handle_scope_val ();
|
||||
jerry_gc (JERRY_GC_PRESSURE_LOW);
|
||||
jerry_heap_gc (JERRY_GC_PRESSURE_LOW);
|
||||
|
||||
jerry_cleanup ();
|
||||
} /* main */
|
||||
@@ -101,9 +111,9 @@ main (void)
|
||||
|
||||
**See also**
|
||||
|
||||
- [jerry_value_t](../docs/02.API-REFERENCE.md#jerry_value_t)
|
||||
- [jerry_acquire_value](../docs/02.API-REFERENCE.md#jerry_acquire_value)
|
||||
- [jerry_release_value](../docs/02.API-REFERENCE.md#jerry_release_value)
|
||||
- [jerry_value_t](../api-reference#jerry_value_t)
|
||||
- [jerry_value_copy](../api-reference#jerry_value_copy)
|
||||
- [jerry_value_free](../api-reference#jerry_value_free)
|
||||
|
||||
## Pre-allocated list of handle scopes and handles
|
||||
|
||||
@@ -1,13 +1,23 @@
|
||||
---
|
||||
layout: page
|
||||
title: 'Module System (EcmaScript2015)'
|
||||
category: documents
|
||||
permalink: /module-system/
|
||||
---
|
||||
|
||||
* toc
|
||||
{:toc}
|
||||
|
||||
# ES6 module support for JerryScript
|
||||
|
||||
The module system allows users to write import and export statements in scripts, which can be used to separate the logic of the application into custom modules.
|
||||
The standard's relevant part can be found [here](https://www.ecma-international.org/ecma-262/6.0/#sec-modules).
|
||||
Embedders wishing to use native builtin modules with ES6 imports can use the [Port API](05.PORT-API.md#es2015-module-system) to do so.
|
||||
Embedders wishing to use native builtin modules with ES6 imports can use the [Port API](05.PORT-API.md#jerry-module-system) to do so.
|
||||
|
||||
## General
|
||||
|
||||
If a script contains import statements, then JerryScript will open and evaluate the the referenced modules before the main script runs, resolving and creating bindings for the referenced identifiers in the process.
|
||||
It is not necessary to use any specific filename extensions for modules, JerryScript will try to open the given file paths as they are, but will try to normalize them before doing so. The exact normalization process is dependant on the port implementation provided. It is the user's responsibility to verify that the given files are valid EcmaScript modules.
|
||||
It is not necessary to use any specific filename extensions for modules, JerryScript will try to open the given file paths as they are, but will try to normalize them before doing so. The exact normalization process is dependant on the port implementation provided. It is the user's responsibility to verify that the given files are valid ECMAScript modules.
|
||||
|
||||
main.js
|
||||
|
||||
@@ -76,7 +86,7 @@ export var version = "1.0 (e92ae0fb)";
|
||||
|
||||
```js
|
||||
// module_2.js
|
||||
var featureName = "EcmaScript 2015 modules";
|
||||
var featureName = "ECMAScript modules";
|
||||
var year = 2018;
|
||||
|
||||
export function getFeatureDetails() {
|
||||
@@ -86,7 +96,7 @@ export function getFeatureDetails() {
|
||||
|
||||
### Module namespace import statements
|
||||
|
||||
A module namespace object can be imported. In this case the local binding will contain an object holding the exported values of the module, including local exports and all indirect exports. Ambiguous exported names are exluded from the namespace object.
|
||||
A module namespace object can be imported. In this case the local binding will contain an object holding the exported values of the module, including local exports and all indirect exports. Ambiguous exported names are excluded from the namespace object.
|
||||
|
||||
```js
|
||||
import * as module from './module.js';
|
||||
@@ -1,11 +1,21 @@
|
||||
---
|
||||
layout: page
|
||||
title: Migration Guide
|
||||
category: documents
|
||||
permalink: /migration-guide/
|
||||
---
|
||||
|
||||
* toc
|
||||
{:toc}
|
||||
|
||||
# Migration guide
|
||||
|
||||
This guide intends to describe the major changes between the JerryScript 1.0 and 2.0 versions.
|
||||
In addtion it is designed to provide a guide on how to modify the 1.0 version code to a
|
||||
In addition it is designed to provide a guide on how to modify the 1.0 version code to a
|
||||
2.0 compliant code.
|
||||
|
||||
During the development it was important to minimize the changes in the API functions and types.
|
||||
Each API method removal or chang is described below providing a ***before*** and ***after***
|
||||
Each API method removal or change is described below providing a ***before*** and ***after***
|
||||
code example.
|
||||
For more information on the current API methods please check the [API reference](02.API-REFERENCE.md) document.
|
||||
|
||||
@@ -53,7 +63,7 @@ For more information on the current API methods please check the [API reference]
|
||||
|
||||
## Error manipulating functions
|
||||
|
||||
The most important changes in the API are releated to error handling and manipulation.
|
||||
The most important changes in the API are related to error handling and manipulation.
|
||||
|
||||
### jerry_value_set_abort_flag
|
||||
|
||||
@@ -770,3 +780,4 @@ In this section the new API functions are listed.
|
||||
- [`jerry_port_get_current_context`](05.PORT-API.md#jerry_port_get_current_context)
|
||||
- [`jerry_port_fatal`](05.PORT-API.md#jerry_port_fatal)
|
||||
- [`jerry_port_sleep`](05.PORT-API.md#jerry_port_sleep)
|
||||
- [`jerry_port_print_byte`](05.PORT-API.md#jerry_port_print_byte)
|
||||
-280
@@ -1,280 +0,0 @@
|
||||
# Copyright JS Foundation and other contributors, http://js.foundation
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
cmake_minimum_required (VERSION 2.8.12)
|
||||
project (Jerry C)
|
||||
|
||||
# Determining platform
|
||||
set(PLATFORM "${CMAKE_SYSTEM_NAME}")
|
||||
string(TOUPPER "${PLATFORM}" PLATFORM)
|
||||
|
||||
# Determining compiler
|
||||
if(CMAKE_C_COMPILER_ID MATCHES "GNU")
|
||||
set(USING_GCC 1)
|
||||
endif()
|
||||
|
||||
if(CMAKE_C_COMPILER_ID MATCHES "Clang")
|
||||
set(USING_CLANG 1)
|
||||
endif()
|
||||
|
||||
if(CMAKE_C_COMPILER_ID MATCHES "TI")
|
||||
set(USING_TI 1)
|
||||
endif()
|
||||
|
||||
if(CMAKE_C_COMPILER_ID MATCHES "MSVC")
|
||||
set(USING_MSVC 1)
|
||||
endif()
|
||||
|
||||
# Determining build type
|
||||
if(NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE "MinSizeRel")
|
||||
endif()
|
||||
|
||||
# Optional components
|
||||
set(JERRY_CMDLINE ON CACHE BOOL "Build jerry command line tool?")
|
||||
set(JERRY_CMDLINE_TEST OFF CACHE BOOL "Build jerry test command line tool?")
|
||||
set(JERRY_CMDLINE_SNAPSHOT OFF CACHE BOOL "Build jerry snapshot command line tool?")
|
||||
set(JERRY_LIBFUZZER OFF CACHE BOOL "Build jerry with libfuzzer support?")
|
||||
set(JERRY_PORT_DEFAULT ON CACHE BOOL "Build default jerry port implementation?")
|
||||
set(JERRY_EXT ON CACHE BOOL "Build jerry-ext?")
|
||||
set(JERRY_LIBM ON CACHE BOOL "Build and use jerry-libm?")
|
||||
set(UNITTESTS OFF CACHE BOOL "Build unit tests?")
|
||||
set(DOCTESTS OFF CACHE BOOL "Build doc tests?")
|
||||
|
||||
# Optional build settings
|
||||
set(BUILD_SHARED_LIBS OFF CACHE BOOL "Build shared libraries?")
|
||||
set(ENABLE_LTO ON CACHE BOOL "Enable LTO build?")
|
||||
set(ENABLE_STRIP ON CACHE BOOL "Enable stripping all symbols from release binary?")
|
||||
|
||||
# Option overrides
|
||||
if(NOT USING_CLANG)
|
||||
set(JERRY_LIBFUZZER OFF)
|
||||
|
||||
set(JERRY_LIBFUZZER_MESSAGE " (FORCED BY COMPILER)")
|
||||
endif()
|
||||
|
||||
if(JERRY_CMDLINE OR JERRY_CMDLINE_TEST OR JERRY_CMDLINE_SNAPSHOT OR JERRY_LIBFUZZER OR UNITTESTS OR DOCTESTS)
|
||||
set(JERRY_PORT_DEFAULT ON)
|
||||
|
||||
set(JERRY_PORT_DEFAULT_MESSAGE " (FORCED BY CMDLINE OR LIBFUZZER OR TESTS)")
|
||||
endif()
|
||||
|
||||
if(JERRY_CMDLINE OR DOCTESTS)
|
||||
set(JERRY_EXT ON)
|
||||
|
||||
set(JERRY_EXT_MESSAGE " (FORCED BY CMDLINE OR TESTS)")
|
||||
endif()
|
||||
|
||||
if("${PLATFORM}" STREQUAL "DARWIN")
|
||||
set(JERRY_LIBM OFF)
|
||||
set(ENABLE_LTO OFF)
|
||||
set(ENABLE_STRIP OFF)
|
||||
|
||||
set(JERRY_LIBM_MESSAGE " (FORCED BY PLATFORM)")
|
||||
set(ENABLE_LTO_MESSAGE " (FORCED BY PLATFORM)")
|
||||
set(ENABLE_STRIP_MESSAGE " (FORCED BY PLATFORM)")
|
||||
endif()
|
||||
|
||||
if(USING_TI)
|
||||
set(ENABLE_STRIP OFF)
|
||||
|
||||
set(ENABLE_STRIP_MESSAGE " (FORCED BY COMPILER)")
|
||||
endif()
|
||||
|
||||
if(USING_MSVC)
|
||||
set(JERRY_LIBM OFF)
|
||||
set(ENABLE_STRIP OFF)
|
||||
|
||||
set(JERRY_LIBM_MESSAGE " (FORCED BY COMPILER)")
|
||||
set(ENABLE_STRIP_MESSAGE " (FORCED BY COMPILER)")
|
||||
endif()
|
||||
|
||||
if(CYGWIN)
|
||||
set(ENABLE_LTO OFF)
|
||||
|
||||
set(ENABLE_LTO_MESSAGE " (FORCED BY PLATFORM)")
|
||||
endif()
|
||||
|
||||
# Status messages
|
||||
message(STATUS "CMAKE_BUILD_TYPE " ${CMAKE_BUILD_TYPE})
|
||||
message(STATUS "CMAKE_C_COMPILER_ID " ${CMAKE_C_COMPILER_ID})
|
||||
message(STATUS "CMAKE_SYSTEM_NAME " ${CMAKE_SYSTEM_NAME})
|
||||
message(STATUS "CMAKE_SYSTEM_PROCESSOR " ${CMAKE_SYSTEM_PROCESSOR})
|
||||
message(STATUS "BUILD_SHARED_LIBS " ${BUILD_SHARED_LIBS})
|
||||
message(STATUS "ENABLE_LTO " ${ENABLE_LTO} ${ENABLE_LTO_MESSAGE})
|
||||
message(STATUS "ENABLE_STRIP " ${ENABLE_STRIP} ${ENABLE_STRIP_MESSAGE})
|
||||
message(STATUS "JERRY_CMDLINE " ${JERRY_CMDLINE} ${JERRY_CMDLINE_MESSAGE})
|
||||
message(STATUS "JERRY_CMDLINE_TEST " ${JERRY_CMDLINE_TEST} ${JERRY_CMDLINE_TEST_MESSAGE})
|
||||
message(STATUS "JERRY_CMDLINE_SNAPSHOT " ${JERRY_CMDLINE_SNAPSHOT} ${JERRY_CMDLINE_SNAPSHOT_MESSAGE})
|
||||
message(STATUS "JERRY_LIBFUZZER " ${JERRY_LIBFUZZER} ${JERRY_LIBFUZZER_MESSAGE})
|
||||
message(STATUS "JERRY_PORT_DEFAULT " ${JERRY_PORT_DEFAULT} ${JERRY_PORT_DEFAULT_MESSAGE})
|
||||
message(STATUS "JERRY_EXT " ${JERRY_EXT} ${JERRY_EXT_MESSAGE})
|
||||
message(STATUS "JERRY_LIBM " ${JERRY_LIBM} ${JERRY_LIBM_MESSAGE})
|
||||
message(STATUS "UNITTESTS " ${UNITTESTS})
|
||||
message(STATUS "DOCTESTS " ${DOCTESTS})
|
||||
|
||||
# Setup directories
|
||||
# Note: This mimics a conventional file system layout in the build directory for
|
||||
# the sake of convenient location of build artefacts. Proper installation to
|
||||
# traditional locations is also supported, e.g., to /usr/local.
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/")
|
||||
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib/")
|
||||
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib/")
|
||||
|
||||
# Remove rdynamic option
|
||||
set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS )
|
||||
|
||||
# Compile/link flags
|
||||
# Helper macros
|
||||
macro(jerry_add_flags VAR)
|
||||
foreach(_flag ${ARGN})
|
||||
set(${VAR} "${${VAR}} ${_flag}")
|
||||
endforeach()
|
||||
endmacro()
|
||||
|
||||
macro(jerry_add_compile_flags)
|
||||
jerry_add_flags(CMAKE_C_FLAGS ${ARGV})
|
||||
endmacro()
|
||||
|
||||
macro(jerry_add_compile_warnings)
|
||||
foreach(_warning ${ARGV})
|
||||
jerry_add_compile_flags(-W${_warning})
|
||||
jerry_add_compile_flags(-Werror=${_warning})
|
||||
endforeach()
|
||||
endmacro()
|
||||
|
||||
macro(jerry_add_link_flags)
|
||||
jerry_add_flags(LINKER_FLAGS_COMMON ${ARGV})
|
||||
endmacro()
|
||||
|
||||
# Architecture-specific compile/link flags
|
||||
jerry_add_compile_flags(${FLAGS_COMMON_ARCH})
|
||||
jerry_add_flags(CMAKE_EXE_LINKER_FLAGS ${FLAGS_COMMON_ARCH})
|
||||
|
||||
# LTO
|
||||
if(ENABLE_LTO)
|
||||
if(USING_GCC OR USING_CLANG)
|
||||
jerry_add_compile_flags(-flto)
|
||||
jerry_add_link_flags(-flto)
|
||||
endif()
|
||||
if(USING_GCC)
|
||||
jerry_add_compile_flags(-fno-fat-lto-objects)
|
||||
# Use gcc-ar and gcc-ranlib to support LTO
|
||||
set(CMAKE_AR "gcc-ar")
|
||||
set(CMAKE_RANLIB "gcc-ranlib")
|
||||
endif()
|
||||
if(USING_TI)
|
||||
jerry_add_link_flags(-lto)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Compiler / Linker flags
|
||||
if("${PLATFORM}" STREQUAL "DARWIN")
|
||||
jerry_add_link_flags(-lSystem)
|
||||
set(CMAKE_C_ARCHIVE_CREATE "<CMAKE_AR> Sqc <TARGET> <LINK_FLAGS> <OBJECTS>")
|
||||
set(CMAKE_C_ARCHIVE_FINISH "<CMAKE_RANLIB> -no_warning_for_no_symbols -c <TARGET>")
|
||||
set(CMAKE_SHARED_LINKER_FLAGS "-undefined dynamic_lookup")
|
||||
elseif(NOT CYGWIN AND (USING_GCC OR USING_CLANG))
|
||||
jerry_add_link_flags(-Wl,-z,noexecstack)
|
||||
endif()
|
||||
|
||||
if(USING_GCC OR USING_CLANG)
|
||||
jerry_add_compile_flags(-std=c99 -pedantic)
|
||||
# Turn off stack protector
|
||||
jerry_add_compile_flags(-fno-builtin -fno-stack-protector)
|
||||
jerry_add_compile_warnings(all extra format-nonliteral init-self conversion sign-conversion format-security missing-declarations shadow strict-prototypes undef old-style-definition)
|
||||
jerry_add_compile_flags(-Wno-stack-protector -Wno-attributes -Werror)
|
||||
endif()
|
||||
|
||||
if(USING_GCC)
|
||||
jerry_add_compile_warnings(logical-op)
|
||||
# TODO: Remove workaround for gcc 7 bug if the fallthrough comment detection is fixed.
|
||||
if(CMAKE_C_COMPILER_VERSION VERSION_GREATER 7.0)
|
||||
jerry_add_compile_flags(-Wno-implicit-fallthrough)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(USING_CLANG)
|
||||
jerry_add_compile_flags(-Wno-nested-anon-types -Wno-static-in-inline)
|
||||
endif()
|
||||
|
||||
if(USING_TI)
|
||||
jerry_add_compile_flags(--c99)
|
||||
endif()
|
||||
|
||||
if(USING_MSVC)
|
||||
jerry_add_link_flags(/OPT:NOREF)
|
||||
# Disable MSVC warning 4996 globally because it stops us from using standard C functions.
|
||||
jerry_add_compile_flags(/wd4996)
|
||||
endif()
|
||||
|
||||
if(JERRY_LIBFUZZER)
|
||||
jerry_add_compile_flags(-fsanitize=fuzzer-no-link)
|
||||
endif()
|
||||
|
||||
# Strip binary
|
||||
if(ENABLE_STRIP AND NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
jerry_add_link_flags(-s)
|
||||
endif()
|
||||
|
||||
# External compiler & linker flags
|
||||
if(DEFINED EXTERNAL_COMPILE_FLAGS)
|
||||
jerry_add_compile_flags(${EXTERNAL_COMPILE_FLAGS})
|
||||
endif()
|
||||
|
||||
if(DEFINED EXTERNAL_LINKER_FLAGS)
|
||||
jerry_add_link_flags(${EXTERNAL_LINKER_FLAGS})
|
||||
endif()
|
||||
|
||||
# Used for placeholder to attach single source build targets
|
||||
add_custom_target(generate-single-source)
|
||||
|
||||
# Jerry's libm
|
||||
if(JERRY_LIBM)
|
||||
add_subdirectory(jerry-libm)
|
||||
endif()
|
||||
|
||||
# Jerry's core
|
||||
add_subdirectory(jerry-core)
|
||||
|
||||
# Jerry's extension tools
|
||||
if(JERRY_EXT)
|
||||
add_subdirectory(jerry-ext)
|
||||
endif()
|
||||
|
||||
# Jerry's default port implementation
|
||||
if(JERRY_PORT_DEFAULT)
|
||||
add_subdirectory(jerry-port/default)
|
||||
endif()
|
||||
|
||||
# Jerry command line tool
|
||||
if(JERRY_CMDLINE OR JERRY_CMDLINE_TEST OR JERRY_CMDLINE_SNAPSHOT OR JERRY_LIBFUZZER)
|
||||
add_subdirectory(jerry-main)
|
||||
endif()
|
||||
|
||||
# Unittests
|
||||
if(UNITTESTS)
|
||||
add_subdirectory(tests/unit-core)
|
||||
if(JERRY_LIBM)
|
||||
add_subdirectory(tests/unit-libm)
|
||||
endif()
|
||||
if(JERRY_EXT)
|
||||
add_subdirectory(tests/unit-ext)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Doctests
|
||||
if(DOCTESTS)
|
||||
add_subdirectory(tests/unit-doc)
|
||||
endif()
|
||||
-101
@@ -1,101 +0,0 @@
|
||||
# Contribution Guidelines
|
||||
## Patch Submission Process
|
||||
|
||||
The following guidelines on the submission process are provided to help you be more effective when submitting code to the JerryScript project.
|
||||
|
||||
When development is complete, a patch set should be submitted via GitHub pull requests. A review of the patch set will take place. When accepted, the patch set will be integrated into the master branch, verified, and tested. It is then the responsibility of the authoring developer to maintain the code throughout its lifecycle.
|
||||
|
||||
Please submit all patches in public by opening a pull request. Patches sent privately to Maintainers and Committers will not be considered. Because the JerryScript Project is an Open Source project, be prepared for feedback and criticism-it happens to everyone-. If asked to rework your code, be persistent and resubmit after making changes.
|
||||
|
||||
### 1. Scope the patch
|
||||
|
||||
Smaller patches are generally easier to understand and test, so please submit changes in the smallest increments possible, within reason. Smaller patches are less likely to have unintended consequences, and if they do, getting to the root cause is much easier for you and the Maintainers and Committers. Additionally, smaller patches are much more likely to be accepted.
|
||||
|
||||
### 2. Ensure all files have a proper license header and copyright notice
|
||||
|
||||
Any code that you want to contribute to the project must be licensed under the [Apache License 2.0](LICENSE). Contributions under a different license can not be accepted. Each file should start with the following header:
|
||||
|
||||
```c
|
||||
/* Copyright JS Foundation and other contributors, http://js.foundation
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
```
|
||||
|
||||
Adding copyright notices other than the project-wide notice ("Copyright JS Foundation and other contributors, http://js.foundation") is not permitted. The only exception is adding third-party code which requires copyright notices to be preserved. Adding third-party code to the project generally requires a strong justification.
|
||||
|
||||
### 3. Sign your work with the JerryScript [Developer's Certificate of Origin](DCO.md)
|
||||
|
||||
The sign-off is a simple line at the end of the commit message of the patch, which certifies that you wrote it or otherwise have the right to pass it on as an Open Source patch. The sign-off is required for a patch to be accepted.
|
||||
|
||||
We have the same requirements for using the signed-off-by process as the Linux kernel.
|
||||
In short, you need to include a signed-off-by tag in every patch.
|
||||
|
||||
You should use your real name and email address in the format below:
|
||||
|
||||
> JerryScript-DCO-1.0-Signed-off-by: Random J Developer random@developer.example.org
|
||||
|
||||
"JerryScript-DCO-1.0-Signed-off-by:" this is a developer's certification that he or she has the right to submit the patch for inclusion into the project. It is an agreement to the JerryScript [Developer's Certificate of Origin](DCO.md). **Code without a proper signoff cannot be merged into the mainline.**
|
||||
|
||||
### 4. Open a GitHub [pull request](https://github.com/jerryscript-project/jerryscript/pulls)
|
||||
|
||||
You can find instructions about opening a pull request [here](https://help.github.com/articles/creating-a-pull-request).
|
||||
|
||||
### 5. What if my patch is rejected?
|
||||
|
||||
It happens all the time, for many reasons, and not necessarily because the code is bad. Take the feedback, adapt your code, and try again. Remember, the ultimate goal is to preserve the quality of the code and maintain the focus of the Project through intensive review.
|
||||
|
||||
Maintainers and Committers typically have to process a lot of submissions, and the time for any individual response is generally limited. If the reason for rejection is unclear, please ask for more information from the Maintainers and Committers.
|
||||
If you have a solid technical reason to disagree with feedback and you feel that reason has been overlooked, take the time to thoroughly explain it in your response.
|
||||
|
||||
### 6. Code review
|
||||
|
||||
Code review can be performed by all the members of the Project (not just Maintainers and Committers). Members can review code changes and share their opinion through comments guided by the following principles:
|
||||
* Discuss code; never discuss the code's author
|
||||
* Respect and acknowledge contributions, suggestions, and comments
|
||||
* Listen and be open to all different opinions
|
||||
* Help each other
|
||||
|
||||
Changes are submitted via pull requests and only the Maintainers and Committers should approve or reject the pull request (note that only Maintainers can give binding review scores).
|
||||
Changes should be reviewed in reasonable amount of time. Maintainers and Committers should leave changes open for some time (at least 1 full business day) so others can offer feedback. Review times increase with the complexity of the review.
|
||||
|
||||
## Tips on GitHub Pull Requests
|
||||
|
||||
* [Fork](https://guides.github.com/activities/forking) the GitHub repository and clone it locally
|
||||
* Connect your local repository to the original upstream repository by adding it as a remote
|
||||
* Create a [branch](https://guides.github.com/introduction/flow) for your edits
|
||||
* Pull in upstream changes often to stay up-to-date so that when you submit your pull request, merge conflicts will be less likely
|
||||
|
||||
For more details, see the GitHub [fork syncing](https://help.github.com/articles/syncing-a-fork) guidelines.
|
||||
|
||||
## How to add the DCO line to every single commit automatically
|
||||
|
||||
It is easy to forget adding the DCO line to the end of every commit message. Fortunately there is a nice way to do it automatically. Once you've cloned the repository into your local machine, you can add `prepare commit message hook` in `.git/hooks` directory like this:
|
||||
|
||||
```
|
||||
#!/usr/bin/env python
|
||||
|
||||
import sys
|
||||
|
||||
commit_msg_filepath = sys.argv[1]
|
||||
|
||||
with open(commit_msg_filepath, "r+") as f:
|
||||
content = f.read()
|
||||
f.seek(0, 0)
|
||||
if "Signed-off-by" not in content:
|
||||
f.write("\n\nJerryScript-DCO-1.0-Signed-off-by: <Your Name> <Your Email>\n%s" % content)
|
||||
else:
|
||||
f.write(content)
|
||||
```
|
||||
|
||||
Please refer [Git Hooks](http://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks) for more information.
|
||||
@@ -1,22 +0,0 @@
|
||||
# JerryScript Developer's Certificate of Origin
|
||||
|
||||
The JerryScript project uses the signed-off-by language and process to give us a clear chain of trust for every patch received.
|
||||
|
||||
> By making a contribution to this project, I certify that:
|
||||
|
||||
> (a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or
|
||||
|
||||
> (b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or
|
||||
|
||||
> (c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it.
|
||||
|
||||
> (d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project, under the same open source license.
|
||||
|
||||
We have the same requirements for using the signed-off-by process as the Linux kernel.
|
||||
In short, you need to include a signed-off-by tag in the commit message of every patch.
|
||||
|
||||
You should use your real name and email address in the format below:
|
||||
|
||||
> JerryScript-DCO-1.0-Signed-off-by: Random J Developer random@developer.example.org
|
||||
|
||||
"JerryScript-DCO-1.0-Signed-off-by:" this is a developer's certification that he or she has the right to submit the patch for inclusion into the project. It is an agreement to the Developer's Certificate of Origin (above). **Code without a proper signoff cannot be merged into the mainline.**
|
||||
@@ -1,203 +0,0 @@
|
||||
Copyright JS Foundation and other contributors, http://js.foundation
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright JS Foundation and other contributors, http://js.foundation
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
@@ -1,66 +0,0 @@
|
||||

|
||||
# JerryScript: JavaScript engine for the Internet of Things
|
||||
[](LICENSE)
|
||||
[](https://travis-ci.org/jerryscript-project/jerryscript)
|
||||
[](https://ci.appveyor.com/project/jerryscript-project/jerryscript/branch/master)
|
||||
[](https://scan.coverity.com/projects/jerryscript-project)
|
||||
[](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fjerryscript-project%2Fjerryscript?ref=badge_shield)
|
||||
[](https://sonarcloud.io/dashboard?id=jerryscript-project_jerryscript)
|
||||
[](https://kiwiirc.com/client/irc.freenode.net/#jerryscript)
|
||||
|
||||
JerryScript is a lightweight JavaScript engine for resource-constrained devices such as microcontrollers. It can run on devices with less than 64 KB of RAM and less than 200 KB of flash memory.
|
||||
|
||||
Key characteristics of JerryScript:
|
||||
* Full ECMAScript 5.1 standard compliance
|
||||
* 160K binary size when compiled for ARM Thumb-2
|
||||
* Heavily optimized for low memory consumption
|
||||
* Written in C99 for maximum portability
|
||||
* Snapshot support for precompiling JavaScript source code to byte code
|
||||
* Mature C API, easy to embed in applications
|
||||
|
||||
Additional information can be found on our [project page](http://jerryscript.net) and [Wiki](https://github.com/jerryscript-project/jerryscript/wiki).
|
||||
|
||||
Memory usage and Binary footprint are measured at [here](https://jerryscript-project.github.io/jerryscript-test-results) with real target daily.
|
||||
|
||||
The following table shows the latest results on the devices:
|
||||
|
||||
| STM32F4-Discovery | [](https://jerryscript-project.github.io/jerryscript-test-results/?view=stm32f4dis) |
|
||||
| :---: | :---: |
|
||||
| **Raspberry Pi 2** | [](https://jerryscript-project.github.io/jerryscript-test-results/?view=rpi2) |
|
||||
|
||||
IRC channel: #jerryscript on [freenode](https://freenode.net)
|
||||
Mailing list: jerryscript-dev@groups.io, you can subscribe [here](https://groups.io/g/jerryscript-dev) and access the mailing list archive [here](https://groups.io/g/jerryscript-dev/topics).
|
||||
|
||||
## Quick Start
|
||||
### Getting the sources
|
||||
```bash
|
||||
git clone https://github.com/jerryscript-project/jerryscript.git
|
||||
cd jerryscript
|
||||
```
|
||||
|
||||
### Building JerryScript
|
||||
```bash
|
||||
python tools/build.py
|
||||
```
|
||||
|
||||
For additional information see [Getting Started](docs/00.GETTING-STARTED.md).
|
||||
|
||||
## Documentation
|
||||
- [Getting Started](docs/00.GETTING-STARTED.md)
|
||||
- [Configuration](docs/01.CONFIGURATION.md)
|
||||
- [API Reference](docs/02.API-REFERENCE.md)
|
||||
- [API Example](docs/03.API-EXAMPLE.md)
|
||||
- [Internals](docs/04.INTERNALS.md)
|
||||
- [Migration Guide](docs/16.MIGRATION-GUIDE.md)
|
||||
|
||||
## Contributing
|
||||
The project can only accept contributions which are licensed under the [Apache License 2.0](LICENSE) and are signed according to the JerryScript [Developer's Certificate of Origin](DCO.md). For further information please see our [Contribution Guidelines](CONTRIBUTING.md).
|
||||
|
||||
## License
|
||||
JerryScript is open source software under the [Apache License 2.0](LICENSE). Complete license and copyright information can be found in the source code.
|
||||
|
||||
[](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fjerryscript-project%2Fjerryscript?ref=badge_large)
|
||||
|
||||
> Copyright JS Foundation and other contributors, http://js.foundation
|
||||
|
||||
> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
||||
@@ -0,0 +1,4 @@
|
||||
# Site settings
|
||||
title: JerryScript Engine
|
||||
description: JerryScript is a very lightweight JavaScript engine with capability to run on microcontrollers with less than 8KB of RAM.
|
||||
# baseurl: "/jerryscript" # the subpath of your site, e.g. /blog/
|
||||
@@ -0,0 +1,5 @@
|
||||
<footer class="footer">
|
||||
<div class="container">
|
||||
<p class="copyright_and_license_notice">JerryScript is an open source project under the <a href="http://www.apache.org/licenses/">Apache License, Version 2.0.</a></p>
|
||||
</div>
|
||||
</footer>
|
||||
@@ -0,0 +1,22 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
|
||||
<meta name="author" content="JerryScript">
|
||||
|
||||
<title>JavaScript engine for Internet of Things{% if page.title %}: {{ page.title }} {% endif %}</title>
|
||||
|
||||
<!-- Bootstrap core CSS -->
|
||||
<link rel="stylesheet" href="{{ '/css/bootstrap.min.css' | relative_url }}">
|
||||
<link rel="stylesheet" href="{{ '/css/table.css' | relative_url }}">
|
||||
<link rel="stylesheet" href="{{ '/css/bytecode.css' | relative_url }}">
|
||||
<link rel="stylesheet" href="{{ '/css/block.css' | relative_url }}">
|
||||
<link rel="stylesheet" href="{{ '/css/main.css' | relative_url }}">
|
||||
<link rel="stylesheet" href="{{ '/css/img.css' | relative_url }}">
|
||||
|
||||
<script>
|
||||
window.addEventListener("hashchange", function() { scrollBy(0, -50) });
|
||||
</script>
|
||||
</head>
|
||||
@@ -0,0 +1,47 @@
|
||||
<nav class="navbar navbar-inverse navbar-fixed-top">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="{{ '/' | relative_url }}"><b>JerryScript</b></a>
|
||||
</div>
|
||||
<div id="navbar" class="collapse navbar-collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
{% if page.url == "/" %}
|
||||
<li class="active"><a href="{{ '/' | relative_url }}">Home</a></li>
|
||||
{% else %}
|
||||
<li><a href="{{ '/' | relative_url }}">Home</a></li>
|
||||
{% endif %}
|
||||
<li><a href="https://www.iotjs.net">Powering <b>IoT.js</b></a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
{% for p in site.pages %}
|
||||
{% if p.title %}
|
||||
{% if p.category == "navbar" %}
|
||||
{% if page.url == p.url %}
|
||||
<li class="active"><a href="{{ p.url | relative_url }}" >{{ p.title }}</a></li>
|
||||
{% else %}
|
||||
<li><a href="{{ p.url | relative_url }}" >{{ p.title }}</a></li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
<li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">Documents <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu">
|
||||
{% assign doclist = site.pages | sort: 'title' %}
|
||||
{% for p in doclist %}
|
||||
{% if p.title and p.category == "documents" %}
|
||||
<li><a href="{{ p.url | relative_url }}" >{{ p.title }}</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div><!--/.nav-collapse -->
|
||||
</div>
|
||||
</nav>
|
||||
<a href="https://github.com/jerryscript-project/jerryscript"><img style="position: absolute; top: 50; right: 0; border: 0;" src="https://github.blog/wp-content/uploads/2008/12/forkme_right_orange_ff7600.png" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png"></a>
|
||||
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
{% include head.html %}
|
||||
|
||||
<body>
|
||||
|
||||
{% include header.html %}
|
||||
|
||||
<div class="container">
|
||||
{{ content }}
|
||||
</div><!-- /.container -->
|
||||
|
||||
{% include footer.html %}
|
||||
|
||||
<!-- Bootstrap core JavaScript -->
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
|
||||
<script src="{{ '/js/bootstrap.min.js' | relative_url }}"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
<div class="post">
|
||||
|
||||
<header class="post-header">
|
||||
<h1 class="post-title">{{ page.title }}</h1>
|
||||
</header>
|
||||
|
||||
<article class="post-content">
|
||||
{{ content }}
|
||||
</article>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
<div class="post">
|
||||
|
||||
<header class="post-header">
|
||||
<h1 class="post-title">{{ page.title }}</h1>
|
||||
<p class="post-meta">{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
|
||||
</header>
|
||||
|
||||
<article class="post-content">
|
||||
{{ content }}
|
||||
</article>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,264 @@
|
||||
/**
|
||||
* Reset some basic elements
|
||||
*/
|
||||
/*body, h1, h2, h3, h4, h5, h6,
|
||||
p, blockquote, pre, hr,
|
||||
dl, dd, ol, ul, figure {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}*/
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
text-align: justify;
|
||||
-moz-text-align-last: left;
|
||||
text-align-last: left;
|
||||
}
|
||||
|
||||
/**
|
||||
* Basic styling
|
||||
*/
|
||||
body {
|
||||
/*font-family: $base-font-family;*/
|
||||
font-size: $base-font-size;
|
||||
line-height: $base-line-height;
|
||||
/*font-weight: 300;*/
|
||||
color: $text-color;
|
||||
background-color: white;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Set `margin-bottom` to maintain vertical rhythm
|
||||
*/
|
||||
/*h1, h2, h3, h4, h5, h6,*/
|
||||
p, blockquote, pre,
|
||||
ul, ol, dl, figure,
|
||||
%vertical-rhythm {
|
||||
margin-bottom: $spacing-unit / 2;
|
||||
}
|
||||
|
||||
/**
|
||||
* Styles from index
|
||||
*/
|
||||
html {
|
||||
position: relative;
|
||||
min-height: 100%;
|
||||
}
|
||||
body {
|
||||
padding-top: 50px;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
.footer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
.project_title h1{
|
||||
font-size: 64px; text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
.project_title {
|
||||
padding: 40px 20px;
|
||||
text-align: center;
|
||||
border-radius: 6px;
|
||||
|
||||
p {
|
||||
text-align: center;
|
||||
-moz-text-align-last: center;
|
||||
}
|
||||
}
|
||||
.lead {
|
||||
color:#245580;
|
||||
}
|
||||
.project_overview {
|
||||
font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
|
||||
font-size: 18px;
|
||||
padding: 40px; padding-bottom: 20px;
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
.learn_more {
|
||||
font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
|
||||
font-size: 18px;
|
||||
padding: 40px; padding-bottom: 20px;
|
||||
}
|
||||
.container .copyright_and_license_notice {
|
||||
margin: 8px 0;
|
||||
font-size:14px; text-align: center;
|
||||
color:#3C3C3C;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Images
|
||||
*/
|
||||
img {
|
||||
max-width: 100%;
|
||||
vertical-align: middle;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
max-height: 80%;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Figures
|
||||
*/
|
||||
figure > img {
|
||||
display: block;
|
||||
}
|
||||
|
||||
figcaption {
|
||||
font-size: $small-font-size;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Lists
|
||||
*/
|
||||
/*ul, ol {
|
||||
margin-left: $spacing-unit;
|
||||
}*/
|
||||
|
||||
li {
|
||||
> ul,
|
||||
> ol {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Headings
|
||||
*/
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Links
|
||||
*/
|
||||
a {
|
||||
color: $brand-color;
|
||||
text-decoration: none;
|
||||
|
||||
&:visited {
|
||||
color: darken($brand-color, 15%);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: $text-color;
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Blockquotes
|
||||
*/
|
||||
blockquote {
|
||||
color: $grey-color;
|
||||
border-left: 4px solid $grey-color-light;
|
||||
padding-left: $spacing-unit / 2;
|
||||
font-size: 18px;
|
||||
letter-spacing: -1px;
|
||||
font-style: italic;
|
||||
|
||||
> :last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Code formatting
|
||||
*/
|
||||
pre,
|
||||
code {
|
||||
font-size: 15px;
|
||||
border: 1px solid $grey-color-light;
|
||||
border-radius: 3px;
|
||||
background-color: #f7f7f7;
|
||||
font-family: Courier;
|
||||
}
|
||||
|
||||
code {
|
||||
padding: 1px 5px;
|
||||
}
|
||||
|
||||
pre {
|
||||
padding: 8px 12px;
|
||||
|
||||
> code {
|
||||
border: 0;
|
||||
padding-right: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Wrapper
|
||||
*/
|
||||
.wrapper {
|
||||
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
|
||||
max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
padding-right: $spacing-unit;
|
||||
padding-left: $spacing-unit;
|
||||
@extend %clearfix;
|
||||
|
||||
@include media-query($on-laptop) {
|
||||
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
|
||||
max-width: calc(#{$content-width} - (#{$spacing-unit}));
|
||||
padding-right: $spacing-unit / 2;
|
||||
padding-left: $spacing-unit / 2;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Clearfix
|
||||
*/
|
||||
%clearfix {
|
||||
|
||||
&:after {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Icons
|
||||
*/
|
||||
.icon {
|
||||
|
||||
> svg {
|
||||
display: inline-block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
vertical-align: middle;
|
||||
|
||||
path {
|
||||
fill: $grey-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,266 @@
|
||||
/**
|
||||
* Site header
|
||||
*/
|
||||
.site-header {
|
||||
border-bottom: 5px solid #1B73BA;
|
||||
min-height: 64px;
|
||||
|
||||
// Positioning context for the mobile navigation icon
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.site-title {
|
||||
font-size: 36px;
|
||||
line-height: 64px;
|
||||
letter-spacing: -1px;
|
||||
margin-bottom: 0;
|
||||
float: left;
|
||||
|
||||
&,
|
||||
&:visited {
|
||||
color: white;
|
||||
/*font-family: Verdana;*/
|
||||
}
|
||||
}
|
||||
|
||||
.site-nav {
|
||||
float: right;
|
||||
line-height: 64px;
|
||||
|
||||
.menu-icon {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.page-link {
|
||||
color: white;
|
||||
line-height: $base-line-height;
|
||||
font-size: 24px;
|
||||
|
||||
// Gaps between nav items, but not on the first one
|
||||
&:not(:first-child) {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
@include media-query($on-palm) {
|
||||
position: absolute;
|
||||
top: 14px;
|
||||
right: 30px;
|
||||
background-color: white;
|
||||
border: 1px solid $grey-color-light;
|
||||
border-radius: 5px;
|
||||
text-align: right;
|
||||
|
||||
.menu-icon {
|
||||
display: block;
|
||||
float: right;
|
||||
width: 36px;
|
||||
height: 26px;
|
||||
line-height: 0;
|
||||
padding-top: 10px;
|
||||
text-align: center;
|
||||
|
||||
> svg {
|
||||
width: 18px;
|
||||
height: 15px;
|
||||
|
||||
path {
|
||||
fill: $grey-color-dark;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.trigger {
|
||||
clear: both;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.page-link {
|
||||
padding: 5px 10px;
|
||||
vertical-align: middle;
|
||||
color: #2388DB;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Site footer
|
||||
*/
|
||||
.site-footer {
|
||||
border-top: 5px solid #1B73BA;
|
||||
background-color: #2388DB;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.footer-heading {
|
||||
font-size: 18px;
|
||||
margin-bottom: $spacing-unit / 2;
|
||||
}
|
||||
|
||||
.footer-copy {
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
color: white;
|
||||
a {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
|
||||
.contact-list,
|
||||
.social-media-list {
|
||||
list-style: none;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.footer-col-wrapper {
|
||||
font-size: 15px;
|
||||
color: $grey-color;
|
||||
margin-left: -$spacing-unit / 2;
|
||||
@extend %clearfix;
|
||||
}
|
||||
|
||||
.footer-col {
|
||||
float: left;
|
||||
margin-bottom: $spacing-unit / 2;
|
||||
padding-left: $spacing-unit / 2;
|
||||
}
|
||||
|
||||
.footer-col-1 {
|
||||
width: -webkit-calc(35% - (#{$spacing-unit} / 2));
|
||||
width: calc(35% - (#{$spacing-unit} / 2));
|
||||
}
|
||||
|
||||
.footer-col-2 {
|
||||
width: -webkit-calc(20% - (#{$spacing-unit} / 2));
|
||||
width: calc(20% - (#{$spacing-unit} / 2));
|
||||
}
|
||||
|
||||
.footer-col-3 {
|
||||
width: -webkit-calc(45% - (#{$spacing-unit} / 2));
|
||||
width: calc(45% - (#{$spacing-unit} / 2));
|
||||
}
|
||||
|
||||
@include media-query($on-laptop) {
|
||||
.footer-col-1,
|
||||
.footer-col-2 {
|
||||
width: -webkit-calc(50% - (#{$spacing-unit} / 2));
|
||||
width: calc(50% - (#{$spacing-unit} / 2));
|
||||
}
|
||||
|
||||
.footer-col-3 {
|
||||
width: -webkit-calc(100% - (#{$spacing-unit} / 2));
|
||||
width: calc(100% - (#{$spacing-unit} / 2));
|
||||
}
|
||||
}
|
||||
|
||||
@include media-query($on-palm) {
|
||||
.footer-col {
|
||||
float: none;
|
||||
width: -webkit-calc(100% - (#{$spacing-unit} / 2));
|
||||
width: calc(100% - (#{$spacing-unit} / 2));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Page content
|
||||
*/
|
||||
.page-content {
|
||||
padding: $spacing-unit 0;
|
||||
}
|
||||
|
||||
.page-heading {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.post-list {
|
||||
margin-left: 0;
|
||||
list-style: none;
|
||||
|
||||
> li {
|
||||
margin-bottom: $spacing-unit;
|
||||
}
|
||||
}
|
||||
|
||||
.post-meta {
|
||||
font-size: $small-font-size;
|
||||
color: $grey-color;
|
||||
}
|
||||
|
||||
.post-link {
|
||||
display: block;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Posts
|
||||
*/
|
||||
/*.post-header {
|
||||
margin-bottom: $spacing-unit;
|
||||
}
|
||||
|
||||
.post-title {
|
||||
font-size: 32px;
|
||||
letter-spacing: -1px;
|
||||
line-height: 1;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
|
||||
@include media-query($on-laptop) {
|
||||
font-size: 28px;
|
||||
}
|
||||
}*/
|
||||
|
||||
.post-content {
|
||||
margin-bottom: $spacing-unit;
|
||||
|
||||
h1 {
|
||||
font-size: 30px;
|
||||
color: #2388DB;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 5px;
|
||||
|
||||
@include media-query($on-laptop) {
|
||||
font-size: 32px;
|
||||
}
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 22px;
|
||||
color: #2388DB;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 5px;
|
||||
|
||||
@include media-query($on-laptop) {
|
||||
font-size: 26px;
|
||||
}
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 18px;
|
||||
color: #2388DB;
|
||||
|
||||
@include media-query($on-laptop) {
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 16px;
|
||||
color: #2388DB;
|
||||
|
||||
@include media-query($on-laptop) {
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
/**
|
||||
* Syntax highlighting styles
|
||||
*/
|
||||
.highlight {
|
||||
background: #fff;
|
||||
@extend %vertical-rhythm;
|
||||
|
||||
.c { color: #998; font-style: italic } // Comment
|
||||
.err { color: #a61717; background-color: #e3d2d2 } // Error
|
||||
.k { font-weight: bold } // Keyword
|
||||
.o { font-weight: bold } // Operator
|
||||
.cm { color: #998; font-style: italic } // Comment.Multiline
|
||||
.cp { color: #999; font-weight: bold } // Comment.Preproc
|
||||
.c1 { color: #998; font-style: italic } // Comment.Single
|
||||
.cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special
|
||||
.gd { color: #000; background-color: #fdd } // Generic.Deleted
|
||||
.gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific
|
||||
.ge { font-style: italic } // Generic.Emph
|
||||
.gr { color: #a00 } // Generic.Error
|
||||
.gh { color: #999 } // Generic.Heading
|
||||
.gi { color: #000; background-color: #dfd } // Generic.Inserted
|
||||
.gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific
|
||||
.go { color: #888 } // Generic.Output
|
||||
.gp { color: #555 } // Generic.Prompt
|
||||
.gs { font-weight: bold } // Generic.Strong
|
||||
.gu { color: #aaa } // Generic.Subheading
|
||||
.gt { color: #a00 } // Generic.Traceback
|
||||
.kc { font-weight: bold } // Keyword.Constant
|
||||
.kd { font-weight: bold } // Keyword.Declaration
|
||||
.kp { font-weight: bold } // Keyword.Pseudo
|
||||
.kr { font-weight: bold } // Keyword.Reserved
|
||||
.kt { color: #458; font-weight: bold } // Keyword.Type
|
||||
.m { color: #099 } // Literal.Number
|
||||
.s { color: #d14 } // Literal.String
|
||||
.na { color: #008080 } // Name.Attribute
|
||||
.nb { color: #0086B3 } // Name.Builtin
|
||||
.nc { color: #458; font-weight: bold } // Name.Class
|
||||
.no { color: #008080 } // Name.Constant
|
||||
.ni { color: #800080 } // Name.Entity
|
||||
.ne { color: #900; font-weight: bold } // Name.Exception
|
||||
.nf { color: #900; font-weight: bold } // Name.Function
|
||||
.nn { color: #555 } // Name.Namespace
|
||||
.nt { color: #000080 } // Name.Tag
|
||||
.nv { color: #008080 } // Name.Variable
|
||||
.ow { font-weight: bold } // Operator.Word
|
||||
.w { color: #bbb } // Text.Whitespace
|
||||
.mf { color: #099 } // Literal.Number.Float
|
||||
.mh { color: #099 } // Literal.Number.Hex
|
||||
.mi { color: #099 } // Literal.Number.Integer
|
||||
.mo { color: #099 } // Literal.Number.Oct
|
||||
.sb { color: #d14 } // Literal.String.Backtick
|
||||
.sc { color: #d14 } // Literal.String.Char
|
||||
.sd { color: #d14 } // Literal.String.Doc
|
||||
.s2 { color: #d14 } // Literal.String.Double
|
||||
.se { color: #d14 } // Literal.String.Escape
|
||||
.sh { color: #d14 } // Literal.String.Heredoc
|
||||
.si { color: #d14 } // Literal.String.Interpol
|
||||
.sx { color: #d14 } // Literal.String.Other
|
||||
.sr { color: #009926 } // Literal.String.Regex
|
||||
.s1 { color: #d14 } // Literal.String.Single
|
||||
.ss { color: #990073 } // Literal.String.Symbol
|
||||
.bp { color: #999 } // Name.Builtin.Pseudo
|
||||
.vc { color: #008080 } // Name.Variable.Class
|
||||
.vg { color: #008080 } // Name.Variable.Global
|
||||
.vi { color: #008080 } // Name.Variable.Instance
|
||||
.il { color: #099 } // Literal.Number.Integer.Long
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
version: "{build}"
|
||||
branches:
|
||||
except:
|
||||
- coverity_scan
|
||||
- gh_pages
|
||||
skip_tags: true
|
||||
|
||||
# Build matrix setup.
|
||||
image:
|
||||
- Visual Studio 2017
|
||||
configuration:
|
||||
- Debug
|
||||
- Release
|
||||
platform:
|
||||
- x64
|
||||
- Win32
|
||||
|
||||
environment:
|
||||
matrix:
|
||||
- JERRY_DEBUGGER: ON
|
||||
- JERRY_DEBUGGER: OFF
|
||||
|
||||
# Steps of a job.
|
||||
init:
|
||||
- cmake -version
|
||||
before_build:
|
||||
- if "%PLATFORM%"=="Win32" cmake -G"Visual Studio 15 2017" -Bbuild -H. -DJERRY_DEBUGGER=%JERRY_DEBUGGER%
|
||||
- if "%PLATFORM%"=="x64" cmake -G"Visual Studio 15 2017 Win64" -Bbuild -H. -DJERRY_DEBUGGER=%JERRY_DEBUGGER%
|
||||
build:
|
||||
project: build\Jerry.sln
|
||||
parallel: true
|
||||
verbosity: minimal
|
||||
@@ -0,0 +1,6 @@
|
||||
.graph-container {
|
||||
width: 800px;
|
||||
height: 400px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<title>jerryscript benchmark</title>
|
||||
|
||||
<!--link rel="stylesheet" type="text/css" src="benchmark.css"-->
|
||||
<link rel="stylesheet" type="text/css" href="benchmark.css">
|
||||
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
|
||||
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
|
||||
<script type='text/javascript' src="common.js"></script>
|
||||
<script type='text/javascript' src="benchmark.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1>Jerryscript Benchmark</h1>
|
||||
<p>
|
||||
Show data
|
||||
<a href="?show=sum">by_sum</a> /
|
||||
<a href="?show=max">by max</a>
|
||||
value of subtests
|
||||
</p>
|
||||
|
||||
<div class="container">
|
||||
|
||||
<div id="wrapper_sunspider-1.0.2" class="content">
|
||||
<h3>sunspider-1.0.2</h3>
|
||||
<div id="chart_sunspider-1.0.2_memory" class="graph-container">loading...</div>
|
||||
<div id="chart_sunspider-1.0.2_performance" class="graph-container">loading...</div>
|
||||
</div>
|
||||
|
||||
<div id="wrapper_ubench">
|
||||
<h3>ubench</h3>
|
||||
<div id="chart_ubench_memory" class="graph-container">loading...</div>
|
||||
<div id="chart_ubench_performance" class="graph-container">loading...</div>
|
||||
</div>
|
||||
|
||||
</div><!-- container -->
|
||||
|
||||
<p>
|
||||
<span style="font-weight: bold; color: blue;">lower is better</span>
|
||||
for both memory and performance.
|
||||
</p>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,237 @@
|
||||
///////////////////////////////////////////
|
||||
// helper functions
|
||||
///////////////////////////////////////////
|
||||
|
||||
Array.prototype.clone = function() {
|
||||
return this.slice(0);
|
||||
};
|
||||
|
||||
Array.prototype.sum = function() {
|
||||
return this.reduce(function(a, b) { return a + b; });
|
||||
};
|
||||
|
||||
Array.prototype.max = function() {
|
||||
return this.reduce(function(a, b) { return Math.max(a, b); });
|
||||
};
|
||||
|
||||
Date.prototype.toFormattedString = function() {
|
||||
var yyyy = this.getFullYear().toString();
|
||||
var mm = (this.getMonth() + 1).toString();
|
||||
var dd = this.getDate().toString();
|
||||
mm = mm[1] ? mm : '0' + mm;
|
||||
dd = dd[1] ? dd : '0' + dd;
|
||||
return yyyy + '-' + mm + '-' + dd;
|
||||
};
|
||||
|
||||
Object.values = function(obj) {
|
||||
return Object.keys(obj).map(function(key) { return obj[key]; });
|
||||
};
|
||||
|
||||
Object.sum = function(obj) {
|
||||
return Object.values(obj).sum();
|
||||
};
|
||||
|
||||
Object.maxKey = function(obj) {
|
||||
var key, val = -Infinity;
|
||||
for (var p in obj) {
|
||||
if (val < obj[p]) {
|
||||
key = p;
|
||||
val = obj[p];
|
||||
}
|
||||
}
|
||||
return key;
|
||||
};
|
||||
|
||||
function wrapTooltip(content) {
|
||||
return '<div style="padding: 0.5em; font-family: consolas; line-height: 1.5em;">' + content + '</div>';
|
||||
}
|
||||
|
||||
function wrapHyperlink(address, text) {
|
||||
return '<a href="' + address + '" target="_blank">' + text + '</a>'
|
||||
}
|
||||
|
||||
///////////////////////////////////////////
|
||||
// main module
|
||||
///////////////////////////////////////////
|
||||
|
||||
var isSum = true;
|
||||
|
||||
var benchmarks = ['sunspider-1.0.2', 'ubench'];
|
||||
var measureTypes = ['memory', 'performance'];
|
||||
var measureUnits = {'memory': 'kb', 'performance': 's'};
|
||||
var engines = ['jerryscript', 'jerryscript-snapshot', 'jerryscript_cbc', 'duktape'];
|
||||
var link_main = {
|
||||
'jerryscript': 'http://www.jerryscript.net',
|
||||
'jerryscript_cbc': 'http://www.jerryscript.net',
|
||||
'duktape': 'http://duktape.org'
|
||||
};
|
||||
var link_code = {
|
||||
'jerryscript': 'https://github.com/Samsung/jerryscript/commit/',
|
||||
'jerryscript_cbc': 'https://github.com/Samsung/jerryscript/commit/',
|
||||
'duktape': 'https://github.com/svaarala/duktape/commit/'
|
||||
};
|
||||
var beginDate = new Date('2015-07-11');
|
||||
|
||||
var benchmarkData = {};
|
||||
|
||||
google.load('visualization', '1', {packages: ['corechart', 'line']});
|
||||
google.setOnLoadCallback(main);
|
||||
|
||||
function main() {
|
||||
// get params
|
||||
var data_src = getParameterByName('src') || 'data';
|
||||
var show = getParameterByName('show') || 'sum';
|
||||
|
||||
isSum = show === 'sum';
|
||||
|
||||
// fetch data via ajax
|
||||
var today = new Date();
|
||||
for (var d = beginDate; d <= today; d.setDate(d.getDate() + 1)) {
|
||||
var curDate = (new Date(d)).toFormattedString();
|
||||
$.ajax({
|
||||
_date: curDate,
|
||||
url: data_src + '/' + curDate + '.json',
|
||||
dataType: 'json',
|
||||
success: function(data) {
|
||||
benchmarkData[this._date] = data;
|
||||
},
|
||||
error: function(request, status, error) {
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
$(document).ajaxStop(function () {
|
||||
benchmarks.forEach(function(benchmark) {
|
||||
measureTypes.forEach(function(measureType) {
|
||||
// transform data for internal use
|
||||
var transData = {}, transInfo = {};
|
||||
$.each(benchmarkData, function(date, element) {
|
||||
transData[date] = [];
|
||||
transInfo[date] = element['info'];
|
||||
engines.forEach(function(engine, index) {
|
||||
var sum = undefined; // default value
|
||||
var max = undefined; // default value
|
||||
var maxTest = ''; // default value
|
||||
var numTests = 0;
|
||||
var benchmark_obj = element[benchmark];
|
||||
if (benchmark_obj) {
|
||||
var record = benchmark_obj[measureType][engine];
|
||||
if (record && Object.keys(record).length > 0) {
|
||||
sum = Object.sum(record);
|
||||
maxTest = Object.maxKey(record);
|
||||
max = record[maxTest];
|
||||
numTests = Object.values(record).length;
|
||||
}
|
||||
}
|
||||
transData[date][index] = {
|
||||
tests: numTests,
|
||||
sum: sum,
|
||||
max: max,
|
||||
maxTest: maxTest,
|
||||
score: isSum ? sum : max
|
||||
};
|
||||
});
|
||||
});
|
||||
|
||||
// transform data for google charts
|
||||
var data = new google.visualization.DataTable();
|
||||
data.addColumn('date', 'Date');
|
||||
engines.forEach(function(engine) {
|
||||
data.addColumn('number', engine);
|
||||
data.addColumn({type: 'string', role: 'tooltip', 'p': {'html': true}});
|
||||
});
|
||||
var arrayData = Object.keys(transData).sort().map(function(date) {
|
||||
// data
|
||||
var row = Object.values(transData[date]);
|
||||
// tooltip
|
||||
var tooltips = row.clone().map(function(value, index) {
|
||||
var engine = engines[index];
|
||||
var engine_pure = engine.split('-')[0];
|
||||
var info = transInfo[date] ? transInfo[date][engine_pure] : undefined;
|
||||
var score = value.score ? value.score.toFixed(2) + measureUnits[measureType] : '';
|
||||
var tests = value.tests || 0;
|
||||
var max_test = value.maxTest || '';
|
||||
|
||||
var info_text = '';
|
||||
if (info && info.version)
|
||||
info_text = wrapHyperlink(link_code[engine_pure] + info.version, info.version);
|
||||
var engine_text = wrapHyperlink(link_main[engine_pure], engine);
|
||||
var score_text = score;
|
||||
if (isSum) {
|
||||
score_text += ' (' + tests + ' subtests)';
|
||||
}
|
||||
else {
|
||||
score_text += ' (' + max_test + ')';
|
||||
}
|
||||
score_text += ' ' + wrapHyperlink('details.html?' + $.param({date: date, engine: engine, benchmark:benchmark}), 'details');
|
||||
|
||||
var textData = [
|
||||
['source ', engine_text],
|
||||
['version ', info_text],
|
||||
['date ', date],
|
||||
['score ', score_text]];
|
||||
|
||||
return wrapTooltip(textData.map(function(v) { return v.join(': '); }).join('<br />'));
|
||||
});
|
||||
|
||||
// zip data and tooltips
|
||||
// so the array will be like [data, tooltip, data, tooltip, ...]
|
||||
row = row.map(function (v, i) {
|
||||
return [v.score, tooltips[i]];
|
||||
}).reduce(function(a, b) {
|
||||
return a.concat(b)
|
||||
});
|
||||
return [new Date(date)].concat(row);
|
||||
});
|
||||
data.addRows(arrayData);
|
||||
|
||||
// chart options
|
||||
var options = {
|
||||
title: measureType,
|
||||
titleTextStyle: {
|
||||
fontSize: 20,
|
||||
bold: true
|
||||
},
|
||||
legend: { position: 'bottom', alignment: 'vertical' },
|
||||
backgroundColor: '#f8f8f8',
|
||||
hAxis: {
|
||||
title: 'Date',
|
||||
textStyle: {
|
||||
fontSize: 12,
|
||||
bold: false
|
||||
},
|
||||
titleTextStyle: {
|
||||
fontSize: 16,
|
||||
bold: true
|
||||
},
|
||||
format: 'yyyy-MM-dd'
|
||||
},
|
||||
vAxis: {
|
||||
minValue: 0,
|
||||
title: measureType + ' (' + measureUnits[measureType] + ')',
|
||||
textStyle: {
|
||||
fontSize: 12,
|
||||
bold: false
|
||||
},
|
||||
titleTextStyle: {
|
||||
fontSize: 16,
|
||||
bold: true
|
||||
}
|
||||
},
|
||||
tooltip: {
|
||||
isHtml: true,
|
||||
trigger: 'both'
|
||||
}
|
||||
};
|
||||
|
||||
// draw chart
|
||||
var divObj = document.getElementById(
|
||||
['chart', benchmark, measureType].join('_'));
|
||||
if (divObj) {
|
||||
var chart = new google.visualization.LineChart(divObj);
|
||||
chart.draw(data, options);
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
function getParameterByName(name) {
|
||||
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
|
||||
var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
|
||||
results = regex.exec(location.search);
|
||||
return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
|
||||
}
|
||||
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "9c559216b7b72cf5073cc4dea644ae332d3c140b",
|
||||
"size": 173764
|
||||
},
|
||||
"duktape": {
|
||||
"version": "cd2c19761b07e8d675f2079328fbfc9dd9c3b83a",
|
||||
"size": 157632
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.55867,
|
||||
"3d-cube.js": 6.03467,
|
||||
"access-fannkuch.js": 15.6373,
|
||||
"access-nbody.js": 7.07733,
|
||||
"bitops-bitwise-and.js": 5.27733,
|
||||
"math-partial-sums.js": 3.052,
|
||||
"controlflow-recursive.js": 4.31333,
|
||||
"bitops-bits-in-byte.js": 7.08667,
|
||||
"access-binary-trees.js": 3.68267,
|
||||
"bitops-3bit-bits-in-byte.js": 5.06267,
|
||||
"string-fasta.js": 36.3067,
|
||||
"math-cordic.js": 8.172
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.048,
|
||||
"3d-cube.js": 1.17333,
|
||||
"access-fannkuch.js": 1.988,
|
||||
"access-nbody.js": 1.74667,
|
||||
"bitops-bitwise-and.js": 7.30267,
|
||||
"math-partial-sums.js": 2.80933,
|
||||
"controlflow-recursive.js": 1.24933,
|
||||
"bitops-bits-in-byte.js": 0.934667,
|
||||
"access-binary-trees.js": 1.292,
|
||||
"bitops-3bit-bits-in-byte.js": 0.593333,
|
||||
"string-fasta.js": 4.72533,
|
||||
"math-cordic.js": 2.544
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 160,
|
||||
"access-fannkuch.js": 52,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 224,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 84,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 192,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 140,
|
||||
"math-partial-sums.js": 144,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 140,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 140,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 144
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 45.3133,
|
||||
"function-empty.js": 31.348,
|
||||
"function-excess-args.js": 61.9253,
|
||||
"function-closure.js": 5.09867,
|
||||
"function-missing-args.js": 64.3867,
|
||||
"loop-sum.js": 50.6907,
|
||||
"loop-empty-resolve.js": 5.14533,
|
||||
"function-correct-args.js": 86.9693,
|
||||
"function-sum.js": 47.9907
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 56.012,
|
||||
"function-empty.js": 40.1773,
|
||||
"function-excess-args.js": 32.252,
|
||||
"function-closure.js": 19.872,
|
||||
"function-missing-args.js": 31.0453,
|
||||
"loop-sum.js": 73.62,
|
||||
"loop-empty-resolve.js": 6.752,
|
||||
"function-correct-args.js": 32.336,
|
||||
"function-sum.js": 26.736
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 140,
|
||||
"function-excess-args.js": 140,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 140,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 140,
|
||||
"function-sum.js": 140
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "9c559216b7b72cf5073cc4dea644ae332d3c140b",
|
||||
"size": 173764
|
||||
},
|
||||
"duktape": {
|
||||
"version": "cd2c19761b07e8d675f2079328fbfc9dd9c3b83a",
|
||||
"size": 157632
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.55467,
|
||||
"3d-cube.js": 6.02533,
|
||||
"access-fannkuch.js": 15.612,
|
||||
"access-nbody.js": 7.05467,
|
||||
"bitops-bitwise-and.js": 5.276,
|
||||
"math-partial-sums.js": 3.05467,
|
||||
"controlflow-recursive.js": 4.33333,
|
||||
"bitops-bits-in-byte.js": 7.08267,
|
||||
"access-binary-trees.js": 3.676,
|
||||
"bitops-3bit-bits-in-byte.js": 5.05467,
|
||||
"string-fasta.js": 36.324,
|
||||
"math-cordic.js": 8.176
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.052,
|
||||
"3d-cube.js": 1.17733,
|
||||
"access-fannkuch.js": 1.98533,
|
||||
"access-nbody.js": 1.74533,
|
||||
"bitops-bitwise-and.js": 7.31867,
|
||||
"math-partial-sums.js": 2.80933,
|
||||
"controlflow-recursive.js": 1.248,
|
||||
"bitops-bits-in-byte.js": 0.936,
|
||||
"access-binary-trees.js": 1.29867,
|
||||
"bitops-3bit-bits-in-byte.js": 0.592,
|
||||
"string-fasta.js": 4.73067,
|
||||
"math-cordic.js": 2.53867
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 160,
|
||||
"access-fannkuch.js": 52,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 224,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 84,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 192,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 140,
|
||||
"math-partial-sums.js": 144,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 140,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 140,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 144
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 45.3093,
|
||||
"function-empty.js": 31.2987,
|
||||
"function-excess-args.js": 61.9293,
|
||||
"function-closure.js": 5.09467,
|
||||
"function-missing-args.js": 64.3147,
|
||||
"loop-sum.js": 50.704,
|
||||
"loop-empty-resolve.js": 5.14533,
|
||||
"function-correct-args.js": 86.956,
|
||||
"function-sum.js": 48.032
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 56.0093,
|
||||
"function-empty.js": 40.1587,
|
||||
"function-excess-args.js": 32.276,
|
||||
"function-closure.js": 19.924,
|
||||
"function-missing-args.js": 31.044,
|
||||
"loop-sum.js": 73.604,
|
||||
"loop-empty-resolve.js": 6.748,
|
||||
"function-correct-args.js": 32.4333,
|
||||
"function-sum.js": 26.86
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 140,
|
||||
"function-excess-args.js": 140,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 140,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 140,
|
||||
"function-sum.js": 140
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "13cf31413f6a3a1683c62ac4ed3f19d98d9b2cd2",
|
||||
"size": 173764
|
||||
},
|
||||
"duktape": {
|
||||
"version": "cd2c19761b07e8d675f2079328fbfc9dd9c3b83a",
|
||||
"size": 157632
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.55467,
|
||||
"3d-cube.js": 6.03333,
|
||||
"access-fannkuch.js": 15.6333,
|
||||
"access-nbody.js": 7.07867,
|
||||
"bitops-bitwise-and.js": 5.27733,
|
||||
"math-partial-sums.js": 3.05333,
|
||||
"controlflow-recursive.js": 4.34267,
|
||||
"bitops-bits-in-byte.js": 7.09733,
|
||||
"access-binary-trees.js": 3.68267,
|
||||
"bitops-3bit-bits-in-byte.js": 5.04533,
|
||||
"string-fasta.js": 36.2973,
|
||||
"math-cordic.js": 8.18133
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.04933,
|
||||
"3d-cube.js": 1.176,
|
||||
"access-fannkuch.js": 1.98267,
|
||||
"access-nbody.js": 1.74933,
|
||||
"bitops-bitwise-and.js": 7.272,
|
||||
"math-partial-sums.js": 2.812,
|
||||
"controlflow-recursive.js": 1.248,
|
||||
"bitops-bits-in-byte.js": 0.934667,
|
||||
"access-binary-trees.js": 1.30133,
|
||||
"bitops-3bit-bits-in-byte.js": 0.590667,
|
||||
"string-fasta.js": 4.72133,
|
||||
"math-cordic.js": 2.544
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 160,
|
||||
"access-fannkuch.js": 52,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 224,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 84,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 192,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 140,
|
||||
"math-partial-sums.js": 144,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 140,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 140,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 144
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 45.3107,
|
||||
"function-empty.js": 31.348,
|
||||
"function-excess-args.js": 61.94,
|
||||
"function-closure.js": 5.09467,
|
||||
"function-missing-args.js": 64.3307,
|
||||
"loop-sum.js": 50.6613,
|
||||
"loop-empty-resolve.js": 5.14,
|
||||
"function-correct-args.js": 86.944,
|
||||
"function-sum.js": 47.968
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 56.0307,
|
||||
"function-empty.js": 40.1453,
|
||||
"function-excess-args.js": 32.2893,
|
||||
"function-closure.js": 19.9533,
|
||||
"function-missing-args.js": 31.0787,
|
||||
"loop-sum.js": 73.6507,
|
||||
"loop-empty-resolve.js": 6.74133,
|
||||
"function-correct-args.js": 32.324,
|
||||
"function-sum.js": 26.808
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 140,
|
||||
"function-excess-args.js": 140,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 140,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 140,
|
||||
"function-sum.js": 140
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "bc0ca7be5d1081e8a1115b870237f8d3f19b32d9",
|
||||
"size": 173768
|
||||
},
|
||||
"duktape": {
|
||||
"version": "cd2c19761b07e8d675f2079328fbfc9dd9c3b83a",
|
||||
"size": 157632
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.60933,
|
||||
"3d-cube.js": 5.968,
|
||||
"access-fannkuch.js": 15.7533,
|
||||
"access-nbody.js": 7.09867,
|
||||
"bitops-bitwise-and.js": 5.572,
|
||||
"math-partial-sums.js": 3.12667,
|
||||
"controlflow-recursive.js": 4.45333,
|
||||
"bitops-bits-in-byte.js": 7.13067,
|
||||
"access-binary-trees.js": 3.73733,
|
||||
"bitops-3bit-bits-in-byte.js": 5.11333,
|
||||
"string-fasta.js": 36.2867,
|
||||
"math-cordic.js": 8.26933
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.05067,
|
||||
"3d-cube.js": 1.17867,
|
||||
"access-fannkuch.js": 1.984,
|
||||
"access-nbody.js": 1.748,
|
||||
"bitops-bitwise-and.js": 7.3,
|
||||
"math-partial-sums.js": 2.812,
|
||||
"controlflow-recursive.js": 1.248,
|
||||
"bitops-bits-in-byte.js": 0.937333,
|
||||
"access-binary-trees.js": 1.296,
|
||||
"bitops-3bit-bits-in-byte.js": 0.590667,
|
||||
"string-fasta.js": 4.74133,
|
||||
"math-cordic.js": 2.54533
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 52,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 232,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 84,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 52,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 192,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 140,
|
||||
"math-partial-sums.js": 144,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 140,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 140,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 144
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 46.3,
|
||||
"function-empty.js": 34.4373,
|
||||
"function-excess-args.js": 64.692,
|
||||
"function-closure.js": 5.40933,
|
||||
"function-missing-args.js": 67.6853,
|
||||
"loop-sum.js": 51.9187,
|
||||
"loop-empty-resolve.js": 5.256,
|
||||
"function-correct-args.js": 90.2733,
|
||||
"function-sum.js": 49.968
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 56.0267,
|
||||
"function-empty.js": 40.184,
|
||||
"function-excess-args.js": 32.332,
|
||||
"function-closure.js": 19.8213,
|
||||
"function-missing-args.js": 31.0187,
|
||||
"loop-sum.js": 73.6293,
|
||||
"loop-empty-resolve.js": 6.752,
|
||||
"function-correct-args.js": 32.332,
|
||||
"function-sum.js": 26.8
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 140,
|
||||
"function-excess-args.js": 140,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 140,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 140,
|
||||
"function-sum.js": 140
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "7ccec19c268352314d1e48365d17f65e3dd6287f",
|
||||
"size": 173768
|
||||
},
|
||||
"duktape": {
|
||||
"version": "cd2c19761b07e8d675f2079328fbfc9dd9c3b83a",
|
||||
"size": 157632
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.688,
|
||||
"3d-cube.js": 6.64267,
|
||||
"access-fannkuch.js": 16.1907,
|
||||
"access-nbody.js": 7.11467,
|
||||
"bitops-bitwise-and.js": 5.28533,
|
||||
"math-partial-sums.js": 3.376,
|
||||
"controlflow-recursive.js": 4.44267,
|
||||
"bitops-bits-in-byte.js": 7.784,
|
||||
"access-binary-trees.js": 3.35333,
|
||||
"bitops-3bit-bits-in-byte.js": 5.348,
|
||||
"string-fasta.js": 36.2507,
|
||||
"math-cordic.js": 8.64933
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.052,
|
||||
"3d-cube.js": 1.176,
|
||||
"access-fannkuch.js": 1.988,
|
||||
"access-nbody.js": 1.74267,
|
||||
"bitops-bitwise-and.js": 7.29067,
|
||||
"math-partial-sums.js": 2.812,
|
||||
"controlflow-recursive.js": 1.24667,
|
||||
"bitops-bits-in-byte.js": 0.933333,
|
||||
"access-binary-trees.js": 1.3,
|
||||
"bitops-3bit-bits-in-byte.js": 0.592,
|
||||
"string-fasta.js": 4.736,
|
||||
"math-cordic.js": 2.536
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 52,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 236,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 92,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 192,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 140,
|
||||
"math-partial-sums.js": 144,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 140,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 140,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 144
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 45.1187,
|
||||
"function-empty.js": 32.1413,
|
||||
"function-excess-args.js": 62.8133,
|
||||
"function-closure.js": 5.26133,
|
||||
"function-missing-args.js": 65.0187,
|
||||
"loop-sum.js": 50.4533,
|
||||
"loop-empty-resolve.js": 5.12267,
|
||||
"function-correct-args.js": 87.9467,
|
||||
"function-sum.js": 48.66
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 55.9547,
|
||||
"function-empty.js": 40.1253,
|
||||
"function-excess-args.js": 32.284,
|
||||
"function-closure.js": 19.904,
|
||||
"function-missing-args.js": 30.9787,
|
||||
"loop-sum.js": 73.6333,
|
||||
"loop-empty-resolve.js": 6.76133,
|
||||
"function-correct-args.js": 32.2893,
|
||||
"function-sum.js": 26.732
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 140,
|
||||
"function-excess-args.js": 140,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 140,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 140,
|
||||
"function-sum.js": 140
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "351df6184c62b74f1246e9400fb5180d94882baf",
|
||||
"size": 181960
|
||||
},
|
||||
"duktape": {
|
||||
"version": "cd2c19761b07e8d675f2079328fbfc9dd9c3b83a",
|
||||
"size": 157632
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.76133,
|
||||
"3d-cube.js": 6.68267,
|
||||
"access-fannkuch.js": 16.3613,
|
||||
"access-nbody.js": 7.14133,
|
||||
"bitops-bitwise-and.js": 5.38267,
|
||||
"math-partial-sums.js": 3.38933,
|
||||
"controlflow-recursive.js": 4.48,
|
||||
"bitops-bits-in-byte.js": 7.872,
|
||||
"access-binary-trees.js": 3.35467,
|
||||
"bitops-3bit-bits-in-byte.js": 5.39733,
|
||||
"string-fasta.js": 36.2213,
|
||||
"math-cordic.js": 8.69733
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.05467,
|
||||
"3d-cube.js": 1.176,
|
||||
"access-fannkuch.js": 1.984,
|
||||
"access-nbody.js": 1.74267,
|
||||
"bitops-bitwise-and.js": 7.31067,
|
||||
"math-partial-sums.js": 2.812,
|
||||
"controlflow-recursive.js": 1.24667,
|
||||
"bitops-bits-in-byte.js": 0.936,
|
||||
"access-binary-trees.js": 1.296,
|
||||
"bitops-3bit-bits-in-byte.js": 0.592,
|
||||
"string-fasta.js": 4.724,
|
||||
"math-cordic.js": 2.54133
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 52,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 236,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 92,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 192,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 140,
|
||||
"math-partial-sums.js": 144,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 140,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 140,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 144
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 45.9093,
|
||||
"function-empty.js": 32.7053,
|
||||
"function-excess-args.js": 63.4707,
|
||||
"function-closure.js": 5.25467,
|
||||
"function-missing-args.js": 65.5867,
|
||||
"loop-sum.js": 50.8587,
|
||||
"loop-empty-resolve.js": 5.12933,
|
||||
"function-correct-args.js": 88.4387,
|
||||
"function-sum.js": 49.2533
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 55.9947,
|
||||
"function-empty.js": 40.1507,
|
||||
"function-excess-args.js": 32.3307,
|
||||
"function-closure.js": 19.8693,
|
||||
"function-missing-args.js": 31.0453,
|
||||
"loop-sum.js": 73.56,
|
||||
"loop-empty-resolve.js": 6.75067,
|
||||
"function-correct-args.js": 32.3373,
|
||||
"function-sum.js": 26.8133
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 140,
|
||||
"function-excess-args.js": 140,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 140,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 140,
|
||||
"function-sum.js": 140
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "6038173e76265ab30ae7b5b70a4d20633e1de9b7",
|
||||
"size": 181960
|
||||
},
|
||||
"duktape": {
|
||||
"version": "cd2c19761b07e8d675f2079328fbfc9dd9c3b83a",
|
||||
"size": 157632
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.76133,
|
||||
"3d-cube.js": 6.68667,
|
||||
"access-fannkuch.js": 16.3267,
|
||||
"access-nbody.js": 7.148,
|
||||
"bitops-bitwise-and.js": 5.37733,
|
||||
"math-partial-sums.js": 3.39067,
|
||||
"controlflow-recursive.js": 4.47467,
|
||||
"bitops-bits-in-byte.js": 7.864,
|
||||
"access-binary-trees.js": 3.35867,
|
||||
"bitops-3bit-bits-in-byte.js": 5.39733,
|
||||
"string-fasta.js": 36.228,
|
||||
"math-cordic.js": 8.69333
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.036,
|
||||
"3d-cube.js": 1.17333,
|
||||
"access-fannkuch.js": 1.98133,
|
||||
"access-nbody.js": 1.744,
|
||||
"bitops-bitwise-and.js": 7.31467,
|
||||
"math-partial-sums.js": 2.81067,
|
||||
"controlflow-recursive.js": 1.25067,
|
||||
"bitops-bits-in-byte.js": 0.932,
|
||||
"access-binary-trees.js": 1.29733,
|
||||
"bitops-3bit-bits-in-byte.js": 0.590667,
|
||||
"string-fasta.js": 4.73333,
|
||||
"math-cordic.js": 2.54267
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 52,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 236,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 92,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 192,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 140,
|
||||
"math-partial-sums.js": 144,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 140,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 140,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 144
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 45.9267,
|
||||
"function-empty.js": 32.6907,
|
||||
"function-excess-args.js": 63.228,
|
||||
"function-closure.js": 5.24933,
|
||||
"function-missing-args.js": 65.5267,
|
||||
"loop-sum.js": 50.884,
|
||||
"loop-empty-resolve.js": 5.15067,
|
||||
"function-correct-args.js": 88.4173,
|
||||
"function-sum.js": 49.3293
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 56.0027,
|
||||
"function-empty.js": 40.2107,
|
||||
"function-excess-args.js": 32.3027,
|
||||
"function-closure.js": 19.8653,
|
||||
"function-missing-args.js": 31.0053,
|
||||
"loop-sum.js": 73.58,
|
||||
"loop-empty-resolve.js": 6.75467,
|
||||
"function-correct-args.js": 32.3627,
|
||||
"function-sum.js": 26.7067
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 140,
|
||||
"function-excess-args.js": 140,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 140,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 140,
|
||||
"function-sum.js": 140
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "bbfddea032fc622cef6279b308f5d77e135dd19b",
|
||||
"size": 181960
|
||||
},
|
||||
"duktape": {
|
||||
"version": "cd2c19761b07e8d675f2079328fbfc9dd9c3b83a",
|
||||
"size": 157632
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.788,
|
||||
"3d-cube.js": 6.72267,
|
||||
"access-fannkuch.js": 16.44,
|
||||
"access-nbody.js": 7.212,
|
||||
"bitops-bitwise-and.js": 5.38533,
|
||||
"math-partial-sums.js": 3.40267,
|
||||
"controlflow-recursive.js": 4.492,
|
||||
"bitops-bits-in-byte.js": 7.92133,
|
||||
"access-binary-trees.js": 3.384,
|
||||
"bitops-3bit-bits-in-byte.js": 5.41867,
|
||||
"string-fasta.js": 36.2507,
|
||||
"math-cordic.js": 8.73733
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.052,
|
||||
"3d-cube.js": 1.17867,
|
||||
"access-fannkuch.js": 1.98533,
|
||||
"access-nbody.js": 1.744,
|
||||
"bitops-bitwise-and.js": 7.312,
|
||||
"math-partial-sums.js": 2.808,
|
||||
"controlflow-recursive.js": 1.248,
|
||||
"bitops-bits-in-byte.js": 0.936,
|
||||
"access-binary-trees.js": 1.30133,
|
||||
"bitops-3bit-bits-in-byte.js": 0.590667,
|
||||
"string-fasta.js": 4.732,
|
||||
"math-cordic.js": 2.53867
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 52,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 236,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 92,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 192,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 140,
|
||||
"math-partial-sums.js": 144,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 140,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 140,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 144
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 45.7227,
|
||||
"function-empty.js": 32.936,
|
||||
"function-excess-args.js": 63.6613,
|
||||
"function-closure.js": 5.272,
|
||||
"function-missing-args.js": 65.7773,
|
||||
"loop-sum.js": 51.1173,
|
||||
"loop-empty-resolve.js": 5.20533,
|
||||
"function-correct-args.js": 88.6173,
|
||||
"function-sum.js": 49.4933
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 55.9933,
|
||||
"function-empty.js": 40.156,
|
||||
"function-excess-args.js": 32.304,
|
||||
"function-closure.js": 19.9813,
|
||||
"function-missing-args.js": 31.028,
|
||||
"loop-sum.js": 73.5627,
|
||||
"loop-empty-resolve.js": 6.744,
|
||||
"function-correct-args.js": 32.3827,
|
||||
"function-sum.js": 26.8253
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 140,
|
||||
"function-excess-args.js": 140,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 140,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 140,
|
||||
"function-sum.js": 140
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "bbfddea032fc622cef6279b308f5d77e135dd19b",
|
||||
"size": 181960
|
||||
},
|
||||
"duktape": {
|
||||
"version": "cd2c19761b07e8d675f2079328fbfc9dd9c3b83a",
|
||||
"size": 157632
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.788,
|
||||
"3d-cube.js": 6.69867,
|
||||
"access-fannkuch.js": 16.4787,
|
||||
"access-nbody.js": 7.20533,
|
||||
"bitops-bitwise-and.js": 5.38267,
|
||||
"math-partial-sums.js": 3.40267,
|
||||
"controlflow-recursive.js": 4.472,
|
||||
"bitops-bits-in-byte.js": 7.90933,
|
||||
"access-binary-trees.js": 3.37067,
|
||||
"bitops-3bit-bits-in-byte.js": 5.428,
|
||||
"string-fasta.js": 36.272,
|
||||
"math-cordic.js": 8.74133
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.05467,
|
||||
"3d-cube.js": 1.17733,
|
||||
"access-fannkuch.js": 1.98133,
|
||||
"access-nbody.js": 1.74667,
|
||||
"bitops-bitwise-and.js": 7.30133,
|
||||
"math-partial-sums.js": 2.82267,
|
||||
"controlflow-recursive.js": 1.248,
|
||||
"bitops-bits-in-byte.js": 0.934667,
|
||||
"access-binary-trees.js": 1.30133,
|
||||
"bitops-3bit-bits-in-byte.js": 0.592,
|
||||
"string-fasta.js": 4.71733,
|
||||
"math-cordic.js": 2.544
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 52,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 236,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 92,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 192,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 140,
|
||||
"math-partial-sums.js": 144,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 140,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 140,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 144
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 45.7107,
|
||||
"function-empty.js": 32.9267,
|
||||
"function-excess-args.js": 63.78,
|
||||
"function-closure.js": 5.26267,
|
||||
"function-missing-args.js": 65.8,
|
||||
"loop-sum.js": 51.1907,
|
||||
"loop-empty-resolve.js": 5.22,
|
||||
"function-correct-args.js": 88.6333,
|
||||
"function-sum.js": 49.5533
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 55.8693,
|
||||
"function-empty.js": 40.2093,
|
||||
"function-excess-args.js": 32.308,
|
||||
"function-closure.js": 19.9347,
|
||||
"function-missing-args.js": 31.012,
|
||||
"loop-sum.js": 73.4987,
|
||||
"loop-empty-resolve.js": 6.73467,
|
||||
"function-correct-args.js": 32.3253,
|
||||
"function-sum.js": 26.748
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 140,
|
||||
"function-excess-args.js": 140,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 140,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 140,
|
||||
"function-sum.js": 140
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "bbfddea032fc622cef6279b308f5d77e135dd19b",
|
||||
"size": 181960
|
||||
},
|
||||
"duktape": {
|
||||
"version": "6fed0c9a7a0c96c69918821063d26525b40f80b4",
|
||||
"size": 157632
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.77867,
|
||||
"3d-cube.js": 6.708,
|
||||
"access-fannkuch.js": 16.472,
|
||||
"access-nbody.js": 7.212,
|
||||
"bitops-bitwise-and.js": 5.396,
|
||||
"math-partial-sums.js": 3.39867,
|
||||
"controlflow-recursive.js": 4.488,
|
||||
"bitops-bits-in-byte.js": 7.92133,
|
||||
"access-binary-trees.js": 3.38267,
|
||||
"bitops-3bit-bits-in-byte.js": 5.41867,
|
||||
"string-fasta.js": 36.264,
|
||||
"math-cordic.js": 8.74667
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.056,
|
||||
"3d-cube.js": 1.17867,
|
||||
"access-fannkuch.js": 1.98,
|
||||
"access-nbody.js": 1.74133,
|
||||
"bitops-bitwise-and.js": 7.308,
|
||||
"math-partial-sums.js": 2.81333,
|
||||
"controlflow-recursive.js": 1.25067,
|
||||
"bitops-bits-in-byte.js": 0.933333,
|
||||
"access-binary-trees.js": 1.3,
|
||||
"bitops-3bit-bits-in-byte.js": 0.593333,
|
||||
"string-fasta.js": 4.73867,
|
||||
"math-cordic.js": 2.53867
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 52,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 236,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 92,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 192,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 140,
|
||||
"math-partial-sums.js": 144,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 140,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 140,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 144
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 45.644,
|
||||
"function-empty.js": 32.9213,
|
||||
"function-excess-args.js": 63.7093,
|
||||
"function-closure.js": 5.27467,
|
||||
"function-missing-args.js": 65.8,
|
||||
"loop-sum.js": 51.216,
|
||||
"loop-empty-resolve.js": 5.22,
|
||||
"function-correct-args.js": 88.652,
|
||||
"function-sum.js": 49.4493
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 56.04,
|
||||
"function-empty.js": 40.184,
|
||||
"function-excess-args.js": 32.2707,
|
||||
"function-closure.js": 19.864,
|
||||
"function-missing-args.js": 31.0587,
|
||||
"loop-sum.js": 73.5787,
|
||||
"loop-empty-resolve.js": 6.74933,
|
||||
"function-correct-args.js": 32.4067,
|
||||
"function-sum.js": 26.796
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 140,
|
||||
"function-excess-args.js": 140,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 140,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 140,
|
||||
"function-sum.js": 140
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "c7a47c17918e32267628218e164f5ee4e97e54d6",
|
||||
"size": 181960
|
||||
},
|
||||
"duktape": {
|
||||
"version": "6fed0c9a7a0c96c69918821063d26525b40f80b4",
|
||||
"size": 157632
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.72,
|
||||
"3d-cube.js": 6.67467,
|
||||
"access-fannkuch.js": 16.1787,
|
||||
"access-nbody.js": 7.136,
|
||||
"bitops-bitwise-and.js": 5.35467,
|
||||
"math-partial-sums.js": 3.36533,
|
||||
"controlflow-recursive.js": 4.504,
|
||||
"bitops-bits-in-byte.js": 7.968,
|
||||
"access-binary-trees.js": 3.37467,
|
||||
"bitops-3bit-bits-in-byte.js": 5.444,
|
||||
"string-fasta.js": 36.4587,
|
||||
"math-cordic.js": 8.66933
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.056,
|
||||
"3d-cube.js": 1.17733,
|
||||
"access-fannkuch.js": 1.988,
|
||||
"access-nbody.js": 1.748,
|
||||
"bitops-bitwise-and.js": 7.31333,
|
||||
"math-partial-sums.js": 2.812,
|
||||
"controlflow-recursive.js": 1.25067,
|
||||
"bitops-bits-in-byte.js": 0.936,
|
||||
"access-binary-trees.js": 1.30133,
|
||||
"bitops-3bit-bits-in-byte.js": 0.590667,
|
||||
"string-fasta.js": 4.74267,
|
||||
"math-cordic.js": 2.54
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 52,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 236,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 92,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 52,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 192,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 140,
|
||||
"math-partial-sums.js": 144,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 140,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 140,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 144
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 45.1773,
|
||||
"function-empty.js": 32.72,
|
||||
"function-excess-args.js": 63.996,
|
||||
"function-closure.js": 5.44933,
|
||||
"function-missing-args.js": 66.0,
|
||||
"loop-sum.js": 50.388,
|
||||
"loop-empty-resolve.js": 5.16933,
|
||||
"function-correct-args.js": 89.492,
|
||||
"function-sum.js": 49.6773
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 55.932,
|
||||
"function-empty.js": 40.176,
|
||||
"function-excess-args.js": 32.1893,
|
||||
"function-closure.js": 19.8467,
|
||||
"function-missing-args.js": 31.044,
|
||||
"loop-sum.js": 73.6827,
|
||||
"loop-empty-resolve.js": 6.75067,
|
||||
"function-correct-args.js": 32.3013,
|
||||
"function-sum.js": 26.7853
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 140,
|
||||
"function-excess-args.js": 140,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 140,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 140,
|
||||
"function-sum.js": 140
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "7c1622855da1c4757d9c76c3bcdac3e47408ed76",
|
||||
"size": 186056
|
||||
},
|
||||
"duktape": {
|
||||
"version": "8e9117160b252d93a936d1231c84388adedefb32",
|
||||
"size": 157632
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.76267,
|
||||
"3d-cube.js": 6.704,
|
||||
"access-fannkuch.js": 16.532,
|
||||
"access-nbody.js": 7.40533,
|
||||
"bitops-bitwise-and.js": 5.32133,
|
||||
"math-partial-sums.js": 3.47733,
|
||||
"controlflow-recursive.js": 4.572,
|
||||
"bitops-bits-in-byte.js": 7.81733,
|
||||
"access-binary-trees.js": 3.46533,
|
||||
"bitops-3bit-bits-in-byte.js": 5.404,
|
||||
"string-fasta.js": 36.3987,
|
||||
"math-cordic.js": 8.79867
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.05333,
|
||||
"3d-cube.js": 1.17467,
|
||||
"access-fannkuch.js": 1.98267,
|
||||
"access-nbody.js": 1.74933,
|
||||
"bitops-bitwise-and.js": 7.308,
|
||||
"math-partial-sums.js": 2.812,
|
||||
"controlflow-recursive.js": 1.25067,
|
||||
"bitops-bits-in-byte.js": 0.933333,
|
||||
"access-binary-trees.js": 1.3,
|
||||
"bitops-3bit-bits-in-byte.js": 0.590667,
|
||||
"string-fasta.js": 4.73867,
|
||||
"math-cordic.js": 2.54133
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 52,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 236,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 92,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 192,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 140,
|
||||
"math-partial-sums.js": 144,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 140,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 140,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 144
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 46.2027,
|
||||
"function-empty.js": 32.7427,
|
||||
"function-excess-args.js": 65.0587,
|
||||
"function-closure.js": 5.44533,
|
||||
"function-missing-args.js": 67.048,
|
||||
"loop-sum.js": 51.3,
|
||||
"loop-empty-resolve.js": 5.16267,
|
||||
"function-correct-args.js": 90.692,
|
||||
"function-sum.js": 50.68
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 56.0573,
|
||||
"function-empty.js": 40.1853,
|
||||
"function-excess-args.js": 32.288,
|
||||
"function-closure.js": 19.956,
|
||||
"function-missing-args.js": 31.0013,
|
||||
"loop-sum.js": 73.5787,
|
||||
"loop-empty-resolve.js": 6.75467,
|
||||
"function-correct-args.js": 32.268,
|
||||
"function-sum.js": 26.74
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 140,
|
||||
"function-excess-args.js": 140,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 140,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 140,
|
||||
"function-sum.js": 140
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "63083b3b51157b0f02d1170fc0296845f2bcf79f",
|
||||
"size": 186056
|
||||
},
|
||||
"duktape": {
|
||||
"version": "30613ee6f7248d88abde62d0492cd1ee88e3eda3",
|
||||
"size": 157632
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.76667,
|
||||
"3d-cube.js": 6.74,
|
||||
"access-fannkuch.js": 16.3733,
|
||||
"access-nbody.js": 7.19067,
|
||||
"bitops-bitwise-and.js": 5.488,
|
||||
"math-partial-sums.js": 3.416,
|
||||
"controlflow-recursive.js": 4.53467,
|
||||
"bitops-bits-in-byte.js": 7.988,
|
||||
"access-binary-trees.js": 3.41067,
|
||||
"bitops-3bit-bits-in-byte.js": 5.48267,
|
||||
"string-fasta.js": 36.5333,
|
||||
"math-cordic.js": 8.828
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.052,
|
||||
"3d-cube.js": 1.176,
|
||||
"access-fannkuch.js": 1.98,
|
||||
"access-nbody.js": 1.74,
|
||||
"bitops-bitwise-and.js": 7.292,
|
||||
"math-partial-sums.js": 2.81333,
|
||||
"controlflow-recursive.js": 1.24933,
|
||||
"bitops-bits-in-byte.js": 0.934667,
|
||||
"access-binary-trees.js": 1.29733,
|
||||
"bitops-3bit-bits-in-byte.js": 0.589333,
|
||||
"string-fasta.js": 4.73867,
|
||||
"math-cordic.js": 2.54
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 52,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 236,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 92,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 192,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 140,
|
||||
"math-partial-sums.js": 144,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 140,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 140,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 144
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 47.124,
|
||||
"function-empty.js": 33.7227,
|
||||
"function-excess-args.js": 64.1573,
|
||||
"function-closure.js": 5.46667,
|
||||
"function-missing-args.js": 66.4093,
|
||||
"loop-sum.js": 52.38,
|
||||
"loop-empty-resolve.js": 5.32,
|
||||
"function-correct-args.js": 89.7587,
|
||||
"function-sum.js": 50.136
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 56.0293,
|
||||
"function-empty.js": 40.168,
|
||||
"function-excess-args.js": 32.2987,
|
||||
"function-closure.js": 19.952,
|
||||
"function-missing-args.js": 31.0747,
|
||||
"loop-sum.js": 73.6333,
|
||||
"loop-empty-resolve.js": 6.75867,
|
||||
"function-correct-args.js": 32.3653,
|
||||
"function-sum.js": 26.792
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 140,
|
||||
"function-excess-args.js": 140,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 140,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 140,
|
||||
"function-sum.js": 140
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "11c310322b0b09e8d60c72ee5263798938a8d9e0",
|
||||
"size": 186056
|
||||
},
|
||||
"duktape": {
|
||||
"version": "5b2a3f53f020b816957129ac448efad1b701e895",
|
||||
"size": 157632
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.73067,
|
||||
"3d-cube.js": 6.70267,
|
||||
"access-fannkuch.js": 16.3107,
|
||||
"access-nbody.js": 7.104,
|
||||
"bitops-bitwise-and.js": 5.34267,
|
||||
"math-partial-sums.js": 3.36533,
|
||||
"controlflow-recursive.js": 4.492,
|
||||
"bitops-bits-in-byte.js": 7.97467,
|
||||
"access-binary-trees.js": 3.392,
|
||||
"bitops-3bit-bits-in-byte.js": 5.464,
|
||||
"string-fasta.js": 36.4493,
|
||||
"math-cordic.js": 8.74533
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.03467,
|
||||
"3d-cube.js": 1.16933,
|
||||
"access-fannkuch.js": 1.97867,
|
||||
"access-nbody.js": 1.748,
|
||||
"bitops-bitwise-and.js": 7.26267,
|
||||
"math-partial-sums.js": 2.82,
|
||||
"controlflow-recursive.js": 1.24933,
|
||||
"bitops-bits-in-byte.js": 0.936,
|
||||
"access-binary-trees.js": 1.29867,
|
||||
"bitops-3bit-bits-in-byte.js": 0.589333,
|
||||
"string-fasta.js": 4.66933,
|
||||
"math-cordic.js": 2.54
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 52,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 236,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 92,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 192,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 140,
|
||||
"math-partial-sums.js": 144,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 140,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 140,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 144
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 45.8547,
|
||||
"function-empty.js": 33.0987,
|
||||
"function-excess-args.js": 63.9347,
|
||||
"function-closure.js": 5.32667,
|
||||
"function-missing-args.js": 66.0027,
|
||||
"loop-sum.js": 50.5773,
|
||||
"loop-empty-resolve.js": 5.224,
|
||||
"function-correct-args.js": 88.84,
|
||||
"function-sum.js": 49.6773
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 55.7987,
|
||||
"function-empty.js": 39.904,
|
||||
"function-excess-args.js": 31.932,
|
||||
"function-closure.js": 19.5653,
|
||||
"function-missing-args.js": 30.6627,
|
||||
"loop-sum.js": 73.58,
|
||||
"loop-empty-resolve.js": 6.73333,
|
||||
"function-correct-args.js": 32.0533,
|
||||
"function-sum.js": 26.408
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 140,
|
||||
"function-excess-args.js": 140,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 140,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 140,
|
||||
"function-sum.js": 140
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "fc45b805794b335210a989a0a1d6d63598b84f91",
|
||||
"size": 190152
|
||||
},
|
||||
"duktape": {
|
||||
"version": "948d625b259e442581196842f4feba86f6ae94b9",
|
||||
"size": 157632
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.74,
|
||||
"3d-cube.js": 6.66667,
|
||||
"access-fannkuch.js": 16.128,
|
||||
"access-nbody.js": 7.08267,
|
||||
"bitops-bitwise-and.js": 5.33467,
|
||||
"math-partial-sums.js": 3.35067,
|
||||
"controlflow-recursive.js": 4.536,
|
||||
"bitops-bits-in-byte.js": 7.88933,
|
||||
"access-binary-trees.js": 3.408,
|
||||
"bitops-3bit-bits-in-byte.js": 5.41867,
|
||||
"string-fasta.js": 36.5733,
|
||||
"math-cordic.js": 8.70133
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.02933,
|
||||
"3d-cube.js": 1.172,
|
||||
"access-fannkuch.js": 1.97867,
|
||||
"access-nbody.js": 1.752,
|
||||
"bitops-bitwise-and.js": 7.27733,
|
||||
"math-partial-sums.js": 2.808,
|
||||
"controlflow-recursive.js": 1.25067,
|
||||
"bitops-bits-in-byte.js": 0.934667,
|
||||
"access-binary-trees.js": 1.29733,
|
||||
"bitops-3bit-bits-in-byte.js": 0.592,
|
||||
"string-fasta.js": 4.656,
|
||||
"math-cordic.js": 2.54667
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 52,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 236,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 92,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 192,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 140,
|
||||
"math-partial-sums.js": 144,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 140,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 140,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 144
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 45.2413,
|
||||
"function-empty.js": 32.808,
|
||||
"function-excess-args.js": 63.4547,
|
||||
"function-closure.js": 5.32667,
|
||||
"function-missing-args.js": 65.5533,
|
||||
"loop-sum.js": 50.62,
|
||||
"loop-empty-resolve.js": 5.12133,
|
||||
"function-correct-args.js": 89.024,
|
||||
"function-sum.js": 49.3933
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 55.8333,
|
||||
"function-empty.js": 39.8667,
|
||||
"function-excess-args.js": 31.936,
|
||||
"function-closure.js": 19.6213,
|
||||
"function-missing-args.js": 30.712,
|
||||
"loop-sum.js": 73.6693,
|
||||
"loop-empty-resolve.js": 6.73333,
|
||||
"function-correct-args.js": 32.14,
|
||||
"function-sum.js": 26.4307
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 140,
|
||||
"function-excess-args.js": 140,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 140,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 140,
|
||||
"function-sum.js": 140
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "fc45b805794b335210a989a0a1d6d63598b84f91",
|
||||
"size": 190152
|
||||
},
|
||||
"duktape": {
|
||||
"version": "6865293847bfeefd449da482a20d25c85096b4c8",
|
||||
"size": 157632
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.74267,
|
||||
"3d-cube.js": 6.66133,
|
||||
"access-fannkuch.js": 16.0933,
|
||||
"access-nbody.js": 7.07333,
|
||||
"bitops-bitwise-and.js": 5.32933,
|
||||
"math-partial-sums.js": 3.34133,
|
||||
"controlflow-recursive.js": 4.516,
|
||||
"bitops-bits-in-byte.js": 7.88667,
|
||||
"access-binary-trees.js": 3.408,
|
||||
"bitops-3bit-bits-in-byte.js": 5.40933,
|
||||
"string-fasta.js": 36.56,
|
||||
"math-cordic.js": 8.704
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.03467,
|
||||
"3d-cube.js": 1.16533,
|
||||
"access-fannkuch.js": 1.968,
|
||||
"access-nbody.js": 1.74133,
|
||||
"bitops-bitwise-and.js": 7.28533,
|
||||
"math-partial-sums.js": 2.82667,
|
||||
"controlflow-recursive.js": 1.252,
|
||||
"bitops-bits-in-byte.js": 0.930667,
|
||||
"access-binary-trees.js": 1.29467,
|
||||
"bitops-3bit-bits-in-byte.js": 0.588,
|
||||
"string-fasta.js": 4.66533,
|
||||
"math-cordic.js": 2.512
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 52,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 236,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 92,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 192,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 140,
|
||||
"math-partial-sums.js": 144,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 140,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 140,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 144
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 45.28,
|
||||
"function-empty.js": 32.8533,
|
||||
"function-excess-args.js": 63.3933,
|
||||
"function-closure.js": 5.31733,
|
||||
"function-missing-args.js": 65.5333,
|
||||
"loop-sum.js": 50.6213,
|
||||
"loop-empty-resolve.js": 5.132,
|
||||
"function-correct-args.js": 89.0427,
|
||||
"function-sum.js": 49.4067
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 55.756,
|
||||
"function-empty.js": 39.8907,
|
||||
"function-excess-args.js": 31.948,
|
||||
"function-closure.js": 19.4587,
|
||||
"function-missing-args.js": 30.7013,
|
||||
"loop-sum.js": 73.6293,
|
||||
"loop-empty-resolve.js": 6.72667,
|
||||
"function-correct-args.js": 32.1413,
|
||||
"function-sum.js": 26.3787
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 140,
|
||||
"function-excess-args.js": 140,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 140,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 140,
|
||||
"function-sum.js": 140
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "fc45b805794b335210a989a0a1d6d63598b84f91",
|
||||
"size": 190152
|
||||
},
|
||||
"duktape": {
|
||||
"version": "1f2368ec5b2120c1da1c8e92d57720d044950784",
|
||||
"size": 157632
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.74,
|
||||
"3d-cube.js": 6.68,
|
||||
"access-fannkuch.js": 16.072,
|
||||
"access-nbody.js": 7.068,
|
||||
"bitops-bitwise-and.js": 5.33067,
|
||||
"math-partial-sums.js": 3.352,
|
||||
"controlflow-recursive.js": 4.54667,
|
||||
"bitops-bits-in-byte.js": 7.87867,
|
||||
"access-binary-trees.js": 3.41333,
|
||||
"bitops-3bit-bits-in-byte.js": 5.40133,
|
||||
"string-fasta.js": 36.584,
|
||||
"math-cordic.js": 8.70533
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.03333,
|
||||
"3d-cube.js": 1.172,
|
||||
"access-fannkuch.js": 1.97733,
|
||||
"access-nbody.js": 1.75067,
|
||||
"bitops-bitwise-and.js": 7.28,
|
||||
"math-partial-sums.js": 2.82933,
|
||||
"controlflow-recursive.js": 1.252,
|
||||
"bitops-bits-in-byte.js": 0.929333,
|
||||
"access-binary-trees.js": 1.29867,
|
||||
"bitops-3bit-bits-in-byte.js": 0.590667,
|
||||
"string-fasta.js": 4.68933,
|
||||
"math-cordic.js": 2.54
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 52,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 236,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 92,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 192,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 140,
|
||||
"math-partial-sums.js": 144,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 140,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 140,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 144
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 45.26,
|
||||
"function-empty.js": 32.8307,
|
||||
"function-excess-args.js": 63.544,
|
||||
"function-closure.js": 5.308,
|
||||
"function-missing-args.js": 65.572,
|
||||
"loop-sum.js": 50.6853,
|
||||
"loop-empty-resolve.js": 5.13333,
|
||||
"function-correct-args.js": 89.0667,
|
||||
"function-sum.js": 49.3453
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 55.8827,
|
||||
"function-empty.js": 40.3307,
|
||||
"function-excess-args.js": 32.3413,
|
||||
"function-closure.js": 19.5213,
|
||||
"function-missing-args.js": 31.0227,
|
||||
"loop-sum.js": 73.584,
|
||||
"loop-empty-resolve.js": 6.74133,
|
||||
"function-correct-args.js": 32.088,
|
||||
"function-sum.js": 26.4693
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 140,
|
||||
"function-excess-args.js": 140,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 140,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 140,
|
||||
"function-sum.js": 140
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "e34ab90e61baa478191819eb18700b69717fa743",
|
||||
"size": 190152
|
||||
},
|
||||
"duktape": {
|
||||
"version": "9509fd1af58392b6c2b30ca0058f58e1b7d92040",
|
||||
"size": 157632
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.724,
|
||||
"3d-cube.js": 6.63333,
|
||||
"access-fannkuch.js": 16.0973,
|
||||
"access-nbody.js": 7.10933,
|
||||
"bitops-bitwise-and.js": 5.24667,
|
||||
"math-partial-sums.js": 3.37867,
|
||||
"controlflow-recursive.js": 4.456,
|
||||
"bitops-bits-in-byte.js": 7.84133,
|
||||
"access-binary-trees.js": 3.39067,
|
||||
"bitops-3bit-bits-in-byte.js": 5.40933,
|
||||
"string-fasta.js": 36.2413,
|
||||
"math-cordic.js": 8.64533
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.05067,
|
||||
"3d-cube.js": 1.17467,
|
||||
"access-fannkuch.js": 1.988,
|
||||
"access-nbody.js": 1.77333,
|
||||
"bitops-bitwise-and.js": 7.33733,
|
||||
"math-partial-sums.js": 2.86533,
|
||||
"controlflow-recursive.js": 1.25733,
|
||||
"bitops-bits-in-byte.js": 0.934667,
|
||||
"access-binary-trees.js": 1.304,
|
||||
"bitops-3bit-bits-in-byte.js": 0.596,
|
||||
"string-fasta.js": 4.724,
|
||||
"math-cordic.js": 2.552
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 52,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 236,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 92,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 192,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 140,
|
||||
"math-partial-sums.js": 144,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 140,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 140,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 144
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 44.6973,
|
||||
"function-empty.js": 32.3533,
|
||||
"function-excess-args.js": 63.688,
|
||||
"function-closure.js": 5.33333,
|
||||
"function-missing-args.js": 66.304,
|
||||
"loop-sum.js": 50.248,
|
||||
"loop-empty-resolve.js": 5.11467,
|
||||
"function-correct-args.js": 88.8973,
|
||||
"function-sum.js": 49.5947
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 55.868,
|
||||
"function-empty.js": 40.3413,
|
||||
"function-excess-args.js": 32.252,
|
||||
"function-closure.js": 19.644,
|
||||
"function-missing-args.js": 30.936,
|
||||
"loop-sum.js": 74.3347,
|
||||
"loop-empty-resolve.js": 6.75333,
|
||||
"function-correct-args.js": 32.3173,
|
||||
"function-sum.js": 26.5133
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 140,
|
||||
"function-excess-args.js": 140,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 140,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 140,
|
||||
"function-sum.js": 140
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "3fbe54393f4900ea03b452326d1e96dbd9bf2d3a",
|
||||
"size": 190152
|
||||
},
|
||||
"duktape": {
|
||||
"version": "a9423c5e963d9241479a678fb62f408c3718ca0c",
|
||||
"size": 161728
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.71333,
|
||||
"3d-cube.js": 6.632,
|
||||
"access-fannkuch.js": 16.308,
|
||||
"access-nbody.js": 7.18267,
|
||||
"bitops-bitwise-and.js": 5.44667,
|
||||
"math-partial-sums.js": 3.37467,
|
||||
"controlflow-recursive.js": 4.49733,
|
||||
"bitops-bits-in-byte.js": 7.85067,
|
||||
"access-binary-trees.js": 3.40267,
|
||||
"bitops-3bit-bits-in-byte.js": 5.372,
|
||||
"string-fasta.js": 36.2293,
|
||||
"math-cordic.js": 8.67733
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.104,
|
||||
"3d-cube.js": 1.156,
|
||||
"access-fannkuch.js": 1.97867,
|
||||
"access-nbody.js": 1.756,
|
||||
"bitops-bitwise-and.js": 7.84267,
|
||||
"math-partial-sums.js": 2.84667,
|
||||
"controlflow-recursive.js": 1.23467,
|
||||
"bitops-bits-in-byte.js": 0.928,
|
||||
"access-binary-trees.js": 1.26667,
|
||||
"bitops-3bit-bits-in-byte.js": 0.584,
|
||||
"string-fasta.js": 4.78667,
|
||||
"math-cordic.js": 2.42
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 52,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 236,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 92,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 192,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 140,
|
||||
"math-partial-sums.js": 144,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 140,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 140,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 144
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 45.516,
|
||||
"function-empty.js": 33.4613,
|
||||
"function-excess-args.js": 63.976,
|
||||
"function-closure.js": 5.36533,
|
||||
"function-missing-args.js": 66.1973,
|
||||
"loop-sum.js": 50.7027,
|
||||
"loop-empty-resolve.js": 5.14933,
|
||||
"function-correct-args.js": 89.6493,
|
||||
"function-sum.js": 49.7267
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 58.4453,
|
||||
"function-empty.js": 39.8,
|
||||
"function-excess-args.js": 31.952,
|
||||
"function-closure.js": 19.9787,
|
||||
"function-missing-args.js": 30.604,
|
||||
"loop-sum.js": 91.8493,
|
||||
"loop-empty-resolve.js": 7.044,
|
||||
"function-correct-args.js": 32.036,
|
||||
"function-sum.js": 26.5227
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 140,
|
||||
"function-excess-args.js": 140,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 140,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 140,
|
||||
"function-sum.js": 140
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "8cd1ade51592e3fba0a926418b1c9990a4c409f3",
|
||||
"size": 190152
|
||||
},
|
||||
"duktape": {
|
||||
"version": "9f7eee025386711fa15d6af0ed4715650db1816a",
|
||||
"size": 161728
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.73333,
|
||||
"3d-cube.js": 6.64933,
|
||||
"access-fannkuch.js": 16.2613,
|
||||
"access-nbody.js": 7.17333,
|
||||
"bitops-bitwise-and.js": 5.41733,
|
||||
"math-partial-sums.js": 3.39333,
|
||||
"controlflow-recursive.js": 4.52667,
|
||||
"bitops-bits-in-byte.js": 7.904,
|
||||
"access-binary-trees.js": 3.408,
|
||||
"bitops-3bit-bits-in-byte.js": 5.42,
|
||||
"string-fasta.js": 36.5933,
|
||||
"math-cordic.js": 8.69067
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.10533,
|
||||
"3d-cube.js": 1.156,
|
||||
"access-fannkuch.js": 1.98,
|
||||
"access-nbody.js": 1.76133,
|
||||
"bitops-bitwise-and.js": 7.86667,
|
||||
"math-partial-sums.js": 2.84133,
|
||||
"controlflow-recursive.js": 1.24,
|
||||
"bitops-bits-in-byte.js": 0.925333,
|
||||
"access-binary-trees.js": 1.27733,
|
||||
"bitops-3bit-bits-in-byte.js": 0.585333,
|
||||
"string-fasta.js": 4.784,
|
||||
"math-cordic.js": 2.40933
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 52,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 236,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 92,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 192,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 140,
|
||||
"math-partial-sums.js": 144,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 140,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 140,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 144
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 45.3547,
|
||||
"function-empty.js": 32.6187,
|
||||
"function-excess-args.js": 64.6893,
|
||||
"function-closure.js": 5.36267,
|
||||
"function-missing-args.js": 67.2133,
|
||||
"loop-sum.js": 50.888,
|
||||
"loop-empty-resolve.js": 5.11467,
|
||||
"function-correct-args.js": 90.4067,
|
||||
"function-sum.js": 50.272
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 58.4093,
|
||||
"function-empty.js": 39.7973,
|
||||
"function-excess-args.js": 31.9133,
|
||||
"function-closure.js": 19.804,
|
||||
"function-missing-args.js": 30.5973,
|
||||
"loop-sum.js": 91.7947,
|
||||
"loop-empty-resolve.js": 7.04533,
|
||||
"function-correct-args.js": 32.0293,
|
||||
"function-sum.js": 26.512
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 140,
|
||||
"function-excess-args.js": 140,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 140,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 140,
|
||||
"function-sum.js": 140
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "c715a7cd1de6c498420ed024fb03674e5d74754d",
|
||||
"size": 190152
|
||||
},
|
||||
"duktape": {
|
||||
"version": "9f7eee025386711fa15d6af0ed4715650db1816a",
|
||||
"size": 161728
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.82,
|
||||
"3d-cube.js": 6.796,
|
||||
"access-fannkuch.js": 16.8853,
|
||||
"access-nbody.js": 7.4,
|
||||
"bitops-bitwise-and.js": 5.40533,
|
||||
"math-partial-sums.js": 3.432,
|
||||
"controlflow-recursive.js": 4.604,
|
||||
"bitops-bits-in-byte.js": 7.97333,
|
||||
"access-binary-trees.js": 3.46933,
|
||||
"bitops-3bit-bits-in-byte.js": 5.45867,
|
||||
"string-fasta.js": 36.8493,
|
||||
"math-cordic.js": 8.83733
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.10667,
|
||||
"3d-cube.js": 1.15733,
|
||||
"access-fannkuch.js": 1.98133,
|
||||
"access-nbody.js": 1.76933,
|
||||
"bitops-bitwise-and.js": 7.85733,
|
||||
"math-partial-sums.js": 2.84267,
|
||||
"controlflow-recursive.js": 1.236,
|
||||
"bitops-bits-in-byte.js": 0.933333,
|
||||
"access-binary-trees.js": 1.276,
|
||||
"bitops-3bit-bits-in-byte.js": 0.586667,
|
||||
"string-fasta.js": 4.792,
|
||||
"math-cordic.js": 2.412
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 52,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 236,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 92,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 192,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 140,
|
||||
"math-partial-sums.js": 144,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 140,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 140,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 144
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 46.232,
|
||||
"function-empty.js": 33.7587,
|
||||
"function-excess-args.js": 65.288,
|
||||
"function-closure.js": 5.53733,
|
||||
"function-missing-args.js": 67.288,
|
||||
"loop-sum.js": 51.2053,
|
||||
"loop-empty-resolve.js": 5.24267,
|
||||
"function-correct-args.js": 90.7587,
|
||||
"function-sum.js": 50.7853
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 58.3533,
|
||||
"function-empty.js": 39.8053,
|
||||
"function-excess-args.js": 31.848,
|
||||
"function-closure.js": 19.8907,
|
||||
"function-missing-args.js": 30.6013,
|
||||
"loop-sum.js": 91.8027,
|
||||
"loop-empty-resolve.js": 7.052,
|
||||
"function-correct-args.js": 32.0187,
|
||||
"function-sum.js": 26.528
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 140,
|
||||
"function-excess-args.js": 140,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 140,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 140,
|
||||
"function-sum.js": 140
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "f7781bb7bcfeee5913cf772d3b577e9798040b7f",
|
||||
"size": 190156
|
||||
},
|
||||
"duktape": {
|
||||
"version": "a67f893abfb26088e3cda67d5f2f3373ddf9277a",
|
||||
"size": 161728
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.736,
|
||||
"3d-cube.js": 6.67067,
|
||||
"access-fannkuch.js": 16.3533,
|
||||
"access-nbody.js": 7.23867,
|
||||
"bitops-bitwise-and.js": 5.38267,
|
||||
"math-partial-sums.js": 3.42,
|
||||
"controlflow-recursive.js": 4.52667,
|
||||
"bitops-bits-in-byte.js": 7.90267,
|
||||
"access-binary-trees.js": 3.40533,
|
||||
"bitops-3bit-bits-in-byte.js": 5.412,
|
||||
"string-fasta.js": 36.5333,
|
||||
"math-cordic.js": 8.696
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.108,
|
||||
"3d-cube.js": 1.15333,
|
||||
"access-fannkuch.js": 1.98133,
|
||||
"access-nbody.js": 1.76,
|
||||
"bitops-bitwise-and.js": 7.86267,
|
||||
"math-partial-sums.js": 2.85733,
|
||||
"controlflow-recursive.js": 1.23867,
|
||||
"bitops-bits-in-byte.js": 0.928,
|
||||
"access-binary-trees.js": 1.27733,
|
||||
"bitops-3bit-bits-in-byte.js": 0.588,
|
||||
"string-fasta.js": 4.784,
|
||||
"math-cordic.js": 2.41867
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 52,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 236,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 92,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 192,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 140,
|
||||
"math-partial-sums.js": 144,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 140,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 140,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 144
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 45.5853,
|
||||
"function-empty.js": 33.1587,
|
||||
"function-excess-args.js": 64.6413,
|
||||
"function-closure.js": 5.48133,
|
||||
"function-missing-args.js": 66.916,
|
||||
"loop-sum.js": 50.68,
|
||||
"loop-empty-resolve.js": 5.19467,
|
||||
"function-correct-args.js": 89.8747,
|
||||
"function-sum.js": 50.1747
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 58.4013,
|
||||
"function-empty.js": 39.7947,
|
||||
"function-excess-args.js": 31.928,
|
||||
"function-closure.js": 19.9387,
|
||||
"function-missing-args.js": 30.5333,
|
||||
"loop-sum.js": 91.864,
|
||||
"loop-empty-resolve.js": 7.05067,
|
||||
"function-correct-args.js": 31.9747,
|
||||
"function-sum.js": 26.5387
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 140,
|
||||
"function-excess-args.js": 140,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 140,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 140,
|
||||
"function-sum.js": 140
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "f7781bb7bcfeee5913cf772d3b577e9798040b7f",
|
||||
"size": 190156
|
||||
},
|
||||
"duktape": {
|
||||
"version": "a67f893abfb26088e3cda67d5f2f3373ddf9277a",
|
||||
"size": 161728
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.73867,
|
||||
"3d-cube.js": 6.68133,
|
||||
"access-fannkuch.js": 16.3653,
|
||||
"access-nbody.js": 7.23467,
|
||||
"bitops-bitwise-and.js": 5.37467,
|
||||
"math-partial-sums.js": 3.416,
|
||||
"controlflow-recursive.js": 4.52667,
|
||||
"bitops-bits-in-byte.js": 7.90533,
|
||||
"access-binary-trees.js": 3.428,
|
||||
"bitops-3bit-bits-in-byte.js": 5.40667,
|
||||
"string-fasta.js": 36.5853,
|
||||
"math-cordic.js": 8.70933
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.09867,
|
||||
"3d-cube.js": 1.156,
|
||||
"access-fannkuch.js": 1.98,
|
||||
"access-nbody.js": 1.75867,
|
||||
"bitops-bitwise-and.js": 7.83067,
|
||||
"math-partial-sums.js": 2.84133,
|
||||
"controlflow-recursive.js": 1.24133,
|
||||
"bitops-bits-in-byte.js": 0.930667,
|
||||
"access-binary-trees.js": 1.28,
|
||||
"bitops-3bit-bits-in-byte.js": 0.588,
|
||||
"string-fasta.js": 4.78667,
|
||||
"math-cordic.js": 2.41733
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 52,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 236,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 92,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 192,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 140,
|
||||
"math-partial-sums.js": 144,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 140,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 140,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 144
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 45.5747,
|
||||
"function-empty.js": 33.128,
|
||||
"function-excess-args.js": 64.6227,
|
||||
"function-closure.js": 5.48667,
|
||||
"function-missing-args.js": 66.848,
|
||||
"loop-sum.js": 50.6933,
|
||||
"loop-empty-resolve.js": 5.18933,
|
||||
"function-correct-args.js": 89.9933,
|
||||
"function-sum.js": 50.2107
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 58.364,
|
||||
"function-empty.js": 39.7947,
|
||||
"function-excess-args.js": 31.924,
|
||||
"function-closure.js": 19.8027,
|
||||
"function-missing-args.js": 30.5667,
|
||||
"loop-sum.js": 91.8733,
|
||||
"loop-empty-resolve.js": 7.044,
|
||||
"function-correct-args.js": 32.0093,
|
||||
"function-sum.js": 26.5013
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 140,
|
||||
"function-excess-args.js": 140,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 140,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 140,
|
||||
"function-sum.js": 140
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "f7781bb7bcfeee5913cf772d3b577e9798040b7f",
|
||||
"size": 190156
|
||||
},
|
||||
"duktape": {
|
||||
"version": "a67f893abfb26088e3cda67d5f2f3373ddf9277a",
|
||||
"size": 161728
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.74133,
|
||||
"3d-cube.js": 6.736,
|
||||
"access-fannkuch.js": 16.36,
|
||||
"access-nbody.js": 7.228,
|
||||
"bitops-bitwise-and.js": 5.388,
|
||||
"math-partial-sums.js": 3.424,
|
||||
"controlflow-recursive.js": 4.54933,
|
||||
"bitops-bits-in-byte.js": 7.91333,
|
||||
"access-binary-trees.js": 3.41467,
|
||||
"bitops-3bit-bits-in-byte.js": 5.41733,
|
||||
"string-fasta.js": 36.5973,
|
||||
"math-cordic.js": 8.71067
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.108,
|
||||
"3d-cube.js": 1.16,
|
||||
"access-fannkuch.js": 1.98,
|
||||
"access-nbody.js": 1.74267,
|
||||
"bitops-bitwise-and.js": 7.86267,
|
||||
"math-partial-sums.js": 2.844,
|
||||
"controlflow-recursive.js": 1.24267,
|
||||
"bitops-bits-in-byte.js": 0.932,
|
||||
"access-binary-trees.js": 1.28,
|
||||
"bitops-3bit-bits-in-byte.js": 0.590667,
|
||||
"string-fasta.js": 4.79333,
|
||||
"math-cordic.js": 2.40667
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 52,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 236,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 92,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 192,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 140,
|
||||
"math-partial-sums.js": 144,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 140,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 140,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 144
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 45.6093,
|
||||
"function-empty.js": 33.1693,
|
||||
"function-excess-args.js": 64.6187,
|
||||
"function-closure.js": 5.47867,
|
||||
"function-missing-args.js": 66.88,
|
||||
"loop-sum.js": 50.724,
|
||||
"loop-empty-resolve.js": 5.19333,
|
||||
"function-correct-args.js": 89.9587,
|
||||
"function-sum.js": 50.244
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 58.436,
|
||||
"function-empty.js": 39.776,
|
||||
"function-excess-args.js": 31.9373,
|
||||
"function-closure.js": 19.84,
|
||||
"function-missing-args.js": 30.592,
|
||||
"loop-sum.js": 91.836,
|
||||
"loop-empty-resolve.js": 7.03867,
|
||||
"function-correct-args.js": 32.032,
|
||||
"function-sum.js": 26.5307
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 140,
|
||||
"function-excess-args.js": 140,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 140,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 140,
|
||||
"function-sum.js": 140
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "c41f76aba2473e9c241e06b12a4309fa265c857b",
|
||||
"size": 190156
|
||||
},
|
||||
"duktape": {
|
||||
"version": "bdd02a059f4658b87a03ddc2156f111693743b27",
|
||||
"size": 161728
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.74533,
|
||||
"3d-cube.js": 6.71733,
|
||||
"access-fannkuch.js": 16.5987,
|
||||
"access-nbody.js": 7.35067,
|
||||
"bitops-bitwise-and.js": 5.49733,
|
||||
"math-partial-sums.js": 3.408,
|
||||
"controlflow-recursive.js": 4.444,
|
||||
"bitops-bits-in-byte.js": 7.82667,
|
||||
"access-binary-trees.js": 3.43333,
|
||||
"bitops-3bit-bits-in-byte.js": 5.372,
|
||||
"string-fasta.js": 36.4347,
|
||||
"math-cordic.js": 8.71333
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.104,
|
||||
"3d-cube.js": 1.15867,
|
||||
"access-fannkuch.js": 1.98667,
|
||||
"access-nbody.js": 1.76133,
|
||||
"bitops-bitwise-and.js": 7.86267,
|
||||
"math-partial-sums.js": 2.848,
|
||||
"controlflow-recursive.js": 1.23733,
|
||||
"bitops-bits-in-byte.js": 0.932,
|
||||
"access-binary-trees.js": 1.28267,
|
||||
"bitops-3bit-bits-in-byte.js": 0.588,
|
||||
"string-fasta.js": 4.78933,
|
||||
"math-cordic.js": 2.41467
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 52,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 236,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 92,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 192,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 140,
|
||||
"math-partial-sums.js": 144,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 140,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 140,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 144
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 45.28,
|
||||
"function-empty.js": 33.6253,
|
||||
"function-excess-args.js": 64.1067,
|
||||
"function-closure.js": 5.33467,
|
||||
"function-missing-args.js": 66.324,
|
||||
"loop-sum.js": 50.5907,
|
||||
"loop-empty-resolve.js": 5.12667,
|
||||
"function-correct-args.js": 89.5387,
|
||||
"function-sum.js": 50.012
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 58.424,
|
||||
"function-empty.js": 39.804,
|
||||
"function-excess-args.js": 31.9427,
|
||||
"function-closure.js": 19.876,
|
||||
"function-missing-args.js": 30.6187,
|
||||
"loop-sum.js": 91.7333,
|
||||
"loop-empty-resolve.js": 7.03067,
|
||||
"function-correct-args.js": 31.9987,
|
||||
"function-sum.js": 26.5133
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 140,
|
||||
"function-excess-args.js": 140,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 140,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 140,
|
||||
"function-sum.js": 140
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "af56cd8465e530428e5be6ac9074201a21e36da3",
|
||||
"size": 194252
|
||||
},
|
||||
"duktape": {
|
||||
"version": "0b005c676c66f76431f2af7d8eacd1f81fb238fb",
|
||||
"size": 165824
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.78933,
|
||||
"3d-cube.js": 6.70267,
|
||||
"access-fannkuch.js": 16.34,
|
||||
"access-nbody.js": 7.20667,
|
||||
"bitops-bitwise-and.js": 5.37733,
|
||||
"math-partial-sums.js": 3.39867,
|
||||
"controlflow-recursive.js": 4.56533,
|
||||
"bitops-bits-in-byte.js": 7.88667,
|
||||
"access-binary-trees.js": 3.40933,
|
||||
"bitops-3bit-bits-in-byte.js": 5.47467,
|
||||
"string-fasta.js": 36.264,
|
||||
"math-cordic.js": 8.81467
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.072,
|
||||
"3d-cube.js": 1.164,
|
||||
"access-fannkuch.js": 1.98,
|
||||
"access-nbody.js": 1.76267,
|
||||
"bitops-bitwise-and.js": 10.2053,
|
||||
"math-partial-sums.js": 2.89467,
|
||||
"controlflow-recursive.js": 1.224,
|
||||
"bitops-bits-in-byte.js": 0.941333,
|
||||
"access-binary-trees.js": 1.28533,
|
||||
"bitops-3bit-bits-in-byte.js": 0.582667,
|
||||
"string-fasta.js": 4.836,
|
||||
"math-cordic.js": 2.44533
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 52,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 236,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 92,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 52,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 188,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 144,
|
||||
"math-partial-sums.js": 148,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 144,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 144,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 148
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 45.324,
|
||||
"function-empty.js": 33.2627,
|
||||
"function-excess-args.js": 64.176,
|
||||
"function-closure.js": 5.41867,
|
||||
"function-missing-args.js": 66.308,
|
||||
"loop-sum.js": 50.596,
|
||||
"loop-empty-resolve.js": 5.17467,
|
||||
"function-correct-args.js": 89.4587,
|
||||
"function-sum.js": 50.1053
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 76.2387,
|
||||
"function-empty.js": 48.284,
|
||||
"function-excess-args.js": 38.3613,
|
||||
"function-closure.js": 20.072,
|
||||
"function-missing-args.js": 36.796,
|
||||
"loop-sum.js": 89.8813,
|
||||
"loop-empty-resolve.js": 9.072,
|
||||
"function-correct-args.js": 38.2333,
|
||||
"function-sum.js": 31.528
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 144,
|
||||
"function-excess-args.js": 144,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 144,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 144,
|
||||
"function-sum.js": 144
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "caeae0f6212dfee662a4082862ca78c66827102b",
|
||||
"size": 190156
|
||||
},
|
||||
"duktape": {
|
||||
"version": "8e948aa60d0b468396f4b00b22b427d548d4c011",
|
||||
"size": 165824
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.87467,
|
||||
"3d-cube.js": 6.69067,
|
||||
"access-fannkuch.js": 16.6013,
|
||||
"access-nbody.js": 7.148,
|
||||
"bitops-bitwise-and.js": 5.296,
|
||||
"math-partial-sums.js": 3.39867,
|
||||
"controlflow-recursive.js": 4.556,
|
||||
"bitops-bits-in-byte.js": 7.68667,
|
||||
"access-binary-trees.js": 3.39733,
|
||||
"bitops-3bit-bits-in-byte.js": 5.368,
|
||||
"string-fasta.js": 36.0893,
|
||||
"math-cordic.js": 8.97733
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.07333,
|
||||
"3d-cube.js": 1.16133,
|
||||
"access-fannkuch.js": 1.98533,
|
||||
"access-nbody.js": 1.76267,
|
||||
"bitops-bitwise-and.js": 10.22,
|
||||
"math-partial-sums.js": 2.90133,
|
||||
"controlflow-recursive.js": 1.21867,
|
||||
"bitops-bits-in-byte.js": 0.941333,
|
||||
"access-binary-trees.js": 1.28933,
|
||||
"bitops-3bit-bits-in-byte.js": 0.581333,
|
||||
"string-fasta.js": 4.83867,
|
||||
"math-cordic.js": 2.44133
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 172,
|
||||
"access-fannkuch.js": 48,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 236,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 92,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 52
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 188,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 144,
|
||||
"math-partial-sums.js": 148,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 144,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 144,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 148
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 43.5427,
|
||||
"function-empty.js": 33.8133,
|
||||
"function-excess-args.js": 77.4747,
|
||||
"function-closure.js": 5.29867,
|
||||
"function-missing-args.js": 66.4987,
|
||||
"loop-sum.js": 49.368,
|
||||
"loop-empty-resolve.js": 5.092,
|
||||
"function-correct-args.js": 104.023,
|
||||
"function-sum.js": 53.3507
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 76.292,
|
||||
"function-empty.js": 48.228,
|
||||
"function-excess-args.js": 38.3267,
|
||||
"function-closure.js": 20.0667,
|
||||
"function-missing-args.js": 36.7933,
|
||||
"loop-sum.js": 90.108,
|
||||
"loop-empty-resolve.js": 9.10267,
|
||||
"function-correct-args.js": 38.2467,
|
||||
"function-sum.js": 31.5667
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 36,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 144,
|
||||
"function-excess-args.js": 144,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 144,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 144,
|
||||
"function-sum.js": 144
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "a19dd0523e5e48f7496fe60caa3f195193f638d2",
|
||||
"size": 194252
|
||||
},
|
||||
"duktape": {
|
||||
"version": "322ccf9a10675a07d594bda9fac9e1ff72ee3f03",
|
||||
"size": 165824
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.85333,
|
||||
"3d-cube.js": 6.732,
|
||||
"access-fannkuch.js": 16.7347,
|
||||
"access-nbody.js": 7.37733,
|
||||
"bitops-bitwise-and.js": 5.39467,
|
||||
"math-partial-sums.js": 3.50533,
|
||||
"controlflow-recursive.js": 4.51067,
|
||||
"bitops-bits-in-byte.js": 7.568,
|
||||
"access-binary-trees.js": 3.416,
|
||||
"bitops-3bit-bits-in-byte.js": 5.32533,
|
||||
"string-fasta.js": 36.3853,
|
||||
"math-cordic.js": 8.94533
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.072,
|
||||
"3d-cube.js": 1.16,
|
||||
"access-fannkuch.js": 1.98267,
|
||||
"access-nbody.js": 1.764,
|
||||
"bitops-bitwise-and.js": 10.2133,
|
||||
"math-partial-sums.js": 2.89333,
|
||||
"controlflow-recursive.js": 1.224,
|
||||
"bitops-bits-in-byte.js": 0.941333,
|
||||
"access-binary-trees.js": 1.292,
|
||||
"bitops-3bit-bits-in-byte.js": 0.581333,
|
||||
"string-fasta.js": 4.82933,
|
||||
"math-cordic.js": 2.436
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 172,
|
||||
"access-fannkuch.js": 48,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 236,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 92,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 52
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 188,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 144,
|
||||
"math-partial-sums.js": 148,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 144,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 144,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 148
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 44.7613,
|
||||
"function-empty.js": 34.164,
|
||||
"function-excess-args.js": 77.7893,
|
||||
"function-closure.js": 5.352,
|
||||
"function-missing-args.js": 67.1813,
|
||||
"loop-sum.js": 50.2573,
|
||||
"loop-empty-resolve.js": 5.17467,
|
||||
"function-correct-args.js": 103.824,
|
||||
"function-sum.js": 53.8987
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 76.276,
|
||||
"function-empty.js": 48.252,
|
||||
"function-excess-args.js": 38.4093,
|
||||
"function-closure.js": 20.1427,
|
||||
"function-missing-args.js": 36.7787,
|
||||
"loop-sum.js": 90.1533,
|
||||
"loop-empty-resolve.js": 9.092,
|
||||
"function-correct-args.js": 38.3093,
|
||||
"function-sum.js": 31.528
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 36,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 144,
|
||||
"function-excess-args.js": 144,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 144,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 144,
|
||||
"function-sum.js": 144
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "640370da43b51c934205df3a0de597079a8f6a3c",
|
||||
"size": 194252
|
||||
},
|
||||
"duktape": {
|
||||
"version": "322ccf9a10675a07d594bda9fac9e1ff72ee3f03",
|
||||
"size": 165824
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.872,
|
||||
"3d-cube.js": 6.72,
|
||||
"access-fannkuch.js": 16.8653,
|
||||
"access-nbody.js": 7.25733,
|
||||
"bitops-bitwise-and.js": 5.368,
|
||||
"math-partial-sums.js": 3.444,
|
||||
"controlflow-recursive.js": 4.50267,
|
||||
"bitops-bits-in-byte.js": 7.66133,
|
||||
"access-binary-trees.js": 3.44133,
|
||||
"bitops-3bit-bits-in-byte.js": 5.39333,
|
||||
"string-fasta.js": 36.1267,
|
||||
"math-cordic.js": 8.96267
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.076,
|
||||
"3d-cube.js": 1.16533,
|
||||
"access-fannkuch.js": 1.97733,
|
||||
"access-nbody.js": 1.76267,
|
||||
"bitops-bitwise-and.js": 10.2133,
|
||||
"math-partial-sums.js": 2.9,
|
||||
"controlflow-recursive.js": 1.224,
|
||||
"bitops-bits-in-byte.js": 0.941333,
|
||||
"access-binary-trees.js": 1.28267,
|
||||
"bitops-3bit-bits-in-byte.js": 0.58,
|
||||
"string-fasta.js": 4.83733,
|
||||
"math-cordic.js": 2.44533
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 172,
|
||||
"access-fannkuch.js": 48,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 232,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 92,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 52
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 188,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 144,
|
||||
"math-partial-sums.js": 148,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 144,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 144,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 148
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 44.3067,
|
||||
"function-empty.js": 33.5453,
|
||||
"function-excess-args.js": 77.4547,
|
||||
"function-closure.js": 5.372,
|
||||
"function-missing-args.js": 66.632,
|
||||
"loop-sum.js": 49.936,
|
||||
"loop-empty-resolve.js": 5.168,
|
||||
"function-correct-args.js": 104.269,
|
||||
"function-sum.js": 53.64
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 76.2893,
|
||||
"function-empty.js": 48.2293,
|
||||
"function-excess-args.js": 38.3893,
|
||||
"function-closure.js": 20.2013,
|
||||
"function-missing-args.js": 36.804,
|
||||
"loop-sum.js": 90.2027,
|
||||
"loop-empty-resolve.js": 9.088,
|
||||
"function-correct-args.js": 38.2853,
|
||||
"function-sum.js": 31.5
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 36,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 144,
|
||||
"function-excess-args.js": 144,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 144,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 144,
|
||||
"function-sum.js": 144
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "640370da43b51c934205df3a0de597079a8f6a3c",
|
||||
"size": 194252
|
||||
},
|
||||
"duktape": {
|
||||
"version": "75dab4ae685a75d5293d794969330c2657aab50c",
|
||||
"size": 165824
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.85867,
|
||||
"3d-cube.js": 6.71733,
|
||||
"access-fannkuch.js": 16.8627,
|
||||
"access-nbody.js": 7.24,
|
||||
"bitops-bitwise-and.js": 5.36533,
|
||||
"math-partial-sums.js": 3.44667,
|
||||
"controlflow-recursive.js": 4.50533,
|
||||
"bitops-bits-in-byte.js": 7.64667,
|
||||
"access-binary-trees.js": 3.444,
|
||||
"bitops-3bit-bits-in-byte.js": 5.37067,
|
||||
"string-fasta.js": 36.0787,
|
||||
"math-cordic.js": 8.98133
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.088,
|
||||
"3d-cube.js": 1.168,
|
||||
"access-fannkuch.js": 1.98,
|
||||
"access-nbody.js": 1.79333,
|
||||
"bitops-bitwise-and.js": 10.2667,
|
||||
"math-partial-sums.js": 2.93467,
|
||||
"controlflow-recursive.js": 1.23467,
|
||||
"bitops-bits-in-byte.js": 0.950667,
|
||||
"access-binary-trees.js": 1.304,
|
||||
"bitops-3bit-bits-in-byte.js": 0.588,
|
||||
"string-fasta.js": 4.87867,
|
||||
"math-cordic.js": 2.468
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 172,
|
||||
"access-fannkuch.js": 48,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 232,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 92,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 52
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 188,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 144,
|
||||
"math-partial-sums.js": 148,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 144,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 144,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 148
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 44.2787,
|
||||
"function-empty.js": 33.588,
|
||||
"function-excess-args.js": 77.652,
|
||||
"function-closure.js": 5.37467,
|
||||
"function-missing-args.js": 66.524,
|
||||
"loop-sum.js": 49.9,
|
||||
"loop-empty-resolve.js": 5.156,
|
||||
"function-correct-args.js": 104.297,
|
||||
"function-sum.js": 53.6587
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 75.9933,
|
||||
"function-empty.js": 48.6013,
|
||||
"function-excess-args.js": 38.676,
|
||||
"function-closure.js": 20.268,
|
||||
"function-missing-args.js": 37.1173,
|
||||
"loop-sum.js": 90.4187,
|
||||
"loop-empty-resolve.js": 9.05733,
|
||||
"function-correct-args.js": 38.5267,
|
||||
"function-sum.js": 31.7907
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 36,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 144,
|
||||
"function-excess-args.js": 144,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 144,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 144,
|
||||
"function-sum.js": 144
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "640370da43b51c934205df3a0de597079a8f6a3c",
|
||||
"size": 194252
|
||||
},
|
||||
"duktape": {
|
||||
"version": "217e3b95910d70ed15cfd5a813fb2a5c95fabf13",
|
||||
"size": 165824
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.86267,
|
||||
"3d-cube.js": 6.71067,
|
||||
"access-fannkuch.js": 16.8333,
|
||||
"access-nbody.js": 7.22933,
|
||||
"bitops-bitwise-and.js": 5.36933,
|
||||
"math-partial-sums.js": 3.456,
|
||||
"controlflow-recursive.js": 4.50667,
|
||||
"bitops-bits-in-byte.js": 7.64667,
|
||||
"access-binary-trees.js": 3.43867,
|
||||
"bitops-3bit-bits-in-byte.js": 5.37067,
|
||||
"string-fasta.js": 36.1053,
|
||||
"math-cordic.js": 9.01733
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.08533,
|
||||
"3d-cube.js": 1.168,
|
||||
"access-fannkuch.js": 1.97867,
|
||||
"access-nbody.js": 1.792,
|
||||
"bitops-bitwise-and.js": 10.1947,
|
||||
"math-partial-sums.js": 2.936,
|
||||
"controlflow-recursive.js": 1.23333,
|
||||
"bitops-bits-in-byte.js": 0.950667,
|
||||
"access-binary-trees.js": 1.30667,
|
||||
"bitops-3bit-bits-in-byte.js": 0.585333,
|
||||
"string-fasta.js": 4.89467,
|
||||
"math-cordic.js": 2.46667
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 172,
|
||||
"access-fannkuch.js": 48,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 232,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 92,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 52
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 188,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 144,
|
||||
"math-partial-sums.js": 148,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 144,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 144,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 148
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 44.2627,
|
||||
"function-empty.js": 33.5067,
|
||||
"function-excess-args.js": 77.5333,
|
||||
"function-closure.js": 5.38667,
|
||||
"function-missing-args.js": 66.6,
|
||||
"loop-sum.js": 49.968,
|
||||
"loop-empty-resolve.js": 5.15467,
|
||||
"function-correct-args.js": 103.957,
|
||||
"function-sum.js": 53.6747
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 75.5853,
|
||||
"function-empty.js": 48.436,
|
||||
"function-excess-args.js": 38.4107,
|
||||
"function-closure.js": 20.204,
|
||||
"function-missing-args.js": 36.9653,
|
||||
"loop-sum.js": 89.996,
|
||||
"loop-empty-resolve.js": 8.99467,
|
||||
"function-correct-args.js": 38.2187,
|
||||
"function-sum.js": 31.636
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 36,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 144,
|
||||
"function-excess-args.js": 144,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 144,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 144,
|
||||
"function-sum.js": 144
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "e22a085fc1385f2e0d60eb324063b344c239a949",
|
||||
"size": 194252
|
||||
},
|
||||
"duktape": {
|
||||
"version": "f28f6c2bbb3781711609d401cda6a3b9f6a7d29f",
|
||||
"size": 165824
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.864,
|
||||
"3d-cube.js": 6.74667,
|
||||
"access-fannkuch.js": 16.6253,
|
||||
"access-nbody.js": 7.23733,
|
||||
"bitops-bitwise-and.js": 5.33067,
|
||||
"math-partial-sums.js": 3.48667,
|
||||
"controlflow-recursive.js": 4.56,
|
||||
"bitops-bits-in-byte.js": 7.70267,
|
||||
"access-binary-trees.js": 3.41467,
|
||||
"bitops-3bit-bits-in-byte.js": 5.424,
|
||||
"string-fasta.js": 36.5293,
|
||||
"math-cordic.js": 8.99733
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.092,
|
||||
"3d-cube.js": 1.168,
|
||||
"access-fannkuch.js": 1.98,
|
||||
"access-nbody.js": 1.79333,
|
||||
"bitops-bitwise-and.js": 10.2107,
|
||||
"math-partial-sums.js": 2.93867,
|
||||
"controlflow-recursive.js": 1.23467,
|
||||
"bitops-bits-in-byte.js": 0.948,
|
||||
"access-binary-trees.js": 1.30267,
|
||||
"bitops-3bit-bits-in-byte.js": 0.588,
|
||||
"string-fasta.js": 4.89067,
|
||||
"math-cordic.js": 2.46267
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 172,
|
||||
"access-fannkuch.js": 48,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 232,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 92,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 52
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 188,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 144,
|
||||
"math-partial-sums.js": 148,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 144,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 144,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 148
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 44.6253,
|
||||
"function-empty.js": 33.7853,
|
||||
"function-excess-args.js": 77.5427,
|
||||
"function-closure.js": 5.32,
|
||||
"function-missing-args.js": 66.38,
|
||||
"loop-sum.js": 50.0413,
|
||||
"loop-empty-resolve.js": 5.2,
|
||||
"function-correct-args.js": 103.961,
|
||||
"function-sum.js": 54.2893
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 75.564,
|
||||
"function-empty.js": 48.3947,
|
||||
"function-excess-args.js": 38.4213,
|
||||
"function-closure.js": 20.2053,
|
||||
"function-missing-args.js": 36.9187,
|
||||
"loop-sum.js": 90.0107,
|
||||
"loop-empty-resolve.js": 9.00533,
|
||||
"function-correct-args.js": 38.3107,
|
||||
"function-sum.js": 31.6707
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 36,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 144,
|
||||
"function-excess-args.js": 144,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 144,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 144,
|
||||
"function-sum.js": 144
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "c4b1f02947aee10f8ca20ea17da340f8c5fe5a3a",
|
||||
"size": 194252
|
||||
},
|
||||
"duktape": {
|
||||
"version": "a773df04bdc84c842bceaeb918bd910579ea8841",
|
||||
"size": 165824
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.72667,
|
||||
"3d-cube.js": 6.67733,
|
||||
"access-fannkuch.js": 16.4707,
|
||||
"access-nbody.js": 7.12667,
|
||||
"bitops-bitwise-and.js": 5.21067,
|
||||
"math-partial-sums.js": 3.38667,
|
||||
"controlflow-recursive.js": 3.98,
|
||||
"bitops-bits-in-byte.js": 7.572,
|
||||
"access-binary-trees.js": 3.336,
|
||||
"bitops-3bit-bits-in-byte.js": 5.276,
|
||||
"string-fasta.js": 36.096,
|
||||
"math-cordic.js": 8.82933
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.092,
|
||||
"3d-cube.js": 1.16267,
|
||||
"access-fannkuch.js": 1.984,
|
||||
"access-nbody.js": 1.796,
|
||||
"bitops-bitwise-and.js": 10.2013,
|
||||
"math-partial-sums.js": 2.93067,
|
||||
"controlflow-recursive.js": 1.23333,
|
||||
"bitops-bits-in-byte.js": 0.949333,
|
||||
"access-binary-trees.js": 1.30133,
|
||||
"bitops-3bit-bits-in-byte.js": 0.586667,
|
||||
"string-fasta.js": 4.88267,
|
||||
"math-cordic.js": 2.46533
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 172,
|
||||
"access-fannkuch.js": 48,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 216,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 100,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 52
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 188,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 144,
|
||||
"math-partial-sums.js": 148,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 144,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 144,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 148
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 43.996,
|
||||
"function-empty.js": 33.328,
|
||||
"function-excess-args.js": 74.8947,
|
||||
"function-closure.js": 5.452,
|
||||
"function-missing-args.js": 66.6867,
|
||||
"loop-sum.js": 49.4373,
|
||||
"loop-empty-resolve.js": 5.09333,
|
||||
"function-correct-args.js": 102.744,
|
||||
"function-sum.js": 51.856
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 75.584,
|
||||
"function-empty.js": 48.396,
|
||||
"function-excess-args.js": 38.3987,
|
||||
"function-closure.js": 20.1213,
|
||||
"function-missing-args.js": 36.9253,
|
||||
"loop-sum.js": 89.7707,
|
||||
"loop-empty-resolve.js": 9.00267,
|
||||
"function-correct-args.js": 38.3653,
|
||||
"function-sum.js": 31.6947
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 36,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 144,
|
||||
"function-excess-args.js": 144,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 144,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 144,
|
||||
"function-sum.js": 144
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "4ee30cba5d68586d4d248660df83dac316c7603a",
|
||||
"size": 194252
|
||||
},
|
||||
"duktape": {
|
||||
"version": "3e95145cc06041751b51656156177601b97e0197",
|
||||
"size": 165824
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.83733,
|
||||
"3d-cube.js": 6.72933,
|
||||
"access-fannkuch.js": 16.7347,
|
||||
"access-nbody.js": 7.388,
|
||||
"bitops-bitwise-and.js": 5.22,
|
||||
"math-partial-sums.js": 3.49333,
|
||||
"controlflow-recursive.js": 4.028,
|
||||
"bitops-bits-in-byte.js": 7.576,
|
||||
"access-binary-trees.js": 3.35867,
|
||||
"bitops-3bit-bits-in-byte.js": 5.308,
|
||||
"string-fasta.js": 36.5467,
|
||||
"math-cordic.js": 8.93733
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.09067,
|
||||
"3d-cube.js": 1.164,
|
||||
"access-fannkuch.js": 1.98,
|
||||
"access-nbody.js": 1.792,
|
||||
"bitops-bitwise-and.js": 10.1787,
|
||||
"math-partial-sums.js": 2.93333,
|
||||
"controlflow-recursive.js": 1.22933,
|
||||
"bitops-bits-in-byte.js": 0.945333,
|
||||
"access-binary-trees.js": 1.30133,
|
||||
"bitops-3bit-bits-in-byte.js": 0.586667,
|
||||
"string-fasta.js": 4.884,
|
||||
"math-cordic.js": 2.45467
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 172,
|
||||
"access-fannkuch.js": 48,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 216,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 100,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 52
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 188,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 144,
|
||||
"math-partial-sums.js": 148,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 144,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 144,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 148
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 43.992,
|
||||
"function-empty.js": 33.7067,
|
||||
"function-excess-args.js": 76.0,
|
||||
"function-closure.js": 5.48667,
|
||||
"function-missing-args.js": 67.536,
|
||||
"loop-sum.js": 49.9027,
|
||||
"loop-empty-resolve.js": 5.12,
|
||||
"function-correct-args.js": 103.776,
|
||||
"function-sum.js": 52.864
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 75.608,
|
||||
"function-empty.js": 48.348,
|
||||
"function-excess-args.js": 38.444,
|
||||
"function-closure.js": 20.3053,
|
||||
"function-missing-args.js": 36.9387,
|
||||
"loop-sum.js": 89.8893,
|
||||
"loop-empty-resolve.js": 8.99467,
|
||||
"function-correct-args.js": 38.38,
|
||||
"function-sum.js": 31.6613
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 28,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 36,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 144,
|
||||
"function-excess-args.js": 144,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 144,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 144,
|
||||
"function-sum.js": 144
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "8f594aebfad8860cfd25a9d9d875233122081bd3",
|
||||
"size": 194252
|
||||
},
|
||||
"duktape": {
|
||||
"version": "0d0d23c6fd5103a81398241217af2a98cca6f5d7",
|
||||
"size": 165824
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.04133,
|
||||
"3d-cube.js": 5.98,
|
||||
"access-fannkuch.js": 14.4653,
|
||||
"access-nbody.js": 6.49467,
|
||||
"bitops-bitwise-and.js": 4.32,
|
||||
"math-partial-sums.js": 3.144,
|
||||
"controlflow-recursive.js": 3.57333,
|
||||
"bitops-bits-in-byte.js": 6.808,
|
||||
"access-binary-trees.js": 3.51333,
|
||||
"bitops-3bit-bits-in-byte.js": 4.804,
|
||||
"string-fasta.js": 36.448,
|
||||
"math-cordic.js": 7.64267
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.08533,
|
||||
"3d-cube.js": 1.168,
|
||||
"access-fannkuch.js": 1.98,
|
||||
"access-nbody.js": 1.79333,
|
||||
"bitops-bitwise-and.js": 10.188,
|
||||
"math-partial-sums.js": 2.924,
|
||||
"controlflow-recursive.js": 1.236,
|
||||
"bitops-bits-in-byte.js": 0.950667,
|
||||
"access-binary-trees.js": 1.30533,
|
||||
"bitops-3bit-bits-in-byte.js": 0.586667,
|
||||
"string-fasta.js": 4.87067,
|
||||
"math-cordic.js": 2.45867
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 52,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 44,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 224,
|
||||
"bitops-bits-in-byte.js": 36,
|
||||
"access-binary-trees.js": 104,
|
||||
"bitops-3bit-bits-in-byte.js": 40,
|
||||
"string-fasta.js": 52,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 188,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 144,
|
||||
"math-partial-sums.js": 148,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 144,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 144,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 148
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 40.5107,
|
||||
"function-empty.js": 31.772,
|
||||
"function-excess-args.js": 69.3707,
|
||||
"function-closure.js": 5.752,
|
||||
"function-missing-args.js": 70.0893,
|
||||
"loop-sum.js": 44.7947,
|
||||
"loop-empty-resolve.js": 4.61333,
|
||||
"function-correct-args.js": 98.256,
|
||||
"function-sum.js": 47.4067
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 75.6147,
|
||||
"function-empty.js": 48.3933,
|
||||
"function-excess-args.js": 38.44,
|
||||
"function-closure.js": 20.1813,
|
||||
"function-missing-args.js": 36.9267,
|
||||
"loop-sum.js": 89.9187,
|
||||
"loop-empty-resolve.js": 8.99867,
|
||||
"function-correct-args.js": 38.3147,
|
||||
"function-sum.js": 31.6547
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 24,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 144,
|
||||
"function-excess-args.js": 144,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 144,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 144,
|
||||
"function-sum.js": 144
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "38fa391cd8eef20d9b8b9c32453b89bacf7de436",
|
||||
"size": 194252
|
||||
},
|
||||
"duktape": {
|
||||
"version": "6600dde85e0c930021e23a43fe59d3762b9bb58c",
|
||||
"size": 165824
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 3.952,
|
||||
"3d-cube.js": 5.88667,
|
||||
"access-fannkuch.js": 14.0573,
|
||||
"access-nbody.js": 6.26667,
|
||||
"bitops-bitwise-and.js": 4.15467,
|
||||
"math-partial-sums.js": 2.996,
|
||||
"controlflow-recursive.js": 3.50933,
|
||||
"bitops-bits-in-byte.js": 6.648,
|
||||
"access-binary-trees.js": 3.42267,
|
||||
"bitops-3bit-bits-in-byte.js": 4.67867,
|
||||
"string-fasta.js": 36.1147,
|
||||
"math-cordic.js": 7.376
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.1,
|
||||
"3d-cube.js": 1.17733,
|
||||
"access-fannkuch.js": 1.976,
|
||||
"access-nbody.js": 1.80933,
|
||||
"bitops-bitwise-and.js": 10.7587,
|
||||
"math-partial-sums.js": 2.95333,
|
||||
"controlflow-recursive.js": 1.232,
|
||||
"bitops-bits-in-byte.js": 0.946667,
|
||||
"access-binary-trees.js": 1.30667,
|
||||
"bitops-3bit-bits-in-byte.js": 0.582667,
|
||||
"string-fasta.js": 4.93467,
|
||||
"math-cordic.js": 2.53067
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 52,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 44,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 224,
|
||||
"bitops-bits-in-byte.js": 36,
|
||||
"access-binary-trees.js": 104,
|
||||
"bitops-3bit-bits-in-byte.js": 40,
|
||||
"string-fasta.js": 48,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 188,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 144,
|
||||
"math-partial-sums.js": 148,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 144,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 144,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 148
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 39.392,
|
||||
"function-empty.js": 29.98,
|
||||
"function-excess-args.js": 67.7107,
|
||||
"function-closure.js": 5.56933,
|
||||
"function-missing-args.js": 68.216,
|
||||
"loop-sum.js": 43.216,
|
||||
"loop-empty-resolve.js": 4.51067,
|
||||
"function-correct-args.js": 96.5427,
|
||||
"function-sum.js": 45.5333
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 80.2533,
|
||||
"function-empty.js": 50.3467,
|
||||
"function-excess-args.js": 40.1013,
|
||||
"function-closure.js": 20.9413,
|
||||
"function-missing-args.js": 38.5253,
|
||||
"loop-sum.js": 95.8627,
|
||||
"loop-empty-resolve.js": 9.588,
|
||||
"function-correct-args.js": 39.956,
|
||||
"function-sum.js": 33.0053
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 24,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 144,
|
||||
"function-excess-args.js": 144,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 144,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 144,
|
||||
"function-sum.js": 144
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "38fa391cd8eef20d9b8b9c32453b89bacf7de436",
|
||||
"size": 194252
|
||||
},
|
||||
"duktape": {
|
||||
"version": "d4bb9798b4145ec3a8cf156abf877f30d98b0e5c",
|
||||
"size": 165824
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 3.95467,
|
||||
"3d-cube.js": 5.89467,
|
||||
"access-fannkuch.js": 14.0667,
|
||||
"access-nbody.js": 6.27867,
|
||||
"bitops-bitwise-and.js": 4.15333,
|
||||
"math-partial-sums.js": 3.00533,
|
||||
"controlflow-recursive.js": 3.512,
|
||||
"bitops-bits-in-byte.js": 6.66933,
|
||||
"access-binary-trees.js": 3.45467,
|
||||
"bitops-3bit-bits-in-byte.js": 4.672,
|
||||
"string-fasta.js": 36.0947,
|
||||
"math-cordic.js": 7.39733
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.09733,
|
||||
"3d-cube.js": 1.172,
|
||||
"access-fannkuch.js": 1.97467,
|
||||
"access-nbody.js": 1.81467,
|
||||
"bitops-bitwise-and.js": 10.7333,
|
||||
"math-partial-sums.js": 2.94267,
|
||||
"controlflow-recursive.js": 1.24,
|
||||
"bitops-bits-in-byte.js": 0.946667,
|
||||
"access-binary-trees.js": 1.30133,
|
||||
"bitops-3bit-bits-in-byte.js": 0.588,
|
||||
"string-fasta.js": 4.93467,
|
||||
"math-cordic.js": 2.52533
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 52,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 44,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 224,
|
||||
"bitops-bits-in-byte.js": 36,
|
||||
"access-binary-trees.js": 104,
|
||||
"bitops-3bit-bits-in-byte.js": 40,
|
||||
"string-fasta.js": 48,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 188,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 144,
|
||||
"math-partial-sums.js": 148,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 144,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 144,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 148
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 39.3813,
|
||||
"function-empty.js": 29.9053,
|
||||
"function-excess-args.js": 67.7147,
|
||||
"function-closure.js": 5.596,
|
||||
"function-missing-args.js": 68.2693,
|
||||
"loop-sum.js": 43.2253,
|
||||
"loop-empty-resolve.js": 4.52,
|
||||
"function-correct-args.js": 96.496,
|
||||
"function-sum.js": 45.488
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 80.3747,
|
||||
"function-empty.js": 50.256,
|
||||
"function-excess-args.js": 40.0373,
|
||||
"function-closure.js": 20.904,
|
||||
"function-missing-args.js": 38.5627,
|
||||
"loop-sum.js": 95.7053,
|
||||
"loop-empty-resolve.js": 9.572,
|
||||
"function-correct-args.js": 39.8453,
|
||||
"function-sum.js": 32.9227
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 24,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 144,
|
||||
"function-excess-args.js": 144,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 144,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 144,
|
||||
"function-sum.js": 144
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "38fa391cd8eef20d9b8b9c32453b89bacf7de436",
|
||||
"size": 194252
|
||||
},
|
||||
"duktape": {
|
||||
"version": "8a90f515606ca59394b8d8351bde6876c6ab4b73",
|
||||
"size": 165824
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 3.94133,
|
||||
"3d-cube.js": 5.896,
|
||||
"access-fannkuch.js": 14.0533,
|
||||
"access-nbody.js": 6.272,
|
||||
"bitops-bitwise-and.js": 4.156,
|
||||
"math-partial-sums.js": 2.99467,
|
||||
"controlflow-recursive.js": 3.508,
|
||||
"bitops-bits-in-byte.js": 6.652,
|
||||
"access-binary-trees.js": 3.44667,
|
||||
"bitops-3bit-bits-in-byte.js": 4.66667,
|
||||
"string-fasta.js": 36.1653,
|
||||
"math-cordic.js": 7.39867
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.10133,
|
||||
"3d-cube.js": 1.17333,
|
||||
"access-fannkuch.js": 1.97467,
|
||||
"access-nbody.js": 1.812,
|
||||
"bitops-bitwise-and.js": 10.7387,
|
||||
"math-partial-sums.js": 2.94133,
|
||||
"controlflow-recursive.js": 1.244,
|
||||
"bitops-bits-in-byte.js": 0.944,
|
||||
"access-binary-trees.js": 1.304,
|
||||
"bitops-3bit-bits-in-byte.js": 0.585333,
|
||||
"string-fasta.js": 4.95333,
|
||||
"math-cordic.js": 2.52533
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 52,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 44,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 224,
|
||||
"bitops-bits-in-byte.js": 36,
|
||||
"access-binary-trees.js": 104,
|
||||
"bitops-3bit-bits-in-byte.js": 40,
|
||||
"string-fasta.js": 48,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 188,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 144,
|
||||
"math-partial-sums.js": 148,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 144,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 144,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 148
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 39.3893,
|
||||
"function-empty.js": 30.0227,
|
||||
"function-excess-args.js": 67.6693,
|
||||
"function-closure.js": 5.59733,
|
||||
"function-missing-args.js": 68.188,
|
||||
"loop-sum.js": 43.1947,
|
||||
"loop-empty-resolve.js": 4.51333,
|
||||
"function-correct-args.js": 96.5373,
|
||||
"function-sum.js": 45.5427
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 80.3133,
|
||||
"function-empty.js": 50.2827,
|
||||
"function-excess-args.js": 40.1213,
|
||||
"function-closure.js": 20.884,
|
||||
"function-missing-args.js": 38.572,
|
||||
"loop-sum.js": 95.768,
|
||||
"loop-empty-resolve.js": 9.56267,
|
||||
"function-correct-args.js": 39.8013,
|
||||
"function-sum.js": 32.9413
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 24,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 144,
|
||||
"function-excess-args.js": 144,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 144,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 144,
|
||||
"function-sum.js": 144
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "ab47365b710c72536d6dfb85ea1fb4f1290da723",
|
||||
"size": 194252
|
||||
},
|
||||
"duktape": {
|
||||
"version": "51661c12265f0ae04239a3256e6d5428d1b3aaf5",
|
||||
"size": 165824
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.03733,
|
||||
"3d-cube.js": 5.88667,
|
||||
"access-fannkuch.js": 14.2493,
|
||||
"access-nbody.js": 6.32133,
|
||||
"bitops-bitwise-and.js": 4.168,
|
||||
"math-partial-sums.js": 3.02533,
|
||||
"controlflow-recursive.js": 3.55467,
|
||||
"bitops-bits-in-byte.js": 6.64,
|
||||
"access-binary-trees.js": 3.10533,
|
||||
"bitops-3bit-bits-in-byte.js": 4.64,
|
||||
"string-fasta.js": 35.7107,
|
||||
"math-cordic.js": 7.412
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.096,
|
||||
"3d-cube.js": 1.17733,
|
||||
"access-fannkuch.js": 1.97867,
|
||||
"access-nbody.js": 1.80933,
|
||||
"bitops-bitwise-and.js": 10.7267,
|
||||
"math-partial-sums.js": 2.944,
|
||||
"controlflow-recursive.js": 1.24,
|
||||
"bitops-bits-in-byte.js": 0.944,
|
||||
"access-binary-trees.js": 1.30267,
|
||||
"bitops-3bit-bits-in-byte.js": 0.586667,
|
||||
"string-fasta.js": 4.94533,
|
||||
"math-cordic.js": 2.528
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 52,
|
||||
"3d-cube.js": 160,
|
||||
"access-fannkuch.js": 48,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 224,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 96,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 188,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 144,
|
||||
"math-partial-sums.js": 148,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 144,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 144,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 148
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 39.8707,
|
||||
"function-empty.js": 31.6013,
|
||||
"function-excess-args.js": 67.7427,
|
||||
"function-closure.js": 5.62133,
|
||||
"function-missing-args.js": 68.0613,
|
||||
"loop-sum.js": 44.2693,
|
||||
"loop-empty-resolve.js": 4.58133,
|
||||
"function-correct-args.js": 98.768,
|
||||
"function-sum.js": 45.412
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 80.336,
|
||||
"function-empty.js": 50.2373,
|
||||
"function-excess-args.js": 40.1067,
|
||||
"function-closure.js": 20.8853,
|
||||
"function-missing-args.js": 38.516,
|
||||
"loop-sum.js": 95.82,
|
||||
"loop-empty-resolve.js": 9.556,
|
||||
"function-correct-args.js": 39.8453,
|
||||
"function-sum.js": 32.9293
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 24,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 144,
|
||||
"function-excess-args.js": 144,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 144,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 144,
|
||||
"function-sum.js": 144
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "ab47365b710c72536d6dfb85ea1fb4f1290da723",
|
||||
"size": 194252
|
||||
},
|
||||
"duktape": {
|
||||
"version": "e55e469c68b90f0aac86eca7c058b8347ef2f03e",
|
||||
"size": 165824
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 4.04,
|
||||
"3d-cube.js": 5.89067,
|
||||
"access-fannkuch.js": 14.2387,
|
||||
"access-nbody.js": 6.33467,
|
||||
"bitops-bitwise-and.js": 4.16267,
|
||||
"math-partial-sums.js": 3.016,
|
||||
"controlflow-recursive.js": 3.56267,
|
||||
"bitops-bits-in-byte.js": 6.65067,
|
||||
"access-binary-trees.js": 3.11467,
|
||||
"bitops-3bit-bits-in-byte.js": 4.63333,
|
||||
"string-fasta.js": 35.7867,
|
||||
"math-cordic.js": 7.41867
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.10133,
|
||||
"3d-cube.js": 1.17467,
|
||||
"access-fannkuch.js": 1.97733,
|
||||
"access-nbody.js": 1.81467,
|
||||
"bitops-bitwise-and.js": 10.7213,
|
||||
"math-partial-sums.js": 2.948,
|
||||
"controlflow-recursive.js": 1.23867,
|
||||
"bitops-bits-in-byte.js": 0.945333,
|
||||
"access-binary-trees.js": 1.30667,
|
||||
"bitops-3bit-bits-in-byte.js": 0.588,
|
||||
"string-fasta.js": 4.94,
|
||||
"math-cordic.js": 2.52267
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 52,
|
||||
"3d-cube.js": 160,
|
||||
"access-fannkuch.js": 48,
|
||||
"access-nbody.js": 68,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 224,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 96,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 188,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 144,
|
||||
"math-partial-sums.js": 148,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 144,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 144,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 148
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 39.836,
|
||||
"function-empty.js": 31.6013,
|
||||
"function-excess-args.js": 67.7533,
|
||||
"function-closure.js": 5.62533,
|
||||
"function-missing-args.js": 68.1773,
|
||||
"loop-sum.js": 44.212,
|
||||
"loop-empty-resolve.js": 4.58133,
|
||||
"function-correct-args.js": 98.704,
|
||||
"function-sum.js": 45.508
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 80.2453,
|
||||
"function-empty.js": 50.2667,
|
||||
"function-excess-args.js": 40.108,
|
||||
"function-closure.js": 20.96,
|
||||
"function-missing-args.js": 38.5333,
|
||||
"loop-sum.js": 95.8133,
|
||||
"loop-empty-resolve.js": 9.58267,
|
||||
"function-correct-args.js": 39.848,
|
||||
"function-sum.js": 32.9507
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 24,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 144,
|
||||
"function-excess-args.js": 144,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 144,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 144,
|
||||
"function-sum.js": 144
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "e0dee65a368b8ca7fa69c81af9517dd8824d98ed",
|
||||
"size": 194252
|
||||
},
|
||||
"duktape": {
|
||||
"version": "e55e469c68b90f0aac86eca7c058b8347ef2f03e",
|
||||
"size": 165824
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 3.84,
|
||||
"3d-cube.js": 5.76133,
|
||||
"access-fannkuch.js": 14.12,
|
||||
"access-nbody.js": 5.88133,
|
||||
"bitops-bitwise-and.js": 4.08267,
|
||||
"math-partial-sums.js": 2.82667,
|
||||
"controlflow-recursive.js": 3.572,
|
||||
"bitops-bits-in-byte.js": 6.55067,
|
||||
"access-binary-trees.js": 3.08933,
|
||||
"bitops-3bit-bits-in-byte.js": 4.62667,
|
||||
"string-fasta.js": 28.856,
|
||||
"math-cordic.js": 7.268
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.1,
|
||||
"3d-cube.js": 1.176,
|
||||
"access-fannkuch.js": 1.97867,
|
||||
"access-nbody.js": 1.808,
|
||||
"bitops-bitwise-and.js": 10.728,
|
||||
"math-partial-sums.js": 2.94667,
|
||||
"controlflow-recursive.js": 1.24,
|
||||
"bitops-bits-in-byte.js": 0.942667,
|
||||
"access-binary-trees.js": 1.30133,
|
||||
"bitops-3bit-bits-in-byte.js": 0.585333,
|
||||
"string-fasta.js": 4.93867,
|
||||
"math-cordic.js": 2.52267
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 52,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 48,
|
||||
"access-nbody.js": 76,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 224,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 96,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 52,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 188,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 144,
|
||||
"math-partial-sums.js": 148,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 144,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 144,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 148
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 39.3613,
|
||||
"function-empty.js": 31.3627,
|
||||
"function-excess-args.js": 67.7373,
|
||||
"function-closure.js": 5.828,
|
||||
"function-missing-args.js": 68.468,
|
||||
"loop-sum.js": 41.2827,
|
||||
"loop-empty-resolve.js": 4.568,
|
||||
"function-correct-args.js": 98.716,
|
||||
"function-sum.js": 45.82
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 80.284,
|
||||
"function-empty.js": 50.2653,
|
||||
"function-excess-args.js": 40.064,
|
||||
"function-closure.js": 20.9013,
|
||||
"function-missing-args.js": 38.5107,
|
||||
"loop-sum.js": 95.784,
|
||||
"loop-empty-resolve.js": 9.56133,
|
||||
"function-correct-args.js": 39.86,
|
||||
"function-sum.js": 32.9187
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 24,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 144,
|
||||
"function-excess-args.js": 144,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 144,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 144,
|
||||
"function-sum.js": 144
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "b3b87add02f42eac1df89320ac08b760a58abfa1",
|
||||
"size": 194252
|
||||
},
|
||||
"duktape": {
|
||||
"version": "e55e469c68b90f0aac86eca7c058b8347ef2f03e",
|
||||
"size": 165824
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 3.86667,
|
||||
"3d-cube.js": 5.73467,
|
||||
"access-fannkuch.js": 13.9827,
|
||||
"access-nbody.js": 5.864,
|
||||
"bitops-bitwise-and.js": 4.05333,
|
||||
"math-partial-sums.js": 2.84933,
|
||||
"controlflow-recursive.js": 3.60933,
|
||||
"bitops-bits-in-byte.js": 6.60267,
|
||||
"access-binary-trees.js": 3.10533,
|
||||
"bitops-3bit-bits-in-byte.js": 4.62667,
|
||||
"string-fasta.js": 29.0307,
|
||||
"math-cordic.js": 7.27333
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.09733,
|
||||
"3d-cube.js": 1.17467,
|
||||
"access-fannkuch.js": 1.976,
|
||||
"access-nbody.js": 1.80933,
|
||||
"bitops-bitwise-and.js": 10.7053,
|
||||
"math-partial-sums.js": 2.94,
|
||||
"controlflow-recursive.js": 1.24133,
|
||||
"bitops-bits-in-byte.js": 0.945333,
|
||||
"access-binary-trees.js": 1.30267,
|
||||
"bitops-3bit-bits-in-byte.js": 0.586667,
|
||||
"string-fasta.js": 4.93867,
|
||||
"math-cordic.js": 2.52267
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 52,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 48,
|
||||
"access-nbody.js": 76,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 224,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 96,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 52,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 188,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 144,
|
||||
"math-partial-sums.js": 148,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 144,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 144,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 148
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 39.2213,
|
||||
"function-empty.js": 31.66,
|
||||
"function-excess-args.js": 68.3853,
|
||||
"function-closure.js": 5.90267,
|
||||
"function-missing-args.js": 69.144,
|
||||
"loop-sum.js": 40.7867,
|
||||
"loop-empty-resolve.js": 4.53067,
|
||||
"function-correct-args.js": 99.3,
|
||||
"function-sum.js": 46.172
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 80.2987,
|
||||
"function-empty.js": 50.2067,
|
||||
"function-excess-args.js": 40.1227,
|
||||
"function-closure.js": 20.9413,
|
||||
"function-missing-args.js": 38.5147,
|
||||
"loop-sum.js": 95.7587,
|
||||
"loop-empty-resolve.js": 9.56533,
|
||||
"function-correct-args.js": 39.84,
|
||||
"function-sum.js": 32.9507
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 24,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 144,
|
||||
"function-excess-args.js": 144,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 144,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 144,
|
||||
"function-sum.js": 144
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "b3b87add02f42eac1df89320ac08b760a58abfa1",
|
||||
"size": 194252
|
||||
},
|
||||
"duktape": {
|
||||
"version": "e55e469c68b90f0aac86eca7c058b8347ef2f03e",
|
||||
"size": 165824
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 3.86267,
|
||||
"3d-cube.js": 5.74667,
|
||||
"access-fannkuch.js": 14.0147,
|
||||
"access-nbody.js": 5.872,
|
||||
"bitops-bitwise-and.js": 4.05333,
|
||||
"math-partial-sums.js": 2.84667,
|
||||
"controlflow-recursive.js": 3.57867,
|
||||
"bitops-bits-in-byte.js": 6.59867,
|
||||
"access-binary-trees.js": 3.088,
|
||||
"bitops-3bit-bits-in-byte.js": 4.62667,
|
||||
"string-fasta.js": 29.0707,
|
||||
"math-cordic.js": 7.26267
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.1,
|
||||
"3d-cube.js": 1.17333,
|
||||
"access-fannkuch.js": 1.97333,
|
||||
"access-nbody.js": 1.81067,
|
||||
"bitops-bitwise-and.js": 10.7213,
|
||||
"math-partial-sums.js": 2.93733,
|
||||
"controlflow-recursive.js": 1.236,
|
||||
"bitops-bits-in-byte.js": 0.945333,
|
||||
"access-binary-trees.js": 1.3,
|
||||
"bitops-3bit-bits-in-byte.js": 0.588,
|
||||
"string-fasta.js": 4.94533,
|
||||
"math-cordic.js": 2.52533
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 52,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 48,
|
||||
"access-nbody.js": 76,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 224,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 96,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 52,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 188,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 144,
|
||||
"math-partial-sums.js": 148,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 144,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 144,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 148
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 39.1573,
|
||||
"function-empty.js": 31.672,
|
||||
"function-excess-args.js": 68.3653,
|
||||
"function-closure.js": 5.916,
|
||||
"function-missing-args.js": 69.1267,
|
||||
"loop-sum.js": 40.7987,
|
||||
"loop-empty-resolve.js": 4.52533,
|
||||
"function-correct-args.js": 99.2413,
|
||||
"function-sum.js": 46.0987
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 80.2853,
|
||||
"function-empty.js": 50.2733,
|
||||
"function-excess-args.js": 40.1053,
|
||||
"function-closure.js": 20.8933,
|
||||
"function-missing-args.js": 38.528,
|
||||
"loop-sum.js": 95.696,
|
||||
"loop-empty-resolve.js": 9.56267,
|
||||
"function-correct-args.js": 39.812,
|
||||
"function-sum.js": 32.9333
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 24,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 144,
|
||||
"function-excess-args.js": 144,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 144,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 144,
|
||||
"function-sum.js": 144
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "b3b87add02f42eac1df89320ac08b760a58abfa1",
|
||||
"size": 194252
|
||||
},
|
||||
"duktape": {
|
||||
"version": "dabddfb6f8df5a9ccf44908055fefbc74c3a5643",
|
||||
"size": 165824
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 3.86,
|
||||
"3d-cube.js": 5.744,
|
||||
"access-fannkuch.js": 14.0093,
|
||||
"access-nbody.js": 5.88667,
|
||||
"bitops-bitwise-and.js": 4.05467,
|
||||
"math-partial-sums.js": 2.844,
|
||||
"controlflow-recursive.js": 3.61067,
|
||||
"bitops-bits-in-byte.js": 6.59467,
|
||||
"access-binary-trees.js": 3.10933,
|
||||
"bitops-3bit-bits-in-byte.js": 4.63067,
|
||||
"string-fasta.js": 29.0493,
|
||||
"math-cordic.js": 7.268
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.09867,
|
||||
"3d-cube.js": 1.17467,
|
||||
"access-fannkuch.js": 1.98,
|
||||
"access-nbody.js": 1.808,
|
||||
"bitops-bitwise-and.js": 10.728,
|
||||
"math-partial-sums.js": 2.948,
|
||||
"controlflow-recursive.js": 1.24,
|
||||
"bitops-bits-in-byte.js": 0.941333,
|
||||
"access-binary-trees.js": 1.3,
|
||||
"bitops-3bit-bits-in-byte.js": 0.582667,
|
||||
"string-fasta.js": 4.94933,
|
||||
"math-cordic.js": 2.52933
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 52,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 48,
|
||||
"access-nbody.js": 76,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 224,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 96,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 52,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 188,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 144,
|
||||
"math-partial-sums.js": 148,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 144,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 144,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 148
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 39.2573,
|
||||
"function-empty.js": 31.672,
|
||||
"function-excess-args.js": 68.308,
|
||||
"function-closure.js": 5.91467,
|
||||
"function-missing-args.js": 69.0693,
|
||||
"loop-sum.js": 40.8067,
|
||||
"loop-empty-resolve.js": 4.53333,
|
||||
"function-correct-args.js": 99.2293,
|
||||
"function-sum.js": 46.152
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 80.3027,
|
||||
"function-empty.js": 50.2733,
|
||||
"function-excess-args.js": 40.092,
|
||||
"function-closure.js": 20.848,
|
||||
"function-missing-args.js": 38.5133,
|
||||
"loop-sum.js": 95.736,
|
||||
"loop-empty-resolve.js": 9.556,
|
||||
"function-correct-args.js": 39.8573,
|
||||
"function-sum.js": 32.9067
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 24,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 144,
|
||||
"function-excess-args.js": 144,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 144,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 144,
|
||||
"function-sum.js": 144
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "b3b87add02f42eac1df89320ac08b760a58abfa1",
|
||||
"size": 194252
|
||||
},
|
||||
"duktape": {
|
||||
"version": "dabddfb6f8df5a9ccf44908055fefbc74c3a5643",
|
||||
"size": 165824
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 3.872,
|
||||
"3d-cube.js": 5.82533,
|
||||
"access-fannkuch.js": 14.0027,
|
||||
"access-nbody.js": 5.87333,
|
||||
"bitops-bitwise-and.js": 4.05067,
|
||||
"math-partial-sums.js": 2.852,
|
||||
"controlflow-recursive.js": 3.62133,
|
||||
"bitops-bits-in-byte.js": 6.60133,
|
||||
"access-binary-trees.js": 3.10667,
|
||||
"bitops-3bit-bits-in-byte.js": 4.62133,
|
||||
"string-fasta.js": 29.0347,
|
||||
"math-cordic.js": 7.26933
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.10267,
|
||||
"3d-cube.js": 1.18133,
|
||||
"access-fannkuch.js": 1.97733,
|
||||
"access-nbody.js": 1.81333,
|
||||
"bitops-bitwise-and.js": 10.732,
|
||||
"math-partial-sums.js": 2.94667,
|
||||
"controlflow-recursive.js": 1.24,
|
||||
"bitops-bits-in-byte.js": 0.948,
|
||||
"access-binary-trees.js": 1.30133,
|
||||
"bitops-3bit-bits-in-byte.js": 0.585333,
|
||||
"string-fasta.js": 4.94667,
|
||||
"math-cordic.js": 2.52533
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 52,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 48,
|
||||
"access-nbody.js": 76,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 224,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 96,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 52,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 188,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 144,
|
||||
"math-partial-sums.js": 148,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 144,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 144,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 148
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 39.1907,
|
||||
"function-empty.js": 31.656,
|
||||
"function-excess-args.js": 68.3493,
|
||||
"function-closure.js": 5.91733,
|
||||
"function-missing-args.js": 69.1347,
|
||||
"loop-sum.js": 40.8133,
|
||||
"loop-empty-resolve.js": 4.536,
|
||||
"function-correct-args.js": 99.2427,
|
||||
"function-sum.js": 46.0933
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 80.2773,
|
||||
"function-empty.js": 50.2373,
|
||||
"function-excess-args.js": 40.056,
|
||||
"function-closure.js": 20.8573,
|
||||
"function-missing-args.js": 38.5093,
|
||||
"loop-sum.js": 95.7973,
|
||||
"loop-empty-resolve.js": 9.57333,
|
||||
"function-correct-args.js": 39.84,
|
||||
"function-sum.js": 32.9573
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 24,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 144,
|
||||
"function-excess-args.js": 144,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 144,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 144,
|
||||
"function-sum.js": 144
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "e4843ece763cd4f977d98eaf6f68148ba1ee50fd",
|
||||
"size": 198352
|
||||
},
|
||||
"duktape": {
|
||||
"version": "64560f815f1bb762460d02a8df0cac2f93d07eaf",
|
||||
"size": 165824
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 3.81067,
|
||||
"3d-cube.js": 5.78933,
|
||||
"access-fannkuch.js": 14.14,
|
||||
"access-nbody.js": 5.94667,
|
||||
"bitops-bitwise-and.js": 4.13867,
|
||||
"math-partial-sums.js": 2.83867,
|
||||
"controlflow-recursive.js": 3.59867,
|
||||
"bitops-bits-in-byte.js": 6.68267,
|
||||
"access-binary-trees.js": 3.096,
|
||||
"bitops-3bit-bits-in-byte.js": 4.67333,
|
||||
"string-fasta.js": 28.672,
|
||||
"math-cordic.js": 7.328
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.06533,
|
||||
"3d-cube.js": 1.104,
|
||||
"access-fannkuch.js": 1.816,
|
||||
"access-nbody.js": 1.70667,
|
||||
"bitops-bitwise-and.js": 10.284,
|
||||
"math-partial-sums.js": 2.86133,
|
||||
"controlflow-recursive.js": 1.21067,
|
||||
"bitops-bits-in-byte.js": 0.849333,
|
||||
"access-binary-trees.js": 1.284,
|
||||
"bitops-3bit-bits-in-byte.js": 0.566667,
|
||||
"string-fasta.js": 4.84,
|
||||
"math-cordic.js": 2.36667
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 52,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 48,
|
||||
"access-nbody.js": 76,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 224,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 96,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 188,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 144,
|
||||
"math-partial-sums.js": 148,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 144,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 144,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 148
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 39.0827,
|
||||
"function-empty.js": 31.8293,
|
||||
"function-excess-args.js": 68.6413,
|
||||
"function-closure.js": 5.81467,
|
||||
"function-missing-args.js": 69.048,
|
||||
"loop-sum.js": 41.196,
|
||||
"loop-empty-resolve.js": 4.512,
|
||||
"function-correct-args.js": 100.0,
|
||||
"function-sum.js": 45.936
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 76.6493,
|
||||
"function-empty.js": 48.9467,
|
||||
"function-excess-args.js": 38.7307,
|
||||
"function-closure.js": 20.084,
|
||||
"function-missing-args.js": 37.3213,
|
||||
"loop-sum.js": 91.512,
|
||||
"loop-empty-resolve.js": 9.104,
|
||||
"function-correct-args.js": 38.396,
|
||||
"function-sum.js": 31.9747
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 24,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 144,
|
||||
"function-excess-args.js": 144,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 144,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 144,
|
||||
"function-sum.js": 144
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "bf780ad3dc6fe336d6741a8cdc9d6d4f51f3e95e",
|
||||
"size": 198328
|
||||
},
|
||||
"duktape": {
|
||||
"version": "50171d671af34f2c403acf61c6dc83f2d2561e24",
|
||||
"size": 165824
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 3.864,
|
||||
"3d-cube.js": 5.8,
|
||||
"access-fannkuch.js": 14.3773,
|
||||
"access-nbody.js": 5.92933,
|
||||
"bitops-bitwise-and.js": 4.13733,
|
||||
"math-partial-sums.js": 2.84267,
|
||||
"controlflow-recursive.js": 3.58933,
|
||||
"bitops-bits-in-byte.js": 6.70133,
|
||||
"access-binary-trees.js": 3.08667,
|
||||
"bitops-3bit-bits-in-byte.js": 4.66,
|
||||
"string-fasta.js": 28.9347,
|
||||
"math-cordic.js": 7.35467
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.07733,
|
||||
"3d-cube.js": 1.104,
|
||||
"access-fannkuch.js": 1.824,
|
||||
"access-nbody.js": 1.70533,
|
||||
"bitops-bitwise-and.js": 10.3147,
|
||||
"math-partial-sums.js": 2.87333,
|
||||
"controlflow-recursive.js": 1.208,
|
||||
"bitops-bits-in-byte.js": 0.857333,
|
||||
"access-binary-trees.js": 1.28267,
|
||||
"bitops-3bit-bits-in-byte.js": 0.566667,
|
||||
"string-fasta.js": 4.82667,
|
||||
"math-cordic.js": 2.368
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 52,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 48,
|
||||
"access-nbody.js": 76,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 224,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 96,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 60,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 188,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 144,
|
||||
"math-partial-sums.js": 148,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 144,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 144,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 148
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 39.3013,
|
||||
"function-empty.js": 31.532,
|
||||
"function-excess-args.js": 67.956,
|
||||
"function-closure.js": 5.76933,
|
||||
"function-missing-args.js": 68.6813,
|
||||
"loop-sum.js": 41.9653,
|
||||
"loop-empty-resolve.js": 4.54533,
|
||||
"function-correct-args.js": 99.0587,
|
||||
"function-sum.js": 45.6547
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 76.5387,
|
||||
"function-empty.js": 48.5947,
|
||||
"function-excess-args.js": 38.568,
|
||||
"function-closure.js": 20.1053,
|
||||
"function-missing-args.js": 37.2773,
|
||||
"loop-sum.js": 91.2093,
|
||||
"loop-empty-resolve.js": 9.11333,
|
||||
"function-correct-args.js": 38.2867,
|
||||
"function-sum.js": 31.888
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 24,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 144,
|
||||
"function-excess-args.js": 144,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 144,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 144,
|
||||
"function-sum.js": 144
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "bf780ad3dc6fe336d6741a8cdc9d6d4f51f3e95e",
|
||||
"size": 198328
|
||||
},
|
||||
"duktape": {
|
||||
"version": "8b5bcca3cfab0ef9fff55422530e6e5a2d7eec04",
|
||||
"size": 165824
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 3.88133,
|
||||
"3d-cube.js": 5.796,
|
||||
"access-fannkuch.js": 14.3467,
|
||||
"access-nbody.js": 5.94,
|
||||
"bitops-bitwise-and.js": 4.13333,
|
||||
"math-partial-sums.js": 2.85333,
|
||||
"controlflow-recursive.js": 3.58667,
|
||||
"bitops-bits-in-byte.js": 6.70667,
|
||||
"access-binary-trees.js": 3.10133,
|
||||
"bitops-3bit-bits-in-byte.js": 4.656,
|
||||
"string-fasta.js": 28.9267,
|
||||
"math-cordic.js": 7.36933
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.06667,
|
||||
"3d-cube.js": 1.10533,
|
||||
"access-fannkuch.js": 1.81733,
|
||||
"access-nbody.js": 1.69867,
|
||||
"bitops-bitwise-and.js": 10.32,
|
||||
"math-partial-sums.js": 2.87067,
|
||||
"controlflow-recursive.js": 1.21333,
|
||||
"bitops-bits-in-byte.js": 0.856,
|
||||
"access-binary-trees.js": 1.28667,
|
||||
"bitops-3bit-bits-in-byte.js": 0.561333,
|
||||
"string-fasta.js": 4.832,
|
||||
"math-cordic.js": 2.37867
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 52,
|
||||
"3d-cube.js": 168,
|
||||
"access-fannkuch.js": 48,
|
||||
"access-nbody.js": 76,
|
||||
"bitops-bitwise-and.js": 28,
|
||||
"math-partial-sums.js": 40,
|
||||
"controlflow-recursive.js": 224,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 96,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 60,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 188,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 144,
|
||||
"math-partial-sums.js": 148,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 144,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 144,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 148
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 39.4,
|
||||
"function-empty.js": 31.5533,
|
||||
"function-excess-args.js": 68.0027,
|
||||
"function-closure.js": 5.76267,
|
||||
"function-missing-args.js": 68.8507,
|
||||
"loop-sum.js": 41.9147,
|
||||
"loop-empty-resolve.js": 4.548,
|
||||
"function-correct-args.js": 99.0587,
|
||||
"function-sum.js": 45.676
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 76.7093,
|
||||
"function-empty.js": 48.948,
|
||||
"function-excess-args.js": 38.708,
|
||||
"function-closure.js": 20.2333,
|
||||
"function-missing-args.js": 37.3493,
|
||||
"loop-sum.js": 90.9467,
|
||||
"loop-empty-resolve.js": 9.15467,
|
||||
"function-correct-args.js": 38.4253,
|
||||
"function-sum.js": 32.0293
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 24,
|
||||
"function-empty.js": 24,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 24,
|
||||
"loop-empty-resolve.js": 24,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 144,
|
||||
"function-excess-args.js": 144,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 144,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 144,
|
||||
"function-sum.js": 144
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "10e5f3530d1bce030ef1006c682735e389b8bcef",
|
||||
"size": 198328
|
||||
},
|
||||
"duktape": {
|
||||
"version": "dfc66cd923ac8185524647138c518f4dfae46163",
|
||||
"size": 165824
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 3.20667,
|
||||
"3d-cube.js": 3.768,
|
||||
"access-fannkuch.js": 10.156,
|
||||
"access-nbody.js": 4.74933,
|
||||
"bitops-bitwise-and.js": 4.192,
|
||||
"math-partial-sums.js": 2.576,
|
||||
"controlflow-recursive.js": 3.15333,
|
||||
"bitops-bits-in-byte.js": 4.40933,
|
||||
"access-binary-trees.js": 2.81867,
|
||||
"bitops-3bit-bits-in-byte.js": 3.27067,
|
||||
"string-fasta.js": 27.6907,
|
||||
"math-cordic.js": 4.84933
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.05867,
|
||||
"3d-cube.js": 1.10933,
|
||||
"access-fannkuch.js": 1.81467,
|
||||
"access-nbody.js": 1.696,
|
||||
"bitops-bitwise-and.js": 10.3,
|
||||
"math-partial-sums.js": 2.88133,
|
||||
"controlflow-recursive.js": 1.22133,
|
||||
"bitops-bits-in-byte.js": 0.848,
|
||||
"access-binary-trees.js": 1.30133,
|
||||
"bitops-3bit-bits-in-byte.js": 0.557333,
|
||||
"string-fasta.js": 4.83333,
|
||||
"math-cordic.js": 2.35867
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 132,
|
||||
"access-fannkuch.js": 40,
|
||||
"access-nbody.js": 64,
|
||||
"bitops-bitwise-and.js": 32,
|
||||
"math-partial-sums.js": 36,
|
||||
"controlflow-recursive.js": 212,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 88,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 188,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 144,
|
||||
"math-partial-sums.js": 148,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 144,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 144,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 148
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 40.192,
|
||||
"function-empty.js": 29.8107,
|
||||
"function-excess-args.js": 64.968,
|
||||
"function-closure.js": 5.21467,
|
||||
"function-missing-args.js": 64.6507,
|
||||
"loop-sum.js": 42.6293,
|
||||
"loop-empty-resolve.js": 4.62933,
|
||||
"function-correct-args.js": 92.8987,
|
||||
"function-sum.js": 43.9893
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 76.5493,
|
||||
"function-empty.js": 49.4,
|
||||
"function-excess-args.js": 38.8493,
|
||||
"function-closure.js": 20.2453,
|
||||
"function-missing-args.js": 37.4987,
|
||||
"loop-sum.js": 91.0907,
|
||||
"loop-empty-resolve.js": 9.10667,
|
||||
"function-correct-args.js": 38.6453,
|
||||
"function-sum.js": 32.2707
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 28,
|
||||
"function-empty.js": 32,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 32,
|
||||
"loop-empty-resolve.js": 28,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 144,
|
||||
"function-excess-args.js": 144,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 144,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 144,
|
||||
"function-sum.js": 144
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "a00079e8ff203e1a373ed0ada152bdcac37fc90c",
|
||||
"size": 194232
|
||||
},
|
||||
"duktape": {
|
||||
"version": "589b96fc9bba5996b143b6459414ab8456abd6d4",
|
||||
"size": 165824
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 3.188,
|
||||
"3d-cube.js": 3.72667,
|
||||
"access-fannkuch.js": 9.93467,
|
||||
"access-nbody.js": 4.66,
|
||||
"bitops-bitwise-and.js": 4.17867,
|
||||
"math-partial-sums.js": 2.57333,
|
||||
"controlflow-recursive.js": 3.176,
|
||||
"bitops-bits-in-byte.js": 4.47867,
|
||||
"access-binary-trees.js": 2.82133,
|
||||
"bitops-3bit-bits-in-byte.js": 3.32133,
|
||||
"string-fasta.js": 27.8453,
|
||||
"math-cordic.js": 4.896
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.05867,
|
||||
"3d-cube.js": 1.11067,
|
||||
"access-fannkuch.js": 1.82533,
|
||||
"access-nbody.js": 1.70667,
|
||||
"bitops-bitwise-and.js": 10.2733,
|
||||
"math-partial-sums.js": 2.876,
|
||||
"controlflow-recursive.js": 1.21733,
|
||||
"bitops-bits-in-byte.js": 0.848,
|
||||
"access-binary-trees.js": 1.30667,
|
||||
"bitops-3bit-bits-in-byte.js": 0.564,
|
||||
"string-fasta.js": 4.83733,
|
||||
"math-cordic.js": 2.36667
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 132,
|
||||
"access-fannkuch.js": 36,
|
||||
"access-nbody.js": 64,
|
||||
"bitops-bitwise-and.js": 32,
|
||||
"math-partial-sums.js": 36,
|
||||
"controlflow-recursive.js": 212,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 88,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 52,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 188,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 144,
|
||||
"math-partial-sums.js": 148,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 144,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 144,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 148
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 40.2973,
|
||||
"function-empty.js": 31.3387,
|
||||
"function-excess-args.js": 66.4893,
|
||||
"function-closure.js": 5.35467,
|
||||
"function-missing-args.js": 66.096,
|
||||
"loop-sum.js": 42.3813,
|
||||
"loop-empty-resolve.js": 4.65467,
|
||||
"function-correct-args.js": 94.284,
|
||||
"function-sum.js": 45.1453
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 76.5573,
|
||||
"function-empty.js": 49.392,
|
||||
"function-excess-args.js": 38.8667,
|
||||
"function-closure.js": 20.2667,
|
||||
"function-missing-args.js": 37.5067,
|
||||
"loop-sum.js": 91.032,
|
||||
"loop-empty-resolve.js": 9.108,
|
||||
"function-correct-args.js": 38.664,
|
||||
"function-sum.js": 32.2707
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 28,
|
||||
"function-empty.js": 32,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 32,
|
||||
"loop-empty-resolve.js": 28,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 144,
|
||||
"function-excess-args.js": 144,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 144,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 144,
|
||||
"function-sum.js": 144
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "a00079e8ff203e1a373ed0ada152bdcac37fc90c",
|
||||
"size": 194232
|
||||
},
|
||||
"duktape": {
|
||||
"version": "8bc77c5ca3a2a59dc8306ea7e6bcf6d5463d645f",
|
||||
"size": 165824
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 3.19333,
|
||||
"3d-cube.js": 3.73867,
|
||||
"access-fannkuch.js": 9.95733,
|
||||
"access-nbody.js": 4.66533,
|
||||
"bitops-bitwise-and.js": 4.18267,
|
||||
"math-partial-sums.js": 2.57067,
|
||||
"controlflow-recursive.js": 3.17867,
|
||||
"bitops-bits-in-byte.js": 4.484,
|
||||
"access-binary-trees.js": 2.82533,
|
||||
"bitops-3bit-bits-in-byte.js": 3.31733,
|
||||
"string-fasta.js": 27.8453,
|
||||
"math-cordic.js": 4.90267
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.05867,
|
||||
"3d-cube.js": 1.10933,
|
||||
"access-fannkuch.js": 1.82133,
|
||||
"access-nbody.js": 1.72933,
|
||||
"bitops-bitwise-and.js": 10.3333,
|
||||
"math-partial-sums.js": 2.892,
|
||||
"controlflow-recursive.js": 1.22933,
|
||||
"bitops-bits-in-byte.js": 0.853333,
|
||||
"access-binary-trees.js": 1.312,
|
||||
"bitops-3bit-bits-in-byte.js": 0.561333,
|
||||
"string-fasta.js": 4.84667,
|
||||
"math-cordic.js": 2.388
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 132,
|
||||
"access-fannkuch.js": 36,
|
||||
"access-nbody.js": 64,
|
||||
"bitops-bitwise-and.js": 32,
|
||||
"math-partial-sums.js": 36,
|
||||
"controlflow-recursive.js": 212,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 88,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 52,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 188,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 144,
|
||||
"math-partial-sums.js": 148,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 144,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 144,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 148
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 40.2187,
|
||||
"function-empty.js": 31.2347,
|
||||
"function-excess-args.js": 66.456,
|
||||
"function-closure.js": 5.37067,
|
||||
"function-missing-args.js": 66.0053,
|
||||
"loop-sum.js": 42.2627,
|
||||
"loop-empty-resolve.js": 4.65333,
|
||||
"function-correct-args.js": 94.192,
|
||||
"function-sum.js": 45.12
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 76.7293,
|
||||
"function-empty.js": 49.772,
|
||||
"function-excess-args.js": 39.3213,
|
||||
"function-closure.js": 20.292,
|
||||
"function-missing-args.js": 37.7653,
|
||||
"loop-sum.js": 91.5947,
|
||||
"loop-empty-resolve.js": 9.13467,
|
||||
"function-correct-args.js": 39.0187,
|
||||
"function-sum.js": 32.5347
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 28,
|
||||
"function-empty.js": 32,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 32,
|
||||
"loop-empty-resolve.js": 28,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 144,
|
||||
"function-excess-args.js": 144,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 144,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 144,
|
||||
"function-sum.js": 144
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "a26c45421988d138a01408ecfefb80816e3bcf81",
|
||||
"size": 194232
|
||||
},
|
||||
"duktape": {
|
||||
"version": "95681fbe0d5bd548c9ea918d10eb5a4daa7df96d",
|
||||
"size": 165824
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 3.18933,
|
||||
"3d-cube.js": 3.74,
|
||||
"access-fannkuch.js": 9.92,
|
||||
"access-nbody.js": 4.66,
|
||||
"bitops-bitwise-and.js": 4.19333,
|
||||
"math-partial-sums.js": 2.57333,
|
||||
"controlflow-recursive.js": 3.18133,
|
||||
"bitops-bits-in-byte.js": 4.48667,
|
||||
"access-binary-trees.js": 2.82667,
|
||||
"bitops-3bit-bits-in-byte.js": 3.32267,
|
||||
"string-fasta.js": 27.7667,
|
||||
"math-cordic.js": 4.908
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.06933,
|
||||
"3d-cube.js": 1.11867,
|
||||
"access-fannkuch.js": 1.808,
|
||||
"access-nbody.js": 1.724,
|
||||
"bitops-bitwise-and.js": 10.644,
|
||||
"math-partial-sums.js": 2.99067,
|
||||
"controlflow-recursive.js": 1.26533,
|
||||
"bitops-bits-in-byte.js": 0.850667,
|
||||
"access-binary-trees.js": 1.31467,
|
||||
"bitops-3bit-bits-in-byte.js": 0.557333,
|
||||
"string-fasta.js": 4.92267,
|
||||
"math-cordic.js": 2.46133
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 132,
|
||||
"access-fannkuch.js": 36,
|
||||
"access-nbody.js": 64,
|
||||
"bitops-bitwise-and.js": 32,
|
||||
"math-partial-sums.js": 36,
|
||||
"controlflow-recursive.js": 212,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 88,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 52,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 188,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 144,
|
||||
"math-partial-sums.js": 148,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 144,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 144,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 148
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 40.764,
|
||||
"function-empty.js": 31.32,
|
||||
"function-excess-args.js": 66.4547,
|
||||
"function-closure.js": 5.34667,
|
||||
"function-missing-args.js": 66.1093,
|
||||
"loop-sum.js": 42.3773,
|
||||
"loop-empty-resolve.js": 4.708,
|
||||
"function-correct-args.js": 94.272,
|
||||
"function-sum.js": 45.268
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 79.004,
|
||||
"function-empty.js": 50.3947,
|
||||
"function-excess-args.js": 39.7,
|
||||
"function-closure.js": 20.4093,
|
||||
"function-missing-args.js": 38.4667,
|
||||
"loop-sum.js": 95.6813,
|
||||
"loop-empty-resolve.js": 9.42933,
|
||||
"function-correct-args.js": 39.512,
|
||||
"function-sum.js": 32.7507
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 28,
|
||||
"function-empty.js": 32,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 32,
|
||||
"loop-empty-resolve.js": 28,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 144,
|
||||
"function-excess-args.js": 144,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 144,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 144,
|
||||
"function-sum.js": 144
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "a26c45421988d138a01408ecfefb80816e3bcf81",
|
||||
"size": 194232
|
||||
},
|
||||
"duktape": {
|
||||
"version": "95681fbe0d5bd548c9ea918d10eb5a4daa7df96d",
|
||||
"size": 165824
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 3.19867,
|
||||
"3d-cube.js": 3.75333,
|
||||
"access-fannkuch.js": 9.93867,
|
||||
"access-nbody.js": 4.668,
|
||||
"bitops-bitwise-and.js": 4.19733,
|
||||
"math-partial-sums.js": 2.57733,
|
||||
"controlflow-recursive.js": 3.18667,
|
||||
"bitops-bits-in-byte.js": 4.50933,
|
||||
"access-binary-trees.js": 2.83067,
|
||||
"bitops-3bit-bits-in-byte.js": 3.33067,
|
||||
"string-fasta.js": 27.6893,
|
||||
"math-cordic.js": 4.908
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.06933,
|
||||
"3d-cube.js": 1.12133,
|
||||
"access-fannkuch.js": 1.79867,
|
||||
"access-nbody.js": 1.72267,
|
||||
"bitops-bitwise-and.js": 10.588,
|
||||
"math-partial-sums.js": 2.98,
|
||||
"controlflow-recursive.js": 1.26533,
|
||||
"bitops-bits-in-byte.js": 0.849333,
|
||||
"access-binary-trees.js": 1.30933,
|
||||
"bitops-3bit-bits-in-byte.js": 0.56,
|
||||
"string-fasta.js": 4.90933,
|
||||
"math-cordic.js": 2.46133
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 132,
|
||||
"access-fannkuch.js": 36,
|
||||
"access-nbody.js": 64,
|
||||
"bitops-bitwise-and.js": 32,
|
||||
"math-partial-sums.js": 36,
|
||||
"controlflow-recursive.js": 212,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 88,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 52,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 144,
|
||||
"3d-cube.js": 188,
|
||||
"access-fannkuch.js": 148,
|
||||
"access-nbody.js": 156,
|
||||
"bitops-bitwise-and.js": 144,
|
||||
"math-partial-sums.js": 148,
|
||||
"controlflow-recursive.js": 184,
|
||||
"bitops-bits-in-byte.js": 144,
|
||||
"access-binary-trees.js": 208,
|
||||
"bitops-3bit-bits-in-byte.js": 144,
|
||||
"string-fasta.js": 156,
|
||||
"math-cordic.js": 148
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 40.712,
|
||||
"function-empty.js": 31.3,
|
||||
"function-excess-args.js": 66.3573,
|
||||
"function-closure.js": 5.34667,
|
||||
"function-missing-args.js": 66.104,
|
||||
"loop-sum.js": 42.2333,
|
||||
"loop-empty-resolve.js": 4.69867,
|
||||
"function-correct-args.js": 94.3267,
|
||||
"function-sum.js": 45.276
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 79.0093,
|
||||
"function-empty.js": 50.352,
|
||||
"function-excess-args.js": 39.632,
|
||||
"function-closure.js": 20.3333,
|
||||
"function-missing-args.js": 38.452,
|
||||
"loop-sum.js": 95.7187,
|
||||
"loop-empty-resolve.js": 9.41067,
|
||||
"function-correct-args.js": 39.468,
|
||||
"function-sum.js": 32.7947
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 28,
|
||||
"function-empty.js": 32,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 32,
|
||||
"loop-empty-resolve.js": 28,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 140,
|
||||
"function-empty.js": 144,
|
||||
"function-excess-args.js": 144,
|
||||
"function-closure.js": 472,
|
||||
"function-missing-args.js": 144,
|
||||
"loop-sum.js": 140,
|
||||
"loop-empty-resolve.js": 140,
|
||||
"function-correct-args.js": 144,
|
||||
"function-sum.js": 144
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "a26c45421988d138a01408ecfefb80816e3bcf81",
|
||||
"size": 194232
|
||||
},
|
||||
"duktape": {
|
||||
"version": "cbb85c1c99736b22a2f336f8a863d176e20089c9",
|
||||
"size": 165824
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 3.20533,
|
||||
"3d-cube.js": 3.74133,
|
||||
"access-fannkuch.js": 9.94133,
|
||||
"access-nbody.js": 4.664,
|
||||
"bitops-bitwise-and.js": 4.188,
|
||||
"math-partial-sums.js": 2.57467,
|
||||
"controlflow-recursive.js": 3.176,
|
||||
"bitops-bits-in-byte.js": 4.48933,
|
||||
"access-binary-trees.js": 2.82933,
|
||||
"bitops-3bit-bits-in-byte.js": 3.324,
|
||||
"string-fasta.js": 27.708,
|
||||
"math-cordic.js": 4.90933
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.08267,
|
||||
"3d-cube.js": 1.12533,
|
||||
"access-fannkuch.js": 1.82667,
|
||||
"access-nbody.js": 1.77067,
|
||||
"bitops-bitwise-and.js": 10.896,
|
||||
"math-partial-sums.js": 3.02267,
|
||||
"controlflow-recursive.js": 1.24133,
|
||||
"bitops-bits-in-byte.js": 0.833333,
|
||||
"access-binary-trees.js": 1.312,
|
||||
"bitops-3bit-bits-in-byte.js": 0.552,
|
||||
"string-fasta.js": 4.96267,
|
||||
"math-cordic.js": 2.48667
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 132,
|
||||
"access-fannkuch.js": 36,
|
||||
"access-nbody.js": 64,
|
||||
"bitops-bitwise-and.js": 32,
|
||||
"math-partial-sums.js": 36,
|
||||
"controlflow-recursive.js": 212,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 88,
|
||||
"bitops-3bit-bits-in-byte.js": 36,
|
||||
"string-fasta.js": 52,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 152,
|
||||
"3d-cube.js": 192,
|
||||
"access-fannkuch.js": 152,
|
||||
"access-nbody.js": 160,
|
||||
"bitops-bitwise-and.js": 148,
|
||||
"math-partial-sums.js": 148,
|
||||
"controlflow-recursive.js": 192,
|
||||
"bitops-bits-in-byte.js": 148,
|
||||
"access-binary-trees.js": 216,
|
||||
"bitops-3bit-bits-in-byte.js": 148,
|
||||
"string-fasta.js": 160,
|
||||
"math-cordic.js": 152
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 40.76,
|
||||
"function-empty.js": 31.2413,
|
||||
"function-excess-args.js": 66.4693,
|
||||
"function-closure.js": 5.36267,
|
||||
"function-missing-args.js": 66.1213,
|
||||
"loop-sum.js": 42.3547,
|
||||
"loop-empty-resolve.js": 4.708,
|
||||
"function-correct-args.js": 94.296,
|
||||
"function-sum.js": 45.2467
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 80.4693,
|
||||
"function-empty.js": 50.7293,
|
||||
"function-excess-args.js": 39.8867,
|
||||
"function-closure.js": 20.6187,
|
||||
"function-missing-args.js": 38.8387,
|
||||
"loop-sum.js": 96.9093,
|
||||
"loop-empty-resolve.js": 9.564,
|
||||
"function-correct-args.js": 39.796,
|
||||
"function-sum.js": 32.96
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 28,
|
||||
"function-empty.js": 32,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 32,
|
||||
"loop-empty-resolve.js": 28,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 144,
|
||||
"function-empty.js": 148,
|
||||
"function-excess-args.js": 148,
|
||||
"function-closure.js": 476,
|
||||
"function-missing-args.js": 148,
|
||||
"loop-sum.js": 144,
|
||||
"loop-empty-resolve.js": 144,
|
||||
"function-correct-args.js": 148,
|
||||
"function-sum.js": 148
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"info": {
|
||||
"jerryscript": {
|
||||
"version": "5a09ff2d36d983354df04f526e619e5c3ff22825",
|
||||
"size": 194244
|
||||
},
|
||||
"duktape": {
|
||||
"version": "cbb85c1c99736b22a2f336f8a863d176e20089c9",
|
||||
"size": 165824
|
||||
}
|
||||
},
|
||||
"sunspider-1.0.2": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 3.168,
|
||||
"3d-cube.js": 3.74133,
|
||||
"access-fannkuch.js": 10.0507,
|
||||
"access-nbody.js": 4.684,
|
||||
"bitops-bitwise-and.js": 4.12533,
|
||||
"math-partial-sums.js": 2.52,
|
||||
"controlflow-recursive.js": 3.17067,
|
||||
"bitops-bits-in-byte.js": 4.42133,
|
||||
"access-binary-trees.js": 2.81067,
|
||||
"bitops-3bit-bits-in-byte.js": 3.288,
|
||||
"string-fasta.js": 27.7827,
|
||||
"math-cordic.js": 4.84667
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 1.084,
|
||||
"3d-cube.js": 1.12667,
|
||||
"access-fannkuch.js": 1.828,
|
||||
"access-nbody.js": 1.76533,
|
||||
"bitops-bitwise-and.js": 10.8867,
|
||||
"math-partial-sums.js": 3.01867,
|
||||
"controlflow-recursive.js": 1.24133,
|
||||
"bitops-bits-in-byte.js": 0.844,
|
||||
"access-binary-trees.js": 1.31333,
|
||||
"bitops-3bit-bits-in-byte.js": 0.552,
|
||||
"string-fasta.js": 4.96267,
|
||||
"math-cordic.js": 2.47733
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"math-spectral-norm.js": 48,
|
||||
"3d-cube.js": 132,
|
||||
"access-fannkuch.js": 36,
|
||||
"access-nbody.js": 64,
|
||||
"bitops-bitwise-and.js": 32,
|
||||
"math-partial-sums.js": 36,
|
||||
"controlflow-recursive.js": 212,
|
||||
"bitops-bits-in-byte.js": 32,
|
||||
"access-binary-trees.js": 88,
|
||||
"bitops-3bit-bits-in-byte.js": 40,
|
||||
"string-fasta.js": 56,
|
||||
"math-cordic.js": 48
|
||||
},
|
||||
"duktape": {
|
||||
"math-spectral-norm.js": 152,
|
||||
"3d-cube.js": 192,
|
||||
"access-fannkuch.js": 152,
|
||||
"access-nbody.js": 160,
|
||||
"bitops-bitwise-and.js": 148,
|
||||
"math-partial-sums.js": 148,
|
||||
"controlflow-recursive.js": 192,
|
||||
"bitops-bits-in-byte.js": 148,
|
||||
"access-binary-trees.js": 216,
|
||||
"bitops-3bit-bits-in-byte.js": 148,
|
||||
"string-fasta.js": 160,
|
||||
"math-cordic.js": 152
|
||||
}
|
||||
}
|
||||
},
|
||||
"ubench": {
|
||||
"performance": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 39.872,
|
||||
"function-empty.js": 29.7347,
|
||||
"function-excess-args.js": 65.4187,
|
||||
"function-closure.js": 5.252,
|
||||
"function-missing-args.js": 64.7933,
|
||||
"loop-sum.js": 42.06,
|
||||
"loop-empty-resolve.js": 4.57867,
|
||||
"function-correct-args.js": 93.34,
|
||||
"function-sum.js": 44.3213
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 80.4213,
|
||||
"function-empty.js": 50.6827,
|
||||
"function-excess-args.js": 39.8933,
|
||||
"function-closure.js": 20.648,
|
||||
"function-missing-args.js": 38.864,
|
||||
"loop-sum.js": 96.8747,
|
||||
"loop-empty-resolve.js": 9.564,
|
||||
"function-correct-args.js": 39.8173,
|
||||
"function-sum.js": 32.9587
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"jerryscript": {
|
||||
"loop-empty.js": 32,
|
||||
"function-empty.js": 32,
|
||||
"function-excess-args.js": 32,
|
||||
"function-closure.js": 32,
|
||||
"function-missing-args.js": 32,
|
||||
"loop-sum.js": 32,
|
||||
"loop-empty-resolve.js": 32,
|
||||
"function-correct-args.js": 32,
|
||||
"function-sum.js": 32
|
||||
},
|
||||
"duktape": {
|
||||
"loop-empty.js": 144,
|
||||
"function-empty.js": 148,
|
||||
"function-excess-args.js": 148,
|
||||
"function-closure.js": 476,
|
||||
"function-missing-args.js": 148,
|
||||
"loop-sum.js": 144,
|
||||
"loop-empty-resolve.js": 144,
|
||||
"function-correct-args.js": 148,
|
||||
"function-sum.js": 148
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user