Skip to main content

Performance and Resource Analysis on the JavaScript Runtime for IoT Devices

  • Conference paper
  • First Online:
Computational Science and Its Applications – ICCSA 2016 (ICCSA 2016)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 9786))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Node.js. https://nodejs.org

  2. Duktape. http://www.duktape.org

  3. JerryScript. https://samsung.github.io/jerryscript

  4. V7. https://www.cesanta.com/developer/v7

  5. Ogasawara, T.: Workload characterization of server-side javascript. In: Proceedings of IEEE International Symposium on Workload Characterization (IISWC) 2014, pp. 13–21. IEEE (2014)

    Google Scholar 

  6. 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)

    Google Scholar 

  7. 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)

    Google Scholar 

  8. Zhu, Y., Reddi, V.J.: WebCore: architectural support for mobile web browsing. In: Proceedings of International Symposium on Computer Architecture, p. 552 (2014)

    Google Scholar 

  9. 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)

    Google Scholar 

  10. 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)

    Google Scholar 

  11. V8. https://developers.google.com/v8/

  12. 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)

    Google Scholar 

  13. 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)

    Google Scholar 

  14. Tilkov, S., Vinoski, S.: Node.js: using javascript to build high-performance network programs. IEEE Internet Comput. 14(6), 80 (2010)

    Article  Google Scholar 

Download references

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

Authors

Corresponding author

Correspondence to Dongkun Shin .

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics