Download:
child 56:2bc880fe68a4
parent 54:3fb3f68e9627
55:119a07aacb84
Anton Shestakov <av6@dwimlabs.net>, Wed, 18 May 2016 12:06:59 +0800
viewer: drop s(econds) from short timings, use .5f for long timings Maybe even 5 digits after the decimal points is too much for our measure process, but let's try and see.

1 файлов изменено, 6 вставок(+), 2 удалений(-) [+]
templates/results.html file | annotate | diff | comparison | revisions
--- a/templates/results.html Wed Apr 06 11:10:23 2016 +0800
+++ b/templates/results.html Wed May 18 12:06:59 2016 +0800
@@ -97,9 +97,13 @@
#}<td>{#
#}<span{% if c1 is not None %} class="{{ colormap[c1] }}"{% end %}>&nbsp;</span>{#
#}<span{% if c2 is not None %} class="{{ colormap[c2] }}"{% end %}>&nbsp;</span>{#
- #}<span title="{{ v1 }} without .hg/cache">{{ '{:.2f}s'.format(v1) if v1 is not None else '-' }}</span>{#
+ #}<span title="{{ '{:.5f}s without .hg/cache'.format(v1) if v1 is not None else '(no data)' }}">{#
+ #}{{ '{:.2f}'.format(v1) if v1 is not None else '-' }}{#
+ #}</span>{#
#}/{#
- #}<span title="{{ v2 }} with .hg/cache">{{ '{:.2f}s'.format(v2) if v2 is not None else '-' }}</span>{#
+ #}<span title="{{ '{:.5f}s with .hg/cache'.format(v2) if v2 is not None else '(no data)' }}">{#
+ #}{{ '{:.2f}'.format(v2) if v2 is not None else '-' }}{#
+ #}</span>{#
#}</td>
{% end %}{#
#}</tr>