diff options
author | Neale Ranns <nranns@cisco.com> | 2019-04-02 11:53:26 +0000 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2019-04-02 21:15:29 +0000 |
commit | fe269f3c6f350444a17e4829311ac64dd0175641 (patch) | |
tree | d9b4bd966079209fbd16614b89e794120d95d48d /src/svm/svm_common.h | |
parent | 096f2f83f62bc7eea269d651172ec27b2ec3522f (diff) |
stat-segment: scaling improvement
don't walk the entire list of entries each time a new one is added
approximate/indicative numbers recorded on a VM:
after:
50000 tunnels in 1.124443 secs, 44466.45 tunnels/sec
before:
50000 tunnels in 5.202779 secs, 9610.25 tunnels/sec
Change-Id: Ie1155416be76f55f2a0a88360ce53e15aeace785
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/svm/svm_common.h')
0 files changed, 0 insertions, 0 deletions