One of the pages on our site is nearly 2000 lines including the include files of which there are 5.
The page makes a db connection to postgresql and issues 6 different selects of which 4 perform some table joins (no more than 2-3 tables joined at a time) Plus there is at least one insert happening.
php4
Apache/1.3.14
According to my simple benchmarking code, the page completes execution in about: 0.331179022789 seconds.
Browsing, I don't find that the page is slow at all, but I'm wondering what might happen under load.
I realize there are many other factors that affect performance, but I'm just trying to get opinions on whether folks feel this is especially slow, or fast, or average? Your input would be appreciated.
Anyone have ideas about how to test a page under load? Are there tools built for this task?
Thanks,
Matt.