Choosing the fastest php framework?

0 like 0 dislike
90 views
Lead the development of their php framework, the main objectives of which is the compactness of the engine, the ease of use when developing sites in it, and of course, upload speed pages.


The question arose: How fast the page is generated by news, menu and some text block the fastest of the existing and familiar to you PHP framework?


Under the conditions:
  • Off any kind of cache;
  • The average computer configuration (say 1Ghz, 1Gb RAM);
  • The presence of MVC framework.


Thank you for your attention.
by | 90 views

7 Answers

0 like 0 dislike
From framework depends. When disabled, the porridge — you need to meddle in the database... Every framework of his own implements different features, and depending on the specific implementation of the project frameworki will be a different lead and different vydavt speed... There is not prakticheski and teoreticheski need to compare. For example, if framework X uses a garbage collector, and the framework does not use the Y — Y faster than X.
\r
In General, unfair question, I think.
by
0 like 0 dislike
Guided by 10-50ms.
by
0 like 0 dislike
do not choose a quick, choose a convenient
by
0 like 0 dislike
your main mistake — you are guided on absolute values, but need to be interested in the relative figures. plug to your project, something like pear.php.net/package/Benchmark/download,
see the numbers:
1. Total time
2. Time of working off of one controller(exina) C (includes MV)
3. Time for database queries (M)
4. The processing time of the template (V)
see that you are drawn more and optimize your time, not paying attention to the absolute values. It would be better to use xdebug for profiling.
But in any case, it may happen that tagedy framework. when the cache suddenly flies and lightweight adds not much.
by
0 like 0 dislike
Do not chase bare numbers. Need to find optimal point of intersection of the graph "convenience" schedule "speed". You can make a class for menu generation, which will quickly work, but take a step left-right it is unrealistic. And Vice versa.
\r
The tests themselves generally "in vacuo". Refer to the database can query through query Builder and ORM to tweak. The speed drops, but increasing convenience.
\r
I would advise you to dig deeper into the major frameworks (not only quick, like Kohana or YII, but in the ZF-type monsters), in order to get the main ideas which You feel are really important. In principle, we are now building all the new frameworks as a result of work with other competitors.
by
0 like 0 dislike
Lead the development of their php framework, the main objectives of which is the compactness of the engine, the ease of use when developing sites in it, and of course, upload speed pages.
\r
Each framework represents versatility.
When zarabotki universal solutions — we lose something. What the solution is universal, so it is less productive. For this when designing the bike to answer the questions:
— what are key tasks I'll be on it to solve
— on what hosting it will live
— what additional features I can use
— what more can I erode under its decision.
\r
The more features I can manipulate, the more productive I will be able to construct.
\r
As an example, can you recommend your bike
He sharpened for specific technical solutions, and its speed is superior to ZF in 4 times if you disable caching and acceleratori on addnotify Malorechensky queries. With other frameworks because of their ignorance I did not compare. The main feature featured in the blog "High performance".
\r
As the Board can tell: to achieve the performance effect is necessary to develop a system so that the number of calls to the database was minimal, and better to not exist at all. Kal-joinnow reduced to zero, Not afraid to sgoniat and sort on the client, and not afraid of denaturalization, as the cost of quick return str more than the cost of disks. Looking for alternatives. Practice shows, all unsuccessful (brake) projects are poorly designed database and reference it.
by
0 like 0 dislike
How fast the page is generated by news, menu and some text block the fastest of the existing and familiar to you PHP framework?
when prompted for the key — orientirueshsya 20 mc, I've got the str is formed at 5ms, the remaining 15-20ms to the formation of additional units.
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
3 answers
asked Mar 28, 2019 by m0sk1t
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
28,868 users