WebPython-1.0.0 Performance Results
All Tests have been done on AMD A10 x86_64 Laptop with 16GB RAM with Lighttpd Web Server 1.4.35 on Ubuntu 16.04 OS.
There sure is an increment in speed when using WebPython-1.0.0 over Standard Python in CGI mode.
Lighttpd CGI Configuration:
cgi.assign = ( ".py" => "/usr/bin/python3" )
There sure is an increment in speed when using WebPython-1.0.0 over Standard Python in CGI mode.
Python in CGI Mode (Small Script 1.6 KB)
Lighttpd CGI Configuration:
cgi.assign = ( ".py" => "/usr/bin/python3" )
Python in CGI Mode (Big Script 157KB)
WebPython-1.0.0 in FastCGI Mode (Small Script) 1.6 KB
Lighttpd Configuration:
fastcgi.server = (
".py" =>
(
"localhost" =>
( "socket" => "/tmp/fcgi-socket",
"max-procs" => 1,
"bin-path" => "/opt/PythonInstall/bin/python3"
)
)
)
".py" =>
(
"localhost" =>
( "socket" => "/tmp/fcgi-socket",
"max-procs" => 1,
"bin-path" => "/opt/PythonInstall/bin/python3"
)
)
)
Comments
Post a Comment