Abstract
The light-weight JavaScript frameworks such as IoT.js, DukServer, and Smart.js provide the asynchronous event-driven JavaScript runtime for low-end IoT device. These frameworks are designed for memory-constrained systems such as IoT devices. To evaluate the performance of these frameworks, existing JavaScript benchmarks are not suitable considering that the use cases of IoT device are mainly to execute a simple task generating sensor and network I/O requests. In this paper, we propose several IoT workloads to evaluate the performance and memory overhead of IoT systems, and evaluate several light-weight JavaScript frameworks. In addition, we evaluated the effectiveness of multi-core system for JavaScript framework.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Node.js. https://nodejs.org
Duktape. http://www.duktape.org
JerryScript. https://samsung.github.io/jerryscript
Ogasawara, T.: Workload characterization of server-side javascript. In: Proceedings of IEEE International Symposium on Workload Characterization (IISWC) 2014, pp. 13–21. IEEE (2014)
Zhu, Y., Richins, D., Halpern, M., Reddi, V.J.: Microarchitectural implications of event-driven server-side web applications. In: Proceedings of the 48th International Symposium on Microarchitecture, pp. 762–774. ACM (2015)
Chadha, G., Mahlke, S., Narayanasamy, S.: Efetch: optimizing instruction fetch for event-driven web applications. In: Proceedings of the 23rd International Conference on Parallel Architectures and Compilation, pp. 75–86. ACM (2014)
Zhu, Y., Reddi, V.J.: WebCore: architectural support for mobile web browsing. In: Proceedings of International Symposium on Computer Architecture, p. 552 (2014)
Anderson, O., Fortuna, E., Ceze, L., Eggers, S.: Checked load: architectural support for JavaScript type-checking on mobile processors. In: Proceedings of 2011 IEEE 17th International Symposium on High Performance Computer Architecture (HPCA), pp. 419–430. IEEE (2011)
Halpern, M., Zhu, Y., Reddi, V.J.: Mobile CPU’s rise to power: quantifying the impact of generational mobile CPU design trends on performance, energy, and user satisfaction. In: Proceedings of 2016 IEEE International Symposium on High Performance Computer Architecture (HPCA), pp. 64–76. IEEE (2016)
Tiwari, D., Solihin, Y.: Architectural characterization and similarity analysis of sunspider and Google’s V8 Javascript benchmarks. In: Proceedings of 2012 IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS), pp. 221–232. IEEE (2012)
Gavrin, E., Lee, S.J., Ayrapetyan, R., Shitov, A.: Ultra lightweight JavaScript engine for internet of things. In: Companion Proceedings of the 2015 ACM SIGPLAN International Conference on Systems, Programming, Languages and Applications: Software for Humanity, pp. 19–20. ACM (2015)
Tilkov, S., Vinoski, S.: Node.js: using javascript to build high-performance network programs. IEEE Internet Comput. 14(6), 80 (2010)
Acknowledgements
This work was supported by the Center for Integrated Smart Sensors funded by the Ministry of Science, ICT & Future Planning as Global Frontier Project. (CISS-2011-0031863).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2016 Springer International Publishing Switzerland
About this paper
Cite this paper
Sin, D., Shin, D. (2016). Performance and Resource Analysis on the JavaScript Runtime for IoT Devices. In: Gervasi, O., et al. Computational Science and Its Applications – ICCSA 2016. ICCSA 2016. Lecture Notes in Computer Science(), vol 9786. Springer, Cham. https://doi.org/10.1007/978-3-319-42085-1_50
Download citation
DOI: https://doi.org/10.1007/978-3-319-42085-1_50
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-42084-4
Online ISBN: 978-3-319-42085-1
eBook Packages: Computer ScienceComputer Science (R0)