Phoronix Forums  

Go Back   Phoronix Forums > Phoronix > Phoronix Test Suite

Phoronix Test Suite Discussion & collaboration on the Phoronix Test Suite software and specification.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-27-2008, 08:12 AM
Michael Michael is offline
Phoronix
 
Join Date: Jun 2006
Location: United States
Posts: 4,559
Default Phoronix Test Suite To Use PHP5-CLI

As the Phoronix Test Suite 0.0.1 release will be out any day now, I just want to let you guys know its dependency. The core of the Phoronix Test Suite started out being written mostly in C, but the decision was made to move it all over to PHP.

Why PHP? While PHP is mostly known for its web usage, PHP can run on the desktop from the CLI and there is even a GTK module for PHP. PHP actually works out quite nicely on the desktop, if you've never tried it out. What's nice about this route though is the ease of installation. The Phoronix Test Suite is all about being easy to use and being able to accurately reproduce the results. To run the PTS, you just need to install php5-cli (or whatever the package may be named in your distro repository) and you'll be set. The PHP5 CLI package usually just depends upon a PHP5 common package and that's about it.

The GD and GTK PHP libraries are optionally used by PTS, but not required. That's far less then if PTS were written in say Python with GTK where python-gtk-dev has many more dependencies and the same for other languages.

PHP5-CLI is also small and portable enough where a binary could ship with the Phoronix Test Suite accompanied by the GD (for graph rendering) and GTK (for GUI rendering).

In addition, I already have quite a bit of code that may come in handy for the Phoronix Test Suite from other projects already written in PHP. I've already done some performance profiling, etc and php5-cli is working out well and is suitable for use with this benchmarking utility. As another benefit, the learning curve for PHP can be low and there's plenty of documentation on PHP available (http://www.php.net/) so it will be easier for more to contribute.

Aside from the heart of the Phoronix Test Suite, all of the test suites and test profiles continue to be written in XML and the related-benchmarking resources (pre-run, post-run, and install tasks) can be written in either PHP or shell scripts.

I just wanted to let you all know right now why it's being written in PHP now. I've discussed this with others as well and they agree. If you have any comments or concerns, feel free to share them.
Reply With Quote
  #2  
Old 03-29-2008, 09:30 PM
Michael Michael is offline
Phoronix
 
Join Date: Jun 2006
Location: United States
Posts: 4,559
Default

Phoronix Test Suite 0.0.1 was tagged this morning and now in a private beta... Initial public release coming soon.

it's working out pretty neat so far!
Reply With Quote
  #3  
Old 03-30-2008, 05:04 AM
d2kx d2kx is offline
Senior Member
 
Join Date: Jan 2007
Location: Germany
Posts: 1,066
Default

Really am looking forward to it do some some own benchmarking!
Reply With Quote
  #4  
Old 03-30-2008, 08:48 AM
Michael Michael is offline
Phoronix
 
Join Date: Jun 2006
Location: United States
Posts: 4,559
Default

There's also going to be an entirely new "feature" for this suite too... You'll just have to wait and see
Reply With Quote
  #5  
Old 03-30-2008, 10:17 AM
Vadi Vadi is offline
Phoronix Test Suite Contributor
 
Join Date: Dec 2007
Posts: 461
Default

I'm really interested now.
Reply With Quote
  #6  
Old 03-30-2008, 05:15 PM
Michael Michael is offline
Phoronix
 
Join Date: Jun 2006
Location: United States
Posts: 4,559
Default

Quote:
Originally Posted by Vadi View Post
I'm really interested now.
This is getting pretty exciting... A release (and article explaining it all) will hopefully be out on Wednesday... I would do Tuesday, but I think some may think then it's an April fools joke, which it isn't.
Reply With Quote
  #7  
Old 03-31-2008, 08:01 AM
Vadi Vadi is offline
Phoronix Test Suite Contributor
 
Join Date: Dec 2007
Posts: 461
Default

Haha, good point.
Reply With Quote
  #8  
Old 04-02-2008, 06:59 AM
givemesugarr givemesugarr is offline
Senior Member
 
Join Date: Jun 2007
Posts: 406
Default

i immagine a full new posts of benchmarks after it is out.
maybe it would be a good idea about making a new forum division just for the users' benchmarks.

what i'd really like to see are benchmarks with different hw in different areas that phoronix for itself wouldn't be able to provide for what is out there running linux.
Reply With Quote
  #9  
Old 04-02-2008, 07:38 AM
Kano Kano is online now
Debian Developer
 
Join Date: Aug 2007
Posts: 2,896
Default

I never saw a client app in php5-cli, will be interesting...
Reply With Quote
  #10  
Old 04-02-2008, 07:46 AM
Michael Michael is offline
Phoronix
 
Join Date: Jun 2006
Location: United States
Posts: 4,559
Default

Quote:
Originally Posted by givemesugarr View Post
maybe it would be a good idea about making a new forum division just for the users' benchmarks.

what i'd really like to see are benchmarks with different hw in different areas that phoronix for itself wouldn't be able to provide for what is out there running linux.
We've got a solution for that already.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 03:41 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2009 by Phoronix Media.