Here's what cost > 1s in `lint()` during `lint_package()` currently:

We can see 30% of the time is spent in xml_find_all().
What surprised me was is_lint_level() taking a whole 8s. That may be worth converting to an attribute of Linter()?
Originally posted by @AshesITR in #2350 (comment)
We can see 30% of the time is spent in
xml_find_all().What surprised me was
is_lint_level()taking a whole 8s. That may be worth converting to an attribute ofLinter()?Originally posted by @AshesITR in #2350 (comment)