profiling: add `defnp` macro
core: don't run getHostName on the main thread (AdamClements)
v2.7.0