Upgrading Cakephp 2.3 to 2.10 and PHP 5.6 to 7.2, worth it?

Hi there!

Performance and load time wise…
Is it worth upgrading Cakephp 2.3 to 2.10 and PHP 5.6 to 7.2?

“In theory”, how much performance boost would I be expecting?

Why I ask this?

I’m working on an app that was working fine on a dedicated server (reaching 12% of CPU use) but it recently got migrated to a cloud server with the same specs( CPU and RAM wise ) and the load times got significantly higher (furthermore, it uses about 70% of the CPU…) .

This app is expected to DIE (no longer being used) in about 6 months (so the question is not related to the amount of work I would do to upgrade it, but the performance increase that I would hypothetically get if I upgrade it).

Why I don’t consider upgrading to Cakephp 3.x or 4.x?
Because I think that the remaining lifetime of this app is not worth it, I’m just looking to boost the response time and use less cloud resources.

FYI
I’m already considering:

  • Replacing Apache 2.4 with the latest NGINX version available.
  • Replacing MySQL with Percona

Any advise?
Thanks in advance!