I just created a very simple php page, it reads in two GET parameters. Construct a SQL string variable using those two variables. Executes the insert statement. Then lastly it does one select query to get a row count and echos that count number. What kind of page/sec will I get out of a typical home PC as a server? Just a rough estimate. 100s? 1000s? 10000s? The database operations are done through a file socket to MYSQL.
Thank you!
What kind of performance (page/sec) will I get out of this?
Moderator: General Moderators
- greyhoundcode
- Forum Regular
- Posts: 613
- Joined: Mon Feb 11, 2008 4:22 am
Re: What kind of performance (page/sec) will I get out of this?
What kind of performance does your internet connection provide, upstream as well as down?
Re: What kind of performance (page/sec) will I get out of this?
assuming the network is not the limiting factor here
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Re: What kind of performance (page/sec) will I get out of this?
Somewhere between 10s and 100s, depending on your system. Complete guess.
Re: What kind of performance (page/sec) will I get out of this?
Pretty simple to test for yourself: create a 2nd script which calls the 1st one a 1000 times, and measure the time spent with microtime.