Closed Bug 8605 Opened 25 years ago Closed 25 years ago

Complete log file is not generated when running the Perl script for specific url's.

Categories

(SeaMonkey :: General, defect, P2)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bsharma, Assigned: law)

References

()

Details

(Whiteboard: [Perf])

Build: M8

When Performance perl script is run for the "yahoo", "aol" and "microsoft"
then complete log file is created for "aol" but not for "yahoo" and "microsoft".

This is for Windows and Linux.
Assignee: don → law
Component: Apprunner → Browser-General
Target Milestone: M8
law is checking into this for us.
Whiteboard: [Perf]
Status: NEW → ASSIGNED
Severity: normal → blocker
This is blocking our ability to run auto Perf test.  How we doing on
investigation?
Priority: P3 → P2
Bindu has provided me the Perl scripts and some instruction on how to recreate
the problem.  I'll look at this today.  I'm bumping up the priority a notch.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
The problem is due to buffering of stdout.  This prevents the "Document: Done
(xx.yy sec)" message from appearing until sufficient output is written, or, the
application terminates normally.

Since the message is the very last thing output, and the app is killed, it never
gets written out.

I fixed this by turning off buffering of stdout (one line added to
mozilla/xpfe/bootstrap/nsAppRunner.cpp).
QA Contact: leger → bsharma
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.