Closed
Bug 34485
Opened 25 years ago
Closed 25 years ago
should show leaks in bytes when under 10000 bytes
Categories
(Webtools Graveyard :: Tinderbox, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: dbaron, Assigned: mcafee)
Details
I think it would be good if Tinderbox showed the leak number in bytes when it is
under 10000 rather than under 1000 (as it currently does). Leaks on the tests
are now low enough that a 15% change in the total leaks could go unnoticed on
tinderbox.
This would I think be a one character change on line:
http://lxr.mozilla.org/mozilla/source/webtools/tinderbox/showbuilds.cgi#247
where 1000 could be changed to 10000.
Alternatively, the leaks are probably now stable enough that the colors could be
brought back (although I don't think bloat is).
Updated•25 years ago
|
Target Milestone: --- → M20
| Reporter | ||
Comment 1•25 years ago
|
||
I think now is a good time to do this (so we don't creep above 2K again,
although hopefully we'll get down below 2K very shortly). I'm tired of leak
creep...
Based on a short discussion on #mozilla, I decided a "b" might be good too. So
here's a patch. What do you think?
Index: showbuilds.cgi
===================================================================
RCS file: /cvsroot/mozilla/webtools/tinderbox/showbuilds.cgi,v
retrieving revision 1.148
diff -u -d -r1.148 showbuilds.cgi
--- showbuilds.cgi 2000/10/25 20:14:34 1.148
+++ showbuilds.cgi 2000/10/31 01:21:54
@@ -249,18 +249,18 @@
sub print_bloat_delta {
my ($value, $compare) = @_;
- my $units = ' ';
+ my $units = 'b';
$value = $value || 0;
$compare = $compare || 0;
if ($value >= 1000000) {
$value = int($value / 1000000);
$min = int($min / 1000000);
- $units = 'M';
- } elsif ($value >= 1000) {
+ $units = 'Mb';
+ } elsif ($value >= 10000) {
$value = int($value / 1000);
$min = int($min / 1000);
- $units = 'K';
+ $units = 'Kb';
}
# Took out colors because the numbers jump around too much. -slamm
| Assignee | ||
Comment 2•25 years ago
|
||
over to me. I agree, we should have better granularity here.
Assignee: slamm → mcafee
Comment 3•25 years ago
|
||
brendan scolded me about this once: there's "b"its and "B"ytes ;-).
| Reporter | ||
Comment 4•25 years ago
|
||
Agreed. Fixed in my tree, but no point posting new patch.
| Assignee | ||
Comment 5•25 years ago
|
||
dbaron: check in patch with b/B change, and I can push to tinderbox
to test. r=mcafee
| Reporter | ||
Comment 6•25 years ago
|
||
OK... checked in.
| Assignee | ||
Comment 7•25 years ago
|
||
server updated, marking fixed.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 9•25 years ago
|
||
Unsetting target milestone so we can delete the old (inappropriate)
Mozilla target milestones from Webtools.
Target Milestone: M20 → ---
Updated•11 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•