зеркало из https://github.com/mozilla/gecko-dev.git
7f3c9eb118
Instead of blindly outputting floating-point numbers of milliseconds, which leads to things like 363.03499999999997, times in ms are now converted to integer number of nanoseconds, stringified, and then manually adjusted to milliseconds again, so we get smaller and friendlier outputs like 363.035. Eventually, bug 1726675 may change all times to integer number of nanoseconds anyway, but this patch is already helpful in reducing the output, and paves the way by separating the time-output functions from other number outputs. Differential Revision: https://phabricator.services.mozilla.com/D123329 |
||
---|---|---|
.. | ||
android | ||
baseprofiler | ||
build | ||
linker | ||
misc | ||
static | ||
tests | ||
moz.build | ||
mozglue.rc |