Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: speed bug #9074

Closed
zsolt585 opened this issue Jul 25, 2024 · 5 comments
Closed

Bug: speed bug #9074

zsolt585 opened this issue Jul 25, 2024 · 5 comments

Comments

@zsolt585
Copy link

zsolt585 commented Jul 25, 2024

PHP Version

8.2

CodeIgniter4 Version

4.5.3

CodeIgniter4 Installation Method

Manual (zip or tar.gz)

Which operating systems have you tested for this bug?

Linux

Which server did you use?

apache

Database

MySQL

What happened?

Hi.
We are using codeigniter 4 for mobile API.
We have upgraded the project from CI3 to CI4, and on our machine ci4 is faster, but when it is deployed to our test / production servers becomes way slower.
For example in CI3 an endpoint response time was 200ms, meanwhile in CI4 it is around 2.000 ms.

We have tried eliminating the database, to make sure not the queries are problem, but the performance did not increased.

@zsolt585 zsolt585 added the bug Verified issues on the current code behavior or pull requests that will fix them label Jul 25, 2024
@cijagani
Copy link
Contributor

cijagani commented Jul 25, 2024

Application performance depended on many factors. Your server configuration, server settings, resources etc.. it is not ci4 issue.

@cijagani
Copy link
Contributor

You can post your issues in the forum site.

@michalsn
Copy link
Member

The v4.5 version is in fact the fastest iteration of branch 4 to date.

I would suggest providing the production server configuration/settings. You can share it on the forum - you should find some people willing to give you some feedback.

@michalsn michalsn removed the bug Verified issues on the current code behavior or pull requests that will fix them label Jul 25, 2024
@kenjis
Copy link
Member

kenjis commented Jul 26, 2024

We use GitHub issues to track BUGS and to track approved DEVELOPMENT work packages. We use our forum to provide SUPPORT and to discuss FEATURE REQUESTS.

See also https://codeigniter4.github.io/CodeIgniter4/installation/deployment.html#optimization

@kenjis kenjis closed this as completed Jul 26, 2024
@kenjis
Copy link
Member

kenjis commented Jul 26, 2024

As a fact, CI4 is much slower than CI3 when comparing by the Hello World benchmark.
See #6889

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants