PERF: asv for import
- [x] closes #26663

for py37 this uses `-X importtime` to get a more precise number without subprocess overhead.  Doesn't actually do anything with it, but what the heck.

Couple of unrelated cleanups.
Thanks @jbrockmendel 