Whenever you use a tool that does something that a cli tool can do as well, then in most cases you can assume that the cli option will be much faster.
An unnecessary distinction to make for 1-2 iterations, but whenever it comes to the thousands or any multitude above it can make a difference of hours if you hacked together a vim macro that manages to do the job or if you just pipe grep/awk/sed/tr and such into each other.
Thus I’d argue, being comfortable with the cli and bash scripting basics to do any matter of text editing is most useful, not just to save you time. But to enable you to be independent on the text editing abilities of any program. Instead just use whatever they’d either use under the hood themselves or of which they’ve crafted a worse alternative that are not standard since the 1980s and have stood the test of time, such as the tools mentioned above.