Hi,
I am evaluationg using Webware instead of plain python CGI.
I therefore run some benchmark tests, and discovered that there is no
difference in time needed between the webware and the cgi script.
I am a little bit surprised, because I thought webware must be
theoretically faster, because
On Tuesday 20 September 2005 08:50, Gregor Horvath wrote:
Hi,
I am evaluationg using Webware instead of plain python CGI.
[...]
def testcgi():
for i in range(100):
u.urlopen(http://localhost/cgi-bin/perftestcgi.py;)
def testwebware():
for i in range(100):
Try reloading a quick acting cgi page 100 times over. Thats where the
diference lies.
On Tue, 20 Sep 2005, Gregor Horvath wrote:
Hi,
I am evaluationg using Webware instead of plain python CGI.
I therefore run some benchmark tests, and discovered that there is no
difference in time needed
On 9/19/05, Gregor Horvath [EMAIL PROTECTED] wrote:
Hi,
I am evaluationg using Webware instead of plain python CGI.
I therefore run some benchmark tests, and discovered that there is no
difference in time needed between the webware and the cgi script.
I am a little bit surprised, because I
On 9/20/05, Stephan Diehl [EMAIL PROTECTED] wrote:
On Tuesday 20 September 2005 08:50, Gregor Horvath wrote:
Hi,
I am evaluationg using Webware instead of plain python CGI.
[...]
def testcgi():
for i in range(100):
u.urlopen(http://localhost/cgi-bin/perftestcgi.py;)
Gregor Horvath wrote:
Do you have a explanantion for that? Are my benchmarks wrong, or is it
just the thruth that under this circumstances cgi is as fast as webware.
You seem to be using the Python CGI adapter with Webware. Under this
circumstances, you will really see no difference.
CGI
Hi Gregor,
On Tuesday 20 September 2005 09:58, you wrote:
Hi,
Stephan Diehl schrieb:
Please try mod_webware as an adapter as it is the fastest way to connect
to a webware application server.
I installed the mod_webware adapater and changed
def testwebware():
for i in range(100):
Stephan Diehl wrote:
I've never needed to do this kind of tests, so I can't recommend any, but I'm
sure that several people on this list know the right kind of tools.
apache bench should be the right tool for this job.
http://httpd.apache.org/docs/1.3/programs/ab.html
regards,
robert
Hi everbody,
thanks for your input. I changed the test function according to Chucks
suggestion and the results are:
duration of function testcgi at 0x401986f4 is 532.231880903
duration of function testwebware at 0x40591df4 is 127.881435156
duration of function testwebwarewkcgi at 0x40591e2c is
Hi All,
I have a small webware application in which I need to produce reports
to be printed. Right now, html reports produce poor results (pagination
is not constant).
I bigger companies, we use Crystal Reports, but this is a small
non-for-profit organization, so we can't afford commercial
Hi,
Eduardo Elgueta schrieb:
I was checking out reportlab, but it seems a lot of work, and I couldn't
find tables support.
I use reportlab. Has some learning curve, but its worth it. It has
tables support. Look at Platypus.
I even prefer it upon Crystal Reports, which makes the easy
On 9/20/05, Gregor Horvath [EMAIL PROTECTED] wrote:
Hi,
Eduardo Elgueta schrieb:
I was checking out reportlab, but it seems a lot of work, and I couldn't
find tables support.
I use reportlab. Has some learning curve, but its worth it. It has
tables support. Look at Platypus.
I
You might try to
produce a "printer-friendly" version of your HTML reports. You can use the
CSS style "page-break-before: always" on a P tag to forcepage
breaks where needed. For instance, if your report consists of a large HTML
table, you may determine through trial and error that you can
Chuck Esterbrook wrote:
Eduardo Elgueta schrieb:
I was checking out reportlab, but it seems a lot of work, and I couldn't
find tables support.
I use reportlab. Has some learning curve, but its worth it. It has
tables support. Look at Platypus.
I even prefer it upon Crystal Reports, which
--- Geoffrey Talvola [EMAIL PROTECTED] wrote:
You might try to produce a printer-friendly version of your HTML
reports.
You can use the CSS style page-break-before: always on a P tag to
force
page breaks where needed. For instance, if your report consists of a
large
HTML table, you may
On Tue, 2005-09-20 at 14:47 -0500, Ian Bicking wrote:
You might also be able to use a tool to render the HTML to PDF on the
server, giving you predictable results (with no browser
inconsistencies). There's things like a standadalone Mozilla setup for
this, and tools no doubt -- I can't
Thank you all for your answers.
The reportlab/pdf solution doesn't seem quite easy to implement, just
as I thought. Besides, I see a lot of trouble ahead
downloading/compiling/configuring/learning reportlab and a bunch of
other support libraries.
Transforming my html into pdf, doesn't solve
Eduardo Elgueta wrote:
Other problem the users complain about, is table column width varies
from one page to the other, which is obvious, given the way browsers
render html (they don't unserstand that, either :-( ). Does anybody
knows if theres a CSS style or HTML property I can use to force
Geoffrey,
I already do that, but, for some reason, some pages have a different
column distribution.
I think this has something to do with the browser rendering algorithm.
I'll try with a more recent version (I'm not sure they have the last
version).
Thanks anyway,
Ed.
Geoffrey Talvola
1. CSS formatting is a good idea, but most browsers don't do a good job at
implementing it. For example,
div style=page-break-inside: avoid
works only in Opera but neither in Mozilla nor in IE; they ruthlessly cut right
across even table cells and rows. So, if you don't want to count the
Pagination is always going to be a problem with webpages, so far
browsers really don't make inserting page breaks an easy task. If what
you want is a Crystal Reports like product why not use datavision
(http://sourceforge.net/projects/datavision) its free and works ok.
Jose
Original
Eduardo Elgueta wrote:
The reportlab/pdf solution doesn't seem quite easy to implement, just as
I thought. Besides, I see a lot of trouble ahead
downloading/compiling/configuring/learning reportlab and a bunch of
other support libraries.
Just to make this clear again, ReportLab is really not
22 matches
Mail list logo