[m-rev.] for post-commit review: speed up updating mode_infos
Zoltan Somogyi
zoltan.somogyi at runbox.com
Fri Nov 14 17:00:22 AEDT 2014
This is a really cheap way to get a 4% speedup. Here is
the raw speed data:
mercury_compile.01 15.794u 0.079s 0:15.89 99.8% 0+0k 0+25336io 0pf+0w
mercury_compile.01 15.841u 0.103s 0:15.96 99.8% 0+0k 0+25336io 0pf+0w
mercury_compile.01 15.744u 0.075s 0:15.83 99.8% 0+0k 0+25336io 0pf+0w
mercury_compile.01 16.008u 0.059s 0:16.08 99.8% 0+0k 0+25336io 0pf+0w
mercury_compile.01 15.830u 0.087s 0:15.93 99.8% 0+0k 0+25336io 0pf+0w
mercury_compile.01 15.881u 0.063s 0:15.96 99.8% 0+0k 0+25336io 0pf+0w
mercury_compile.01 16.389u 0.055s 0:16.46 99.8% 0+0k 0+25336io 0pf+0w
mercury_compile.01 15.915u 0.079s 0:16.01 99.8% 0+0k 0+25336io 0pf+0w
mercury_compile.01 15.778u 0.071s 0:15.87 99.8% 0+0k 0+25336io 0pf+0w
mercury_compile.01 15.812u 0.115s 0:15.94 99.8% 0+0k 0+25336io 0pf+0w
mercury_compile.02 15.092u 0.079s 0:15.18 99.8% 0+0k 0+25336io 0pf+0w
mercury_compile.02 15.072u 0.087s 0:15.18 99.8% 0+0k 0+25336io 0pf+0w
mercury_compile.02 15.105u 0.079s 0:15.20 99.8% 0+0k 0+25336io 0pf+0w
mercury_compile.02 15.207u 0.079s 0:15.30 99.8% 0+0k 0+25336io 0pf+0w
mercury_compile.02 14.794u 0.071s 0:14.88 99.8% 0+0k 0+25336io 0pf+0w
mercury_compile.02 15.333u 0.087s 0:15.43 99.8% 0+0k 0+25336io 0pf+0w
mercury_compile.02 15.241u 0.071s 0:15.33 99.8% 0+0k 0+25336io 0pf+0w
mercury_compile.02 15.177u 0.107s 0:15.30 99.8% 0+0k 0+25336io 0pf+0w
mercury_compile.02 15.108u 0.071s 0:15.20 99.8% 0+0k 0+25336io 0pf+0w
mercury_compile.02 15.376u 0.095s 0:15.49 99.8% 0+0k 0+25336io 0pf+0w
I will see whether we can get similar results
by doing the same to other *_info data structures.
The diff itself is trivial. The only part for which
a review may be useful is whether it is useful
to keep the profiling data and/or the code that lead to it
in the source code.
Zoltan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Log.mode_info
Type: application/octet-stream
Size: 461 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20141114/2deb4e4c/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DIFF.mode_info
Type: application/octet-stream
Size: 15300 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20141114/2deb4e4c/attachment-0001.obj>
More information about the reviews
mailing list