mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-05 15:59:45 +00:00
Better units, r=brendan
This commit is contained in:
parent
43be8183c0
commit
cf909d95d2
@ -238,13 +238,13 @@ sub print_delta {
|
|||||||
if ($value >= 1000000) {
|
if ($value >= 1000000) {
|
||||||
$value = int($value / 1000000);
|
$value = int($value / 1000000);
|
||||||
$min = int($min / 1000000);
|
$min = int($min / 1000000);
|
||||||
$units = "Mb";
|
$units = " M";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if ($value >= 1000) {
|
if ($value >= 1000) {
|
||||||
$value = int($value / 1000);
|
$value = int($value / 1000);
|
||||||
$min = int($min / 1000);
|
$min = int($min / 1000);
|
||||||
$units = "Kb";
|
$units = " K";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user