-
Task
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
-
False
-
False
-
Undefined
-
We could add simple tests that could be quickly and easily run by a developer on their local machine to test performance. Purpose would be to measure relative performance (e.g. performance before and after a patch is applied, performance between ovn-northd & ovn-northd-ddlog) rather than absolute performance. Proposal would be to add tests to test the time taken to complete northd and ovn-controller loop. We could create a number of complicated sample NB_DBs and SB_DBs to provide input data and use this to check time taken to resolve into the correct output data. This would allow us to a) catch regressions b) quickly test proposed improvements, etc. Basic use would look something like:
$ test.py ovn-northd nb.db
Time: 12.1 sec
Memory: 500M
$ test.py ovn-controller sb.db
Time: 8.1 sec
Memory: 500M
This could be improved by running multiple iterations to measure averages and standard deviations. We could also add this to AT with a `make perf` target.