Phoronix IRC Log: 2009-06-15
Ivanovic: michaellarabel: now that 2.6.30 is out, it would IMO be great to do a new performance comparision of the r700 2d driver
Milyardo: I'm surprised michaellarabel hasn't written an article on GRUB2 becomming default
Milyardo: in Karmic
michaellarabel: Milyardo: I did long ago
michaellarabel: Ivanovic: Probably.
Milyardo: Must have missed it in the RSS
Milyardo: :\
michaellarabel: Milyardo: You still looking for any coding projects to work on?
Milyardo: Always happy to work on something, had anything specific in mind?
michaellarabel: I do have a rather short, easy task on my TODO list if you want to work on your PHP/PTS.
Milyardo: Sounds good
michaellarabel: Basically to port over this code that outputs the result to a PDF file to a PostScript file. The PHP extension for PS is quite similar to PDF, but a couple differences. Though since the PTS integration side of it is complete, it shouldn't be much of a challenge.
michaellarabel: Heck the basic PDF dumper in PTS is just about 130 lines of code
Milyardo: pts_load_pdf_generator() is the pdf function you were talking about?
michaellarabel: No, one second. Let me commit the code I worked on so far for the PS side of it
michaellarabel: Milyardo: Get the latest Git. Pretty much everything that needs to be done is in phoronix-test-suite/pts-core/options/result_file_to_ps.php its basically a copy of result_file_to_pdf but at the top is where I began work on the PS port of it
michaellarabel: If you're using Debian/Ubuntu, install php5-ps to get the PostScript support to begin with.
michaellarabel: http://us2.php.net/manual/en/book.ps.php here are the PS functions
Milyardo: michaellarabel: Should I write a PS template class simlilar to the PDF one?
michaellarabel: Milyardo: If you want
Milyardo: michaellarabel: What PS function is the closet to FPDF's Cell?
michaellarabel: ps_show maybe u can just use?
michaellarabel: http://us2.php.net/manual/en/pdf.examples-basic.php here is a PHP PDF (not FPDF that is currently used in PTS) example with much of the PS examples from that being nearly identical. To just display a string it looks like ps_show() should work
Milyardo: great
Milyardo: Wait fpdf isn't used?
michaellarabel: FPDF is what is being used for result-file-to-pdf
michaellarabel: but that example is of the PHP PDF extension, not FPDF
Ivanovic: michaellarabel: http://www.phoronix.com/forums/showthread.php?t=17726
Ivanovic: michaellarabel: and maybe you want to close this thread with a link to the other 9.6 thread: http://www.phoronix.com/forums/showthread.php?p=78740#post78740