iotjs icon indicating copy to clipboard operation
iotjs copied to clipboard

Supporting benchmark of JerryScript

Open lemmaa opened this issue 11 years ago • 3 comments

IoT.js contains an amount of JavaScript codes to implement built-in modules. How can we provide the way of using such codes in IoT.js to benchmark the performance of JerryScript. Let's list up the ideas and issues.

lemmaa avatar Aug 05 '15 12:08 lemmaa

As far as I understood, the main issue is to emulate I/O. Can we just define strings with appropriate input data and replace all I/O with this data?

egavrin avatar Aug 05 '15 12:08 egavrin

One option that we can think about is adding a build mode for benchmarking JerryScript. In this mode, main entry for IoT.js requires all of the native modules that makes JerryScript parse and run all the native modules. Since native modules are included in IoT.js binary there will be no I/O.

ILyoan avatar Aug 17 '15 01:08 ILyoan

Closing. It's better to handle at JerryScript itself.

yichoi avatar Sep 05 '16 11:09 yichoi