Yii Framework Forum: Update Performance of Yii - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Update Performance of Yii Rate Topic: -----

#1 User is offline   TBIKC 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 14
  • Joined: 05-April 11

Posted 28 May 2012 - 07:13 AM

What about to update this information ? Posted Image
This schedule no longer relevant Posted Image
0

#2 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 3,602
  • Joined: 17-January 09
  • Location:Russia

Posted 30 May 2012 - 08:01 AM

We have source code for this benchmark http://code.google.com/p/phpmark/ but, unfortunitely not enough time to update it. Probably will move it to github to allow pull-requests.
Yii 1.1 Application Development Cookbook

Enjoying Yii? Star us at github: 1.1 and 2.0.
0

#3 User is offline   Da:Sourcerer 

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

Posted 30 May 2012 - 08:13 AM

I mentioned it on github already: There is a comparison that is only slightly out-of-date. I think it could be brought into proper shape really quickly by the community. As for the benchmarking: I'm preparing a quadcore machine for some benchmarking with Fedora 17, so I could generate some initial data. it's not server-grade hardware (i.e. there is no 15,000RPM HDD and it's limited to 8GB of RAM), but I think the results could be representative.
programmer /ˈprəʊgramə/, noun: a device that converts ►coffee into ►code
0

#4 User is offline   TBIKC 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 14
  • Joined: 05-April 11

Posted 02 June 2012 - 04:52 AM


Da:Sourcerer, It wiil be great, if you do this

0

#5 User is offline   Da:Sourcerer 

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

Posted 02 June 2012 - 06:38 PM

Meh. This is going to take a while.
programmer /ˈprəʊgramə/, noun: a device that converts ►coffee into ►code
0

#6 User is offline   Da:Sourcerer 

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

Posted 26 June 2012 - 03:19 PM

I start to understand why there are so few benchmarks. It really is a lot of work and I'm still far from complete :( This really requires to read the documentation for most frameworks and create a small application for them as they provide no "Hello World" demo.

I managed to draw a few frameworks together and produce this (inconclusive) benchmark:
Attached File  benchmark.png (31.85K)
Number of downloads: 57

This has been conducted on a notebook equipped with a AMD E-450 CPU/GPU unit running Fedora 17 with a kernel patched and optimized for interactivity - which might explain some oddeties. E.g. Laravel is impressive but hardly that much ;D
programmer /ˈprəʊgramə/, noun: a device that converts ►coffee into ►code
0

#7 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 3,602
  • Joined: 17-January 09
  • Location:Russia

Posted 27 June 2012 - 04:01 AM

What a strange image :)
Yii 1.1 Application Development Cookbook

Enjoying Yii? Star us at github: 1.1 and 2.0.
0

#8 User is offline   ekerazha 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 526
  • Joined: 10-October 08
  • Location:European Union

Posted 27 June 2012 - 04:10 AM

View PostDa:Sourcerer, on 30 May 2012 - 08:13 AM, said:

I mentioned it on github already: There is a comparison that is only slightly out-of-date. I think it could be brought into proper shape really quickly by the community. As for the benchmarking: I'm preparing a quadcore machine for some benchmarking with Fedora 17, so I could generate some initial data. it's not server-grade hardware (i.e. there is no 15,000RPM HDD and it's limited to 8GB of RAM), but I think the results could be representative.

Although Yii performances are good, from a marketing point of view I wouldn't include a benchmark where Yii doesn't win.

View PostDa:Sourcerer, on 26 June 2012 - 03:19 PM, said:

I start to understand why there are so few benchmarks. It really is a lot of work and I'm still far from complete :( This really requires to read the documentation for most frameworks and create a small application for them as they provide no "Hello World" demo.

I managed to draw a few frameworks together and produce this (inconclusive) benchmark:
Attachment benchmark.png

This has been conducted on a notebook equipped with a AMD E-450 CPU/GPU unit running Fedora 17 with a kernel patched and optimized for interactivity - which might explain some oddeties. E.g. Laravel is impressive but hardly that much ;D

Something is wrong there...
Yii user #37
0

#9 User is offline   Da:Sourcerer 

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

Posted 27 June 2012 - 04:25 AM

View Postsamdark, on 27 June 2012 - 04:01 AM, said:

What a strange image :)

I blame it on a non-optimized Apache/PHP environment and a custom kernel. Perhaps I should've booted into the stock kernel but I've been too impatient to get a quick glance ::)

By the way: samdark, are there any plans to revive the phpmark project? I'm a long way from being able to provide a really complete (i.e. go beyond simple "Hello World" demos) and fair (i.e. provide automated stats on memory consumption, disk I/O, etc) benchmarks. There will also be quite a lot of administrative overhead. The power of git submodules eases that a bit. But still ...

View Postekerazha, on 27 June 2012 - 04:10 AM, said:

Although Yii performances are good, from a marketing point of view I wouldn't include a benchmark where Yii doesn't win.

Hm, the original phpmark has been set in place to provide a fair comparison. But from a marketing point, you're actualy right. In the full benchmark, I'd like to include metrics like the spread of response times. As I see it, Yii is pretty constant there ...

View Postekerazha, on 27 June 2012 - 04:10 AM, said:

Something is wrong there...

See above ;D
programmer /ˈprəʊgramə/, noun: a device that converts ►coffee into ►code
0

#10 User is offline   ekerazha 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 526
  • Joined: 10-October 08
  • Location:European Union

Posted 27 June 2012 - 04:49 AM

View PostDa:Sourcerer, on 27 June 2012 - 04:25 AM, said:

I blame it on a non-optimized Apache/PHP environment and a custom kernel. Perhaps I should've booted into the stock kernel but I've been too impatient to get a quick glance ::)

Suggestion: don't use Fedora but use a - clean - server-grade distro (i.e. Ubuntu Server LTS, RHEL, CentOS, Scientific Linux).
Yii user #37
0

#11 User is offline   Da:Sourcerer 

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

Posted 27 June 2012 - 04:53 AM

Fedora is my choice for desktop systems. Everything else is on CentOS/RHEL, so don't worry. This has just been a quick peek.

Edit: Coming to think of it, I left the conservative cpufreq governor in instead of the performance one. *sigh* it's been late ...
programmer /ˈprəʊgramə/, noun: a device that converts ►coffee into ►code
0

#12 User is offline   binkabir 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 194
  • Joined: 25-July 10
  • Location:Abuja,Nigeria

Posted 27 June 2012 - 06:32 AM

hmm................
this image is something to ponder :huh: :blink:
0

#13 User is offline   Da:Sourcerer 

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

Posted 27 June 2012 - 07:30 AM

View Postbinkabir, on 27 June 2012 - 06:32 AM, said:

this image is something to ponder :huh: :blink:

I wouldn't try to draw any conclusions from this. See the discussion above. This benchmark has been commenced in a controlled, yet entirely unfit environment ;)
programmer /ˈprəʊgramə/, noun: a device that converts ►coffee into ►code
0

#14 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 3,602
  • Joined: 17-January 09
  • Location:Russia

Posted 27 June 2012 - 08:53 AM

I don't think we'll ever update phpmark. As you've mentioned, it takes time and we'd better focus on Yii itself.
Yii 1.1 Application Development Cookbook

Enjoying Yii? Star us at github: 1.1 and 2.0.
0

#15 User is offline   Da:Sourcerer 

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

Posted 29 June 2012 - 06:38 AM

I'm wondering if it might be possible to offload the creation and maintenance of sample applications to the framework devs and introduce a github service similar to travis-ci. This would allow automated benchmarks and statistics. Is phpmark.com held by qiang?
programmer /ˈprəʊgramə/, noun: a device that converts ►coffee into ►code
0

#16 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 3,602
  • Joined: 17-January 09
  • Location:Russia

Posted 01 July 2012 - 02:05 PM

Yes, it is.
Yii 1.1 Application Development Cookbook

Enjoying Yii? Star us at github: 1.1 and 2.0.
0

Share this topic:


Page 1 of 1
  • 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