* Optimizations
* Reduced memory for attribute and body objects, see `XML_NEW_DIFFERENTIATE` compile-time option. * Optimized cbuf handling in parsing and xml2cbuf functions. * Optimized xml scanner to read strings rather than single chars * Optimized xml_merge for the case of disjunct trees.
This commit is contained in:
parent
9a8c6cf3e6
commit
94cf4a88b3
24 changed files with 477 additions and 257 deletions
|
|
@ -98,12 +98,19 @@ EOF
|
|||
### Run valgrind and callgrind
|
||||
```
|
||||
valgrind --leak-check=full --show-leak-kinds=all clixon_netconf -qf /tmp/myconf.xml -y /tmp/my.yang
|
||||
valgrind --tool=callgrind clixon_netconf -qf /tmp/myconf.xml -y /tmp/my.yang
|
||||
LD_BIND_NOW=y valgrind --tool=callgrind clixon_netconf -qf /tmp/myconf.xml -y /tmp/my.yang
|
||||
sudo kcachegrind
|
||||
valgrind --tool=massif clixon_netconf -qf /tmp/myconf.xml -y /tmp/my.yang
|
||||
massif-visualizer
|
||||
```
|
||||
|
||||
To turn callgrind off/on:
|
||||
```
|
||||
valgrind --tool=callgrind --instr-atstart=no clixon_netconf -qf /tmp/myconf.xml -y /tmp/my.yang
|
||||
...
|
||||
callgrind_control -i on
|
||||
```
|
||||
|
||||
## New release
|
||||
What to think about when doing a new release.
|
||||
* Ensure all tests run OK
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue