PERFORMANCE ANALYSIS BETWEEN INTERPRETED LANGUAGE-BASED (LARAVEL) AND COMPILED LANGUAGE-BASED (GIN) WEB FRAMEWORKS

Authors

  • Jason Aaron Yang Universitas Internasional Batam
  • Syaeful Anas Aklani Universitas Internasional Batam

DOI:

https://doi.org/10.33884/cbis.v11i1.6583

Keywords:

web framework, performance, PHP, Laravel, Go, Gin

Abstract

Web frameworks are essential for web developers, allowing them to build web applications more efficiently and effectively. This research paper compared two web frameworks with different programming language implementations: interpreted programming language and compiled programming language. PHP/Laravel was chosen as the representative interpreted programming language, and Go/Gin was chosen as the representative compiled programming language, because they were the most popular based on their star counts on GitHub. Based on a research paper by the University of Minho, Go was nearly 10 times faster than PHP in terms of execution time. Despite this, PHP is still the most commonly used web technology among the top 1 million websites. The results of a series of tests comparing the two showed that Gin was over 86 times faster than Laravel in terms of requests per second and time per request. The choice of which web framework to use will depend on the specific needs and goals of the project. However, if performance is the only criterion, then Gin is a better choice than Laravel.

Downloads

Published

2023-03-20

How to Cite

Yang, J. A., & Aklani, S. A. . (2023). PERFORMANCE ANALYSIS BETWEEN INTERPRETED LANGUAGE-BASED (LARAVEL) AND COMPILED LANGUAGE-BASED (GIN) WEB FRAMEWORKS. Computer Based Information System Journal, 11(1), 12–16. https://doi.org/10.33884/cbis.v11i1.6583