How would you approach benchmarking the following XSL:T process.
Testing environment: a Linux server running apache, php, and mysql that is only visible behind our network: (It is not outward facing, so It cannot be remotely accessed).
Note: I have considered using AB(Apache Benchmark), but I am open to anything that is available in a Linux environment.
Here is an example:
PHP pulls in data from sources, generates XML, sends that through an XSL:T, which outputs XHTML.
I am interested in comparing processor and memory usage vs:
- php directly generating the same xhtml.
- a single php->xml->xsl:t->xhtml translation.
- concurrent translations like php->xml->xsl:t->xml->xsl:t->xhtml
I also plan to benchmark opcode caching, output compression, and maybe a few php accelerators, so the methods you would use should also be flexible enough to handle these cases as well.
I would also be interested in any known benchmarking for something similar.