New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better task balancing #1482

Merged
merged 73 commits into from Jun 8, 2017
Commits
Jump to file or symbol
Failed to load files and symbols.
+2 鈭6
Diff settings

Always

Just for now

Viewing a subset of changes. View all

ignore other stats

  • Loading branch information...
darcatron committed May 3, 2017
commit cab7d2041698c19780d1211080f802dcd28c7c9a
@@ -17,10 +17,8 @@ const humanizeStatName = (name) => {
return 'MEM';
case STAT_NAMES.numTasksStat:
return 'TASKS';
case STAT_NAMES.timestampStat:
return '';
default:
throw new Error(`${name} is an unsupported statistic`);
return '';
}
};
@@ -34,10 +32,8 @@ const humanizeStatValue = (name, value, maybeTotalResource) => {
return `${Utils.humanizeFileSize(value)} / ${Utils.humanizeFileSize(maybeTotalResource)}`;
case STAT_NAMES.numTasksStat:
return value.toString();
case STAT_NAMES.timestampStat:
return '';
default:
throw new Error(`${name} is an unsupported statistic`);
return '';
}
};
ProTip! Use n and p to navigate between commits in a pull request.