Joplin mknote <new-note> from terminal is very slow

Creating a note from a shell, via joplin mknote ..., is remarkably slow (it takes 1-2 seconds).
Any reason why this might be happening?