MOD_PERL

Antonis Kanavouras ankan at med.auth.gr
Mon Sep 25 01:35:43 EEST 2000


Ouf. Giati merikes fores den vlepoume to profanes me thn prwth?
H filosofia tou benchmark eixe mia xontrh patata. Oi metrhseis ginotan
afou arxize na ekteleitai to script. Etsi omws o xronos pou xreiazetai
na fortw8ei o symvatikos perl interpreter ws neo process kai na
kanei compile to script den metriotan...

=====================================
marilena~# ab -n 150 -c 10 marilena/cgi/test.pl
.....
Time taken for tests:   275.562 seconds
......
Connnection Times (ms)
              min   avg   max
Connect:        1     2    67
Processing: 15407 17992 24749
Total:      15408 17994 24816
======================================
marilena~# ab -n 150 -c 10 marilena/cgi-bin/test.pl
.......
Time taken for tests:   334.777 seconds
.......
Connnection Times (ms)
              min   avg   max
Connect:        1     3    30
Processing: 19828 22208 29757
Total:      19829 22211 29787
========================================

Ena pio aplo script tou typou
--------------------
#!/usr/bin/perl

print "Content-type: text/html\n\n\n";
print  "<HTML><BODY><H1>TI WRAIA TI KALA</H1></BODY></HTML>";
----------------------

dinei pio apokalyptikes sygkriseis:
==================================
marilena~# ab -n 1500 -c 10 marilena/cgi/bench.pl
....
Time taken for tests:   47.798 seconds
....
Connnection Times (ms)
              min   avg   max
Connect:        1   116   606
Processing:    50   173  2882
Total:         51   289  3488
===============================
marilena~# ab -n 1500 -c 10 marilena/cgi-bin/bench.pl
....
Time taken for tests:   137.014 seconds
....
Connnection Times (ms)
              min   avg   max
Connect:        1     2   227
Processing:    80   908  2784
Total:         81   910  3011
=================================

Dystyxws h Marilena den exei db's gia na fanei h diafora kai stis
persistent db connections

Eprepe na perasw ena Savvatokyriako sto xwrio gia na to xanadw me ka8aro
myalo kai na vrw th malakia.


Antonis


--
linux-greek-users mailing list -- http://lists.hellug.gr




More information about the Linux-greek-users mailing list