Fix up state bypass get code

This commit is contained in:
Olof hagsand 2020-05-04 13:10:43 +02:00
parent dafc6d10e0
commit 592c513b83
6 changed files with 30 additions and 13 deletions

View file

@ -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