mirror_frr/tests
David Lamparter 4bc41193e8 vtysh, lib: preprocess CLI graphs
Store a parsed and built graph of the CLI nodes in vtysh, rather than
parsing and building that graph every time vtysh starts up.

This provides a 3x to 5x reduction in vtysh startup overhead:

`vtysh -c 'configure' -c 'interface lo' -c 'do show version'`

- before: 92.9M cycles, 1114 samples
- after: 16.5M cycles, 330 samples

This improvement is particularly visible for users scripting `vtysh -c`
calls, which notably includes topotests.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2024-07-31 08:08:53 -04:00
..
bgpd bgpd: add bgp_labels hash 2024-06-05 13:11:29 +02:00
helpers *: remove sys/stat.h from zebra.h 2024-01-09 12:39:23 -05:00
isisd Merge pull request #16232 from zhou-run/202406171755 2024-07-24 10:30:34 -04:00
lib vtysh, lib: preprocess CLI graphs 2024-07-31 08:08:53 -04:00
ospf6d ospf6d: Convert ospf6_lsa_unlock to a better api 2023-07-12 17:56:29 -04:00
ospfd *: remove sys/stat.h from zebra.h 2024-01-09 12:39:23 -05:00
topotests topotests: test MSDP authentication 2024-07-29 11:41:39 -03:00
zebra zebra, test: mark mpls label chunks as dynamic or static 2023-10-18 09:41:02 +02:00
.gitignore tests: Ignore test_darr for git 2023-07-08 22:41:34 +03:00
Makefile
pytest.ini
runtests.py
subdir.am build: break up tests/subdir.am 2021-11-11 14:40:03 +01:00