Fix up state bypass get code
This commit is contained in:
parent
dafc6d10e0
commit
592c513b83
6 changed files with 30 additions and 13 deletions
|
|
@ -117,9 +117,8 @@ new "waiting"
|
|||
wait_restconf
|
||||
|
||||
new "cli get large config"
|
||||
echo "$clixon_cli -1f $cfg show state xml"
|
||||
# baseline on thinkpad i5-3320M CPU @ 2.60GHz and 500K entries: 39.71s
|
||||
$TIMEFN $clixon_cli -1f $cfg show state xml 2>&1 | awk '/real/ {print $2}'
|
||||
$TIMEFN $clixon_cli -1f $cfg show xpath /interfaces urn:example:clixon 2>&1 | awk '/real/ {print $2}'
|
||||
|
||||
# START actual tests
|
||||
# Having a large db, get single entries many times
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue