----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/15579/ -----------------------------------------------------------
Review request for mesos. Repository: mesos-git Description ------- Saved KB/MB/GB bytes as constants to save multiplication. Each time the 'dataSize' filter was called, the function did lots of multiplication to get bytes per KB, MB, and GB to determine how to print the string. Moving the constants outside the function returned by the filter means the multiplication is done only one time on app start up instead of in each call. * Added 1 digit to the right of the decimal point for GB. 6.5 GB is very different from 7 GB. Diffs ----- src/webui/master/static/js/app.js 163c50b6cb88f33a23a1a3446d1a88070be26eab Diff: https://reviews.apache.org/r/15579/diff/ Testing ------- Thanks, Ross Allen
