Komparasi Performa REST API Laravel 11 dan CodeIgniter 4 Menggunakan Metode Eksperimental

Authors

  • Putri Eka valentina Universitas Pamulang
  • Dede Handayani Universitas Pamulang
  • Surya Rizky Maulana Ibrahim Universitas Pamulang
  • Nanang Nanang Universitas Pamulang
  • Faris Maulana Kusumah Putra Universitas Pamulang

DOI:

https://doi.org/10.37859/jf.v16i1.11274
Keywords: laravel 11, codeigniter 4, rest api, performance, load testing

Abstract

This study evaluates the performance of Laravel 11 and CodeIgniter 4 REST API frameworks using an experimental method with controlled variables. Both frameworks were built with identical CRUD endpoints and stress-tested using Apache JMeter 5.6 at concurrency levels of 100, 500, and 1,000 users, with 10 replications each. Key metrics were response time, throughput (RPS), and server memory usage. Results show CodeIgniter 4 consistently outperforms Laravel 11 in raw speed: 70 ms vs. 100 ms at 100 users; 310 ms vs. 480 ms at 1,000 users — a 35–55% advantage. Throughput ratio reached 2.09:1 in favor of CodeIgniter 4 (1,420 vs. 680 RPS at low load), while memory consumption was 66% lower (10 MB vs. 30 MB per request). Analysis of ORM impact shows Eloquent adds a 24% penalty over Query Builder (385 ms vs. 310 ms for 1,000-record fetches). However, applying route caching, config caching, and OPcache boosted Laravel 11 throughput by 75% (reaching 1,180 RPS) and narrowed response time to 85 ms. These findings provide empirical guidance: CodeIgniter 4 suits lightweight microservices with limited resources, while Laravel 11 is preferable for complex enterprise systems demanding security, maintainability, and team productivity.

Downloads

Download data is not yet available.

References

Ramadhan, R. (2021) ‘REST API Architecture Design on Multi-Platform Device Development’, Journal of E-KOMTEK (Elektro-Komputer-Teknik), 5(2), pp. 178–189.

Sinlae, F., Irwanda, E., Maulana, Z. and Syahputra, V.E. (2024) ‘Penggunaan Framework Laravel dalam Membangun Aplikasi Website Berbasis PHP’, Jurnal Sistem Manajemen Digital, 2(2), pp. 119–132.

Kansha, W.M., Saherih and Muchlis (2023) ‘Analisis Perbandingan Struktur dan Performa Framework CodeIgniter dan Laravel dalam Pengembangan Web Application’, Jurnal Teknik Informatika STMIK Antar Bangsa, 9(1), pp. 25–31.

Niarman, A., Iswandi and Candri, A.K. (2023) ‘Comparative Analysis of PHP Frameworks for Development of Academic Information System Using Load and Stress Testing’, International Journal of Software Engineering and Computer Science, 3, pp. 424–436.

Ahmed, M.K., Bello, A.H., Jauro, S.S. and Dawaki, M. (2024) ‘A comparative analysis of performance optimization techniques for benchmarking PHP frameworks: Laravel and Codeigniter’, Dutse Journal of Pure and Applied Sciences, 10(3), pp. 284–295.

Praseyto, F., Putra, E., Mufidah, K., Anggreni, S. and Sugi, A. (2025) ‘Comparative Literature Study of CodeIgniter and Laravel Framework Performance in Website Creation’, Jurnal Informasi dan Teknologi, 7(1), pp. 4–5. doi: 10.60083/jidt.vi0.617.

Sismadi, W., Martono, B.A., Widyastuti, T. and Luhur, U.B. (2022) ‘Comparative Analysis of CodeIgniter, Laravel and KTUPAD Frameworks: Case Study Online Exam Applications’, IJAR, 3(3), pp. 207–219. doi: 10.30997/ijar.v3i3.236.

Muhammad, Khadafi, M. and Amirullah (2024) ‘Analisis Perbandingan Performa Website Berbasis Laravel dengan CodeIgniter menggunakan Web’, eProceeding TIK, 4(2), pp. 287–294.

Hendayun, M., Ginanjar, A. and Ihsan, Y. (2023) ‘Analysis of Application Performance Testing Using Load Testing and Stress Testing Methods in API Service’, Jurnal Sisfotek Global, 13(1), pp. 28–34.

Andrianto, L.D. and Suyatno, D.F. (2024) ‘Analisis Performa Load Testing Antara MySQL dan NoSQL MongoDB pada REST API Node.js Menggunakan Postman’, Journal of Emerging Information Systems and Business Intelligence, 5(1), pp. 18–26.

Wu, H., Liu, F. and Lee, R.B. (no date) Cloud Server Benchmarks for Performance Evaluation of New Hardware Architecture. Princeton, NJ: Princeton University.

Downloads

Published

2026-05-03