From some flamegraph profiling, I can see that getCtlSeqs
performs quite poorly in comparison to the rest of nomad.
What I want to do next is create a load test that measures the performance of this function so that I can try improving it in isolation from the rest of the app.