diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-12-09 00:55:32 -0600 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-12-11 15:54:44 +0000 |
commit | f1335171987272b66c2e1e0b02cddb28d44502ec (patch) | |
tree | 8ee00899faf91bef00388a0b1d66479eef4c4644 /hyphen | |
parent | d449869617a3e07aef483437158ca7f634ee7263 (diff) |
performance tuning of helpex
callgrind (on text/swriter/guide translated in 'fr')
before Ir = 889,687,925
after Ir = 406,372,177 (405,668,292 w/o the 'native' memory allocator)
time confirms:
before 0.288/0.272/0.016
after 0.146/0.131/0.015
the output before and after were diff-ed and every generated xhp files
are identical.
All improvements where done still using 'normal' sal and c++ API.
There are still some low-hanging fruits, like XMLUtil:QuoteHTML
(probably 20-30 millions Ir to shave there)
The destruction of XMLElements is also singularly high
(11% of the remaining Ir count)
But the bulk of what is left is OString management (alloc/acquire/release/
free/copy), and I/O using streams
Change-Id: Ia316c953cd4bd46fc33a58a0c10f26b0ffa042c2
Reviewed-on: https://gerrit.libreoffice.org/1262
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
Diffstat (limited to 'hyphen')
0 files changed, 0 insertions, 0 deletions