Performance testing PHP / Session variables
Discussion
I've got a PHP site that I'd like to put live in the near future, but first would like to do some performance testing on it as (if all goes well) it could become quite popular.
The main area of concern for me is a page that consists of c.600 lines of PHP/XHTML code (about 18KB), and includes 2 calls to the MySQL database (that could potentially contain >10,000 records). It's running in an instant on localhost, but not sure what effect the hosting company will have on the speed.
Anyway of checking this - a testing tool that can simulate load? Something that can time DB calls?
On a different note, is there a limit to the memory that session variables can use? For example, would having say 30 variables in $_SESSION have a detrimental effect on performance? Would they be garbage collected after the session ends?
Thanks in advance
The main area of concern for me is a page that consists of c.600 lines of PHP/XHTML code (about 18KB), and includes 2 calls to the MySQL database (that could potentially contain >10,000 records). It's running in an instant on localhost, but not sure what effect the hosting company will have on the speed.
Anyway of checking this - a testing tool that can simulate load? Something that can time DB calls?
On a different note, is there a limit to the memory that session variables can use? For example, would having say 30 variables in $_SESSION have a detrimental effect on performance? Would they be garbage collected after the session ends?
Thanks in advance

Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff


