Added Mako to TechEmPower Framework Benchmarks #304
Replies: 5 comments 9 replies
-
Btw, one thing I really would love about the documentation is a search feature. I'm pretty sure Algolia would be free for open source projects, and if I remember right, I think it's as simple as point a URL at it, and it will index it for you. https://www.algolia.com/for-open-source/ |
Beta Was this translation helpful? Give feedback.
-
Hi! Thanks for the feedback. A combination of performance and ease of use has been the main goal so I'm glad you like it. I agree that the documentation needs a search feature so I'll look into setting up Algolia sometime soon. A good place to set up a custom template renderer would be in the <?php
/** @var \mako\syringe\Container $container */
use mako\view\ViewFactory;
$container->get(ViewFactory::class)->extend('.latte', function()
{
}); |
Beta Was this translation helpful? Give feedback.
-
@freost Looks like your framework performs about as well as Fat-Free which I think is a huge win! Great framework with good amount of features and it performs very very well. Congrats! https://www.techempower.com/benchmarks/#section=test&runid=dc15ab19-0139-4489-b767-36eab8443eb1&test=plaintext A follow up question would be if you know if your framework is compatible with other async backend solutions like swoole, roadrunner, workerman, etc? And finally, do you guys have a discord or slack channel? It'd be way easier to hit you up on that instead of this haha. I have a bunch of guys at my work that are becoming very interested in Mako |
Beta Was this translation helpful? Give feedback.
-
They finally made a public new Round and Mako made it on the list. Nice job for not having swoole/workerman! @freost https://www.techempower.com/benchmarks/#hw=ph&test=plaintext§ion=data-r22&l=zik073-cn3 |
Beta Was this translation helpful? Give feedback.
-
The initial FrankenPHP tests seem promising. This is just a simple "Hello, world" test after spending a few minutes on some minor changes to the framework to make it compatible with the worker mode and it runs about 4 times faster on FrankenPHP. Mako 10 on Apache + PHP 8.2 (using opcache production settings):
Mako 10 on FrankenPHP + PHP 8.3:
|
Beta Was this translation helpful? Give feedback.
-
Hey there!
Came across your framework when browser through php frameworks on Github. I wanted to mess with it, but didn't have a project, so I just threw it in the benchmark as "my project". TechEmpower/FrameworkBenchmarks#7827
Hopefully it gets pulled in soon. From performance testing on my machine, it seems it is about as fast as Fat-Free, which is quite impressive! I enjoyed working with it and will probably be using it on a next project of mine. I will say, I prefer Latte as the templating engine instead of the Twig like one you had in there. I saw the docs for how to extend the templating engine (though I am a little confused on where you put that extend() method in which file...)
Anywho, great framework! Thank you for all your hard work! @freost
Beta Was this translation helpful? Give feedback.
All reactions