> ты -c 10 добавь ;-)
добавил....
результаты скрипта с коннектом к базе:
Document Length: 43 bytes
Concurrency Level: 10
Time taken for tests: 45.265 seconds
Complete requests: 1500
Failed requests: 0
Total transferred: 431935 bytes
HTML transferred: 64715 bytes
Requests per second: 33.14
Transfer rate: 9.54 kb/s received
Connnection Times (ms)
min avg max
Connect: 0 0 4
Processing: 29 299 793
Total: 29 299 797
Serg
> On Tue, Oct 03, 2000 at 07:15:11PM +0400, Sergey Y. Abdurashitov wrote:
>> Вот небольшой тест (ногами не бить) на машинке,
>> прямо скажем, не очень - celeron 333, 32Mb, IDE.
>> Linux/2.2.16, Apache/1.3.12, InterBase/4.0G.
>>
>> простейшие скрипты (на C):
>> 1. делает коннект/дисконнект к базе
>> 2. просто выдает что-то типа "Hello, world!"
>>
>> результаты ab -n 1500
>> 1.
>> Document Length: 43 bytes
>>
>> Concurrency Level: 1
>> Time taken for tests: 44.261 seconds
>> Complete requests: 1500
>> Failed requests: 0
>> Total transferred: 430500 bytes
>> HTML transferred: 64500 bytes
>> Requests per second: 33.89
>> Transfer rate: 9.73 kb/s received
>>
>> Connnection Times (ms)
>> min avg max
>> Connect: 0 0 2
>> Processing: 29 29 55
>> Total: 29 29 57
>> ============================================
>> 2.
>> Document Length: 43 bytes
>>
>> Concurrency Level: 1
>> Time taken for tests: 23.948 seconds
>> Complete requests: 1500
>> Failed requests: 0
>> Total transferred: 430500 bytes
>> HTML transferred: 64500 bytes
>> Requests per second: 62.64
>> Transfer rate: 17.98 kb/s received
>>
>> Connnection Times (ms)
>> min avg max
>> Connect: 0 0 2
>> Processing: 15 15 48
>> Total: 15 15 50
>> =============================================
>>
>> так вот - это сильно тормозный коннект?;)
>>
>> Serg
>>
>>
>> =============================================================================
>> = Apache-Talk@lists.lexa.ru mailing list =
>> Mail "unsubscribe apache-talk" to majordomo@lists.lexa.ru if you want to
>quit.
>> = Archive avaliable at http://www.lexa.ru/apache-talk =
>>
> =============================================================================
> = Apache-Talk@lists.lexa.ru mailing list =
> Mail "unsubscribe apache-talk" to majordomo@lists.lexa.ru if you want to quit.
> = Archive avaliable at http://www.lexa.ru/apache-talk =
=============================================================================
= Apache-Talk@lists.lexa.ru mailing list =
Mail "unsubscribe apache-talk" to majordomo@lists.lexa.ru if you want to quit.
= Archive avaliable at http://www.lexa.ru/apache-talk =