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

J. Yang, Syaeful Anas Aklani
{"title":"PERFORMANCE ANALYSIS BETWEEN INTERPRETED LANGUAGE-BASED (LARAVEL) AND COMPILED LANGUAGE-BASED (GIN) WEB FRAMEWORKS","authors":"J. Yang, Syaeful Anas Aklani","doi":"10.33884/cbis.v11i1.6583","DOIUrl":null,"url":null,"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.","PeriodicalId":413767,"journal":{"name":"Computer Based Information System Journal","volume":"32 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-03-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Based Information System Journal","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.33884/cbis.v11i1.6583","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

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.
基于解释语言(laravel)和基于编译语言(gin)的web框架之间的性能分析
Web框架对于Web开发人员来说是必不可少的,它使他们能够更高效地构建Web应用程序。本文比较了两种不同编程语言实现的web框架:解释型编程语言和编译型编程语言。PHP/Laravel被选为解释性编程语言的代表,Go/Gin被选为编译性编程语言的代表,因为从GitHub上的星级来看,它们是最受欢迎的。根据Minho大学的一篇研究论文,就执行时间而言,Go比PHP快近10倍。尽管如此,PHP仍然是前100万个网站中最常用的web技术。对两者进行比较的一系列测试结果表明,就每秒请求数和每次请求时间而言,Gin比Laravel快86倍以上。选择使用哪个web框架取决于项目的具体需求和目标。然而,如果性能是唯一的标准,那么Gin是比Laravel更好的选择。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信