Hello Everyone,
In one of his live streams, DC talked about benchmarks. I decided to delve into it and see how Trongate performs against the most recent versions of the 5 most popular PHP frameworks. (According to Google they are: Laravel, Symfony, CodeIgniter, Yii and CakePHP).
I hereby donate these brand new benchmark test results:
https://drive.google.com/file/d/10hP3IuzC8tV8YIAJGvkKUmPlAis_Zk05/view?usp=sharing
(You can safely visit the link. It's a PNG image.)
Benchmark performed by: NinjaBalazs on December 25, 2025
Machine and benchmark stack: Mac Mini M4 16GB RAM, Apache, Apache Bench, PHP 8.5, MySQL, SQLite.
Debug mode turned off and application environment set to live/production in every framework with default configuration and a live database connection.
Results are based on 10 rounds of 20,000 requests and best results are chosen for each framework.
It took a fair amount of my time to properly install, configure and run these frameworks.
I hope these benchmark results prove to be useful.
I can provide more details, a higher resolution image or SVG format if needed.
Disclaimer: I do not claim to be an expert on any of the benchmarked frameworks. Different hosts, benchmark stacks, setups, configurations, web servers, web server settings, caching, environment variables or other configuration settings - I may not be aware of - might significantly or completely change benchmark results.
Benchmark Results
5 months ago
5 months ago
#1
5 months ago
#2
Wow!
Thank you SO MUCH. This is exactly what we need. It's amazing!
We have Trongate v2 coming out on January 6th. It’s almost here! I can exclusively reveal that the engine directory in Trongate v2 is only 30% the size of its v1 counterpart, which makes me really optimistic about v2 being even faster.
If I email you a highly top secret copy of Trongate v2, would you be able to add that to your test results? This would be REALLY useful for the launch event. I'll certainly be happy to assist in any way I can and I will, of course, give you full credit.
Thank you SO MUCH. This is exactly what we need. It's amazing!
We have Trongate v2 coming out on January 6th. It’s almost here! I can exclusively reveal that the engine directory in Trongate v2 is only 30% the size of its v1 counterpart, which makes me really optimistic about v2 being even faster.
If I email you a highly top secret copy of Trongate v2, would you be able to add that to your test results? This would be REALLY useful for the launch event. I'll certainly be happy to assist in any way I can and I will, of course, give you full credit.
5 months ago
#3
Thank you guys for the likes and thank you, David, for the kind words.
I'm so glad you find these benchmarks useful!
I'd be honored to conduct benchmarks for V2 as well. Please do so and send me a copy of Trongate v2 whenever you feel like it's ready for benchmarking.
I'll provide you with multiple formats of the diagrams showcasing the results so that you can make good use of them at the launch event. Also, you are free to use the benchmark results on the website, in any of your videos, or for any kind of marketing purpose if you wish to do so.
I'm so glad you find these benchmarks useful!
I'd be honored to conduct benchmarks for V2 as well. Please do so and send me a copy of Trongate v2 whenever you feel like it's ready for benchmarking.
I'll provide you with multiple formats of the diagrams showcasing the results so that you can make good use of them at the launch event. Also, you are free to use the benchmark results on the website, in any of your videos, or for any kind of marketing purpose if you wish to do so.
5 months ago
#4
Thank you so much! I'm super excited about this.
I'll package something up and have it emailed to you within the next 48 hours.
Many thanks indeed!
I'll package something up and have it emailed to you within the next 48 hours.
Many thanks indeed!
5 months ago
#5
Hi NinjaBalazs,
While your graph image looks amazing, it would be beneficial if you could send DC an Excel or JSON object of the results so he can graph it in any way he prefers.
i.e. like the one already on trongate.io
While your graph image looks amazing, it would be beneficial if you could send DC an Excel or JSON object of the results so he can graph it in any way he prefers.
i.e. like the one already on trongate.io
5 months ago
#6
It's alright. The graphic is beautiful. Perfect.
If we can get anything that looks like that but with Trongate v2 then I say let's keep that. It's really great.
It was good to talk with you earlier on, Simon.
All hail and ahoy!
If we can get anything that looks like that but with Trongate v2 then I say let's keep that. It's really great.
It was good to talk with you earlier on, Simon.
All hail and ahoy!
5 months ago
#7
Thank you for the great suggestion DaFa.
I can certainly send DC the results in any format that is most useful.
I can certainly send DC the results in any format that is most useful.
5 months ago
#8
Okay, sending the framework via email might be tricky, so I’ve uploaded a repo to GitHub for you.
The URL is:
https://github.com/trongate/Trongate-v2-Dev
PLEASE NOTE: Setting the ENV value (in config.php) to 'live' should make it run slightly faster than when set to 'dev'.
PLEASE ALSO NOTE: This is definitely not production-ready, and there is a high chance of errors. Please contact me if you notice any issues or need a hand with anything.
The graphic you produced was amazing. I can’t do better, and I have no plans to change anything you’re doing.
Thanks again for all your efforts. I’ll keep a very close eye on the forum for news and to respond to any help requests.
Thanks!
The URL is:
https://github.com/trongate/Trongate-v2-Dev
PLEASE NOTE: Setting the ENV value (in config.php) to 'live' should make it run slightly faster than when set to 'dev'.
PLEASE ALSO NOTE: This is definitely not production-ready, and there is a high chance of errors. Please contact me if you notice any issues or need a hand with anything.
The graphic you produced was amazing. I can’t do better, and I have no plans to change anything you’re doing.
Thanks again for all your efforts. I’ll keep a very close eye on the forum for news and to respond to any help requests.
Thanks!
5 months ago
#9
Looking good, DC. Just ran the following using Apachebench v2.3on my Windows 11 Pro laptop (i9-12900HK, 64Gb RAM) with a modified Xammp install >> Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.5.1, 10.4.32-MariaDB)
That's 210% faster than Trongate v1 🤯- looking forward to seeing how NinjaBalazs fairs on his Mac mini M4
Cheers,
DaFa
*** EDIT
I asked AI to analyse the numbers, with slightly different command-line arguments as suggested by ChatGPT:
----------------------------------------------------
BENCHMARK SUMMARY (ApacheBench – Windows 11 / XAMPP)
Endpoint: /t2-dev
Response size: ~330 bytes
Server: Apache 2.4.58 + PHP 8.5.1 (XAMPP)
OS: Windows 11
Tool: ApacheBench 2.3
Keep-Alive: ON
Peak sustained throughput occurs at c = 50.
SUMMARY
ApacheBench testing was performed on Windows 11 using XAMPP (Apache 2.4.58 + PHP 8.5.1) against a minimal Trongate v2 endpoint returning ~330 bytes. All tests were run with Keep-Alive enabled and repeated to confirm consistency.
Results show stable scaling up to ~3,300 requests/sec, with the optimal concurrency at 50. Increasing concurrency beyond this point increases latency without improving throughput, indicating a platform (Apache/Windows) ceiling rather than a framework limitation.
A sustained 60,000-request run at c=50 confirmed no performance degradation, memory leaks, or long-tail latency creep. p99 latency remained under 50 ms, with zero failed requests.
These results demonstrate that Trongate v2 delivers high and stable throughput under sustained load, with observed limits attributable to the Windows + Apache environment rather than the framework itself.
Bottom line:
This result is clean, stable, and defensible.
You have crossed from “interesting” into “credible benchmark”.
That's 210% faster than Trongate v1 🤯- looking forward to seeing how NinjaBalazs fairs on his Mac mini M4
Cheers,
DaFa
*** EDIT
I asked AI to analyse the numbers, with slightly different command-line arguments as suggested by ChatGPT:
----------------------------------------------------
BENCHMARK SUMMARY (ApacheBench – Windows 11 / XAMPP)
Endpoint: /t2-dev
Response size: ~330 bytes
Server: Apache 2.4.58 + PHP 8.5.1 (XAMPP)
OS: Windows 11
Tool: ApacheBench 2.3
Keep-Alive: ON
Peak sustained throughput occurs at c = 50.
SUMMARY
ApacheBench testing was performed on Windows 11 using XAMPP (Apache 2.4.58 + PHP 8.5.1) against a minimal Trongate v2 endpoint returning ~330 bytes. All tests were run with Keep-Alive enabled and repeated to confirm consistency.
Results show stable scaling up to ~3,300 requests/sec, with the optimal concurrency at 50. Increasing concurrency beyond this point increases latency without improving throughput, indicating a platform (Apache/Windows) ceiling rather than a framework limitation.
A sustained 60,000-request run at c=50 confirmed no performance degradation, memory leaks, or long-tail latency creep. p99 latency remained under 50 ms, with zero failed requests.
These results demonstrate that Trongate v2 delivers high and stable throughput under sustained load, with observed limits attributable to the Windows + Apache environment rather than the framework itself.
Bottom line:
This result is clean, stable, and defensible.
You have crossed from “interesting” into “credible benchmark”.
5 months ago
#10
I ran the benchmark with Trongate v2, and all I can say is: WOW!
It runs circles around every other framework, including its own predecessor.
Here is the new, updated diagram:
https://drive.google.com/file/d/10xq3FyEMYZJlIgjImJkbd9qm01Gt6d5O/view?usp=sharing
The setup was the same as previously, and my disclaimer is still valid.
It runs circles around every other framework, including its own predecessor.
Here is the new, updated diagram:
https://drive.google.com/file/d/10xq3FyEMYZJlIgjImJkbd9qm01Gt6d5O/view?usp=sharing
The setup was the same as previously, and my disclaimer is still valid.