Also looks like there's finally python3 support in the recent mercurial 5.0 release.
No. You still have to launch the Python process per command, which is "extremely" slow (relative to C programs). I air-quote extremely because the difference for a single command is small relative to human time, but it matters for automation that invokes many commands.
This post is from 2018, and maybe Hg's frontend is written in C or Rust now (I don't follow its development). But if it is still a Python-driven runtime, the same basic criticisms apply:
https://mail.python.org/pipermail/python-dev/2018-May/153296...
That's not to say git is slow of course. It's just.. basically what you'd expect given it's architecture.