Hi,Could someone help me?
May I use phoronix test suite to test my software such as Firefox?
Besides writing XML file,install.sh,downloads.xml,should I upload some stuff? Or how to write the downloads.xml.
Well, what with Firefox are you interested in testing? If you can be a bit more specific with your details in what you would like to test, it would be easier to explain how to write a test profile around it.
Aside from that, check out the included documentation or what others seem to have found most helpful is just looking at the other existing test profiles to see how PTS operates.
If you would like to push the created test profiles upstream, create a new thread here in the forums or send them on the mailing list either as a diff or attachment.
Well, all of that would take place within an install.sh file that would write out the script to run the Firefox testing.
The way that comes to mind for facilitating that would be to first launch firefox and use & so it's a background process. Prior to that though ensure the Firefox setting is there to open new links in a new tab instead of new window. Then just do a simple for-loop of 100 times specifying some local web page to load or something. When the loop finishes, kill the original firefox process. I think that way should work.
By adding $TIMER_START before the loop and $TIMER_STOP afterwards, it will use the microtimer to see how long it takes. Check out say the espeak test profile code to see about doing this. Right now CPU usage monitoring within a test profile would be a bit tough, but there is CPU usage monitoring support in the system_monitor module, I just need to create a framework to expose modules and their functions to test profiles. For now just use time but I'll hopefully have a framework in place soon.
If you write a script that can do what is mentioned in the first paragraph, let me know and I can help you write a test profile for that if you still have problems.
Do you have a script that just does the Firefox running like what I mentioned in the previous post? Something that would just be executed from the terminal and doesn't have to touch PTS. If you do I can easily then convert that into a test profile and make sure everything with it is running right.