Pengujian Performansi Lima Back-End JavaScript Framework Menggunakan Metode GET dan POST
Abstract
Currently, JavaScript is widely used in server-side (Back-End) website development. There are five choices of Back-End JavaScript frameworks that are commonly used: Koa, Express, Plumier, Loopback, Nest. Developers need to choose which framework has the best performance in order to produce a website with the best performance. For this reason, in this research, a comparsion of performance of the five Back-End JavaScript frameworks on the HTTP protocol was carried out using the GET and POST methods. Performance measurement uses two assessment parameters: 1.) The framework's ability to handle requests per second (req/s), 2.) Decrease in data processing speed (%) related to parsing, validation, routing, requests. Each tested framework is equipped with a router, body-parser, validator, NPM. Tests were carried out ten times on GET and POST, then obtain the average performance value of each framework. The test results show that Koa has the best performance and Loopback has the worst. From the results, it is recommended that Koa, Express, Plumier, be chosen by the developer, compared to Nest and Loopback.
Downloads
References
W3Schools, 2020. JavaScript Introduction. [Online]. Tersedia di: https://www.w3schools.com/js/js_intro.asp [Accessed 12 November 2020].
Medium, 2020. Top JavaScript Frameworks and Topics to Learn in 2020 and the New Decade. [Online]. Tersedia di: https://medium.com/JavaScript-scene/top-JavaScript-frameworks-and-topics-to-learn-in-2020-and-the-new-decade-ced6e9d812f9 [Accessed 12 November 2020].
Bangare, S. L., et al., 2016. Using Node.Js to Build High Speed and Scalable Backend Database Server . International Journal of Research in Advent Technology, Special Issue, pp.61-64.
Pano, A., et al., 2016. Rationale Leading to the Adoption of a JavaScript Framework. ArXiv Software Engineering Journal, pp.1-49.
Putra, P.A., 2017. Pengembangan Sistem Informasi Perijinan Tenaga Kesehatan Dengan Menggunakan Metode BackEnd dan FrontEnd. Jurnal Ilmiah Teknologi Informasi (JUTI), Vol.10 No.1, pp.39-48.
Jon, D., 2014. JavaScript and JQuery: Interactive Front-End Web Development. 1st edition. New Jersey: Wiley Publications.
Faried E., dan Barry N., 2016. Penerapan Framework Bootstrap Dalam Pembangunan Sistem Informasi Pengangkatan dan Penjadwalan Pegawai (Studi Kasus: Rumah Sakit Bersalin Buah Delima Sidoarjo). Jurnal Informatika Mulawarman, Vol. 11 No. 1, pp.9-13.
Yongkang X., Jia P.H., dan Yong, Y.L., 2019. Research and Analysis of the Front-end Frameworks and Libraries in E-Business Development. In: ICCAE 2019: Proceedings of the 2019 11th International Conference on Computer and Automation Engineering. Perth, February 2019.
Koa, 2020. Koa: Next Generation Web Framework for NodeJS. [Online]. Tersedia di: https://koajs.com [Accessed 14 November 2020].
OpenJS foundation, 2020. Express: Fast, Unopinionated, Minimalist Web Framework for NodeJS. [Online]. Tersedia di: https://expressjs.com [Accessed 14 November 2020].
Plumier, 2020. Plumier In Five Minutes. [Online]. Tersedia di: https://plumierjs.com/docs/overview [Accessed 14 November 2020].
Nest, 2020. Hello, Nest! A Progressive NodeJS Framework for Building Efficient, Reliable and Scalable Server-Side Applications. [Online]. Tersedia di: https://nestjs.com [Accessed 14 November 2020].
StrongLoop, 2020. LoopBack: A Highly Extensible NodeJS and TypeScript Framework for Building APIs and Microservices. [Online]. Tersedia di: https://loopback.io [Accessed 14 November 2020].
John P., 2020. NPM Trends: Koa vs Nest vs Loopback vs Express vs Plumier. [Online]. Tersedia di: https://www.npmtrends.com/koa-vs-nest-vs-loopback-vs-express-vs-plumier [Accessed 14 November 2020].
Anugerah C.R., Rizal F.A., 2018. Performance Comparison of Node.js, PHP, and Python Performance. Cogito Smart Journal, 4(1), pp.171-187.
Jefferson, F., 2018. A JavaScript Framework Comparison Based on Benchmarking Software Metrics and Environment Configuration Software Metrics and Environment Configuration. Masters dissertation. Dublin: Technological University (TU) Dublin.
Samarth M., dan Rashmi R., 2020. Comparison of JavaScript Frontend Frameworks and Web API Services. International Research Journal of Engineering and Technology (IRJET), Vol.07, Issue.06, pp.108-112.
Sanja D., dan Drazeon D., 2018. Modern JavaScript frameworks: A Survey Study. In: Zooming Innovation in Consumer Technologies Conference (ZINC) 2018, Novi Sad, Serbia 30-31 May 2018. Serbia.
Andreas G., Sotiris C., Theodore P., 2012. Comparative Evaluation of JavaScript Frameworks. In: WWW '12 Companion: Proceedings of the 21st International Conference on World Wide Web, Lyon, France April 2012. France.
Andreas G., Sotiris C., Theodore P., 2014. Performance and Quality of JQuery JavaScript Framework. Information Engineering (IE) Journal, Vol.3, pp.1-11.
Jaime R., et al., 2016. Browser Performance of JavaScript Framework, SAPUI5 and jQuery. In: IEEE United Nations Department of Economic and Social Affairs, 2016 International Conference on Computational Science and Computational Intelligence (CSCI). Las Vegas, USA 15-17 December 2012. United Nations: Las Vegas.
Copyright (c) 2020 Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi)
This work is licensed under a Creative Commons Attribution 4.0 International License.
Copyright in each article belongs to the author
- The author acknowledges that the RESTI Journal (System Engineering and Information Technology) is the first publisher to publish with a license Creative Commons Attribution 4.0 International License.
- Authors can enter writing separately, arrange the non-exclusive distribution of manuscripts that have been published in this journal into other versions (eg sent to the author's institutional repository, publication in a book, etc.), by acknowledging that the manuscript has been published for the first time in the RESTI (Rekayasa Sistem dan Teknologi Informasi) journal ;