Here are some additional benchmarks to add to the hello_world.html page
-



-- 
Shahin Askari                     [EMAIL PROTECTED]
858-622-1164                      High Performance Perl Server Pages
858-481-7438 fax                  Load Testing and Performance Tuning
http://www.BinaryEvolution.com    XML Server Pages
Hello World - Web Application Benchmarks

File Processed          Hits/s          Hits/s/MHz
--------------          ----------      ----------
hello_world.html:       827.62          1.84
hello_world.pperl:      590.88          1.31
hello_world.hperl:      574.82          1.28
hello_world.vep:        367.04          0.82

Test Notes:

Web Server:     Apache 1.3.9
OS:             Linux RedHat 6.0
CPU:            PIII/450MHz
Session:        no
Client:         ab
Network:        local
HTTP:           1.0
MHz:            450
Application:    VelociGen/2.0
Scripts:

hello_world.pperl:
hello_world.hperl:
        print "Hello World\n";

hello_world.vep:
        <perl>print "Hello ";</perl>
        World

hello_world.html:
        Hello World

VelociGen Specifics:

VelociGen installed as DSO
modified ve.conf:
ve_env:VE_RELOAD_PACKAGES=0     # don't reload packages that change on disk
                                # - unnecessary overhead

#perl_restart:500               # perl_engine never restarts - better 
                                # performance


.pperl - VelociGen/2.0 strict mode: forces developer to use 'strict' 
        programming style, and packages (.pm).  No clean up is
        performed after each request.

.hperl - VelociGen/2.0 cgi-compatible mode: Perl-CGI scripts can run
        without modification.  Global variables and open files are cleaned 
        up after each request.  Supports loading of .pl files.

.vep - VelociGen/2.0 embedded mode: mix Perl and HTML.  Processes
        request arguments into: %CGI, %QUERY, %COOKIE, %FILENAMES -
        Clean up is performed after each request.

# --------------------------------------------------------------------------

This is ApacheBench, Version 1.3a
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-1999 The Apache Group, http://www.apache.org/

Server Software:        Apache/1.3.9
Server Hostname:        localhost
Server Port:            80

Document Path:          /hello_world.html
Document Length:        12 bytes

Concurrency Level:      5
Time taken for tests:   30.003 seconds
Complete requests:      24831
Failed requests:        0
Total transferred:      6332925 bytes
HTML transferred:       298020 bytes
Requests per second:    827.62
Transfer rate:          211.08 kb/s received

Connnection Times (ms)
              min   avg   max
Connect:        0     1   118
Processing:     3     4    10
Total:          3     5   128

# --------------------------------------------------------------------------

This is ApacheBench, Version 1.3a
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-1999 The Apache Group, http://www.apache.org/

Server Software:        VelociGen/2.0
Server Hostname:        localhost
Server Port:            80

Document Path:          /hello.pperl
Document Length:        14 bytes

Concurrency Level:      5
Time taken for tests:   30.006 seconds
Complete requests:      17730
Failed requests:        0
Total transferred:      1436373 bytes
HTML transferred:       248262 bytes
Requests per second:    590.88
Transfer rate:          47.87 kb/s received

Connnection Times (ms)
              min   avg   max
Connect:        0     2    91
Processing:     6     5     5
Total:          6     7    96

# --------------------------------------------------------------------------

This is ApacheBench, Version 1.3a
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-1999 The Apache Group, http://www.apache.org/

Server Software:        VelociGen/2.0
Server Hostname:        localhost
Server Port:            80

Document Path:          /hello.hperl
Document Length:        14 bytes

Concurrency Level:      5
Time taken for tests:   30.004 seconds
Complete requests:      17247
Failed requests:        0
Total transferred:      1397412 bytes
HTML transferred:       241528 bytes
Requests per second:    574.82
Transfer rate:          46.57 kb/s received

Connnection Times (ms)
              min   avg   max
Connect:        0     3    86
Processing:     5     5     6
Total:          5     8    92

# --------------------------------------------------------------------------

This is ApacheBench, Version 1.3a
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-1999 The Apache Group, http://www.apache.org/

Server Software:        VelociGen/2.0
Server Hostname:        localhost
Server Port:            80

Document Path:          /hello.vep
Document Length:        15 bytes

Concurrency Level:      5
Time taken for tests:   30.010 seconds
Complete requests:      11015
Failed requests:        0
Total transferred:      903312 bytes
HTML transferred:       165240 bytes
Requests per second:    367.04
Transfer rate:          30.10 kb/s received

Connnection Times (ms)
              min   avg   max
Connect:        0     4    56
Processing:    12     8     8
Total:         12    12    64


Reply via email to