Yii Framework Forum: Symfony 2 faster then Yii!!! - Yii Framework Forum

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Symfony 2 faster then Yii!!! Rate Topic: -----

#21 User is offline   sensorario 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 1,986
  • Joined: 07-September 10
  • Location:Cesena (Italy)

Posted 21 May 2012 - 02:12 AM

Yii and Symfony2 are both great framework!!! Symfony2 is very big. Yii is very fast (in develop). Are both testable. Are both for agile process.

There are a lot of framework. I am not afraid to be polyglot! We can use both!!!
0

#22 User is offline   phreak 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 79
  • Joined: 19-February 09

Posted 05 June 2012 - 01:43 PM

I have been using yii since the first release. I have done(and still doing) a very complex and big software for a telekom in our country its has a billing/crm/provisioning instances which serve about 200k customers . The app almost doesnt have any GUI, just SOAP, REST and HTTP services. I extensevely use behaviours and events, the app works great. I also have a core of base classes which are just extended by new behaviors which ONLY attach event handlers... Anyway the idea is that you can make enterprise apps with Yii. I only read the starting giude of SF2 and it really looked overdesigned and too complicated. I dont understand why everything is in YAML and need to be double parsed ?! I like the annotations though, I think they should become native in PHP one day.

And for those talking about big , complex enterprise solutions i think yii is good enough, and if yii is not good enough then PHP is not :rolleyes: and I would choose Java.
0

#23 User is offline   Webspeed 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 19
  • Joined: 14-March 09

Posted 20 October 2012 - 10:58 AM

View Postyii, on 02 July 2010 - 05:41 AM, said:

Hey guys,
on Symfony-reloaded .org /fast i found a statistic about the new Symfony 2.

It should be 75% faster than YII 1.1.1 !!!

For the "Product" application, Symfony2 is about:
* 50% faster than Yii 1.1.1
* 2 times faster than Solar 1.0.0beta3
* 2.5 times faster than symfony 1.4.2
* 3 times faster than Zend 1.10
* 4 times faster than Lithium 0.6
* 6 times faster than CakePHP 1.2.6
* 60 times faster than Flow3 1.0.0alpha7

what do you think about it?


Fabien Potencier's Symfony 2 speed claims have proven to be completely unfounded: according to Paul M. Jones (who specializes on framework benchmarks, he is obssessed with them) in his PHPBenelux 2011 presentation (http://paul-m-jones.com/archives/1727), while Symfony 2 Alpha version was *almost* as fast as Yii (it seems Potencier tweaked the Alpha version just to make the speed claim) the released (PR4) Symfony 2 is just as slow as S1 and therefore much slower than Yii.

See the attached chart below, only CI and Kohana can claim to be faster than Yii (which is certainly much faster than Symfony 2) and Cake is still dog slow.

Attached File(s)


3

#24 User is offline   Da:Sourcerer 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,222
  • Joined: 30-March 11
  • Location:Berlin, Germany

Posted 20 October 2012 - 05:17 PM

That's been very informative, thanks a ton. For those who struggle to understand the last graph and do not wish to read through the entire presentation: It's the speed of the shown frameworks in comparison to a bare PHP script echoing "Hello World".
programmer /ˈprəʊgramə/, noun: a device that converts ►coffee into ►code
0

#25 User is offline   ORey 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,694
  • Joined: 20-April 09
  • Location:Moscow, Russia

Posted 20 October 2012 - 06:21 PM

Actually, the fastest framework in the world is this one.

  • It works on all versions of PHP (yes, even those not released yet)
  • Its FAST. Really fast. The fastest against anything I’ve ever benchmarked it against and is WAY faster then CodeIgniter.
  • Tiny footprint. The whole framework is only a few KB big.
  • Compatible with every database that PHP supports.
  • Pretty good documentation (not fully developed yet).
  • Very small learning curve. If you know PHP, you’ll pick it up right away.


Btw, for client-side scripting you can use VanillaJS framework.

Happy coding.
God is real unless declared as integer
2

#26 User is offline   Da:Sourcerer 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,222
  • Joined: 30-March 11
  • Location:Berlin, Germany

Posted 20 October 2012 - 07:28 PM

^_^
programmer /ˈprəʊgramə/, noun: a device that converts ►coffee into ►code
0

#27 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 2,601
  • Joined: 10-October 10
  • Location:Denmark

Posted 20 October 2012 - 09:27 PM

:lol:
"Less noise - more signal"
0

Share this topic:


  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users