{"title":"基于解释语言(laravel)和基于编译语言(gin)的web框架之间的性能分析","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":"{\"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}","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}
PERFORMANCE ANALYSIS BETWEEN INTERPRETED LANGUAGE-BASED (LARAVEL) AND COMPILED LANGUAGE-BASED (GIN) WEB FRAMEWORKS
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.