source:
testjes/timefcgi
@
10
Last change on this file since 10 was 10, checked in by willem, 11 years ago | |
---|---|
|
|
File size: 282 bytes |
Line | |
---|---|
1 | #!/bin/bash |
2 | n=1000 |
3 | doitfast() |
4 | { |
5 | for i in `seq $n` ; do |
6 | curl localhost:8080/cgi-bin/test1.$m?aap-noot-mies-wim >/dev/null 2>&1 |
7 | done |
8 | } |
9 | |
10 | doit() |
11 | { |
12 | for i in `seq $n` ; do |
13 | curl localhost:8080 > /dev/null 2>&1 |
14 | done |
15 | } |
16 | |
17 | time doit |
18 | |
19 | m=fcgi |
20 | time doitfast |
21 | m=cgi |
22 | time doitfast |
Note: See TracBrowser
for help on using the repository browser.