howm icon indicating copy to clipboard operation
howm copied to clipboard

Howm performance with 25k notes

Open bitic opened this issue 4 months ago • 4 comments

I'm about to import all my Evernote notes to howm. This is 25k notes.

How does howm perform with so many notes?

bitic avatar Aug 23 '25 11:08 bitic

I have not tested it at that scale myself, but I recall @Emacs101 measured performance using large synthetic data.

Search time is the sum of grep's runtime plus the time Emacs takes to process the search results. For the first part, the articles below explain how to switch to ripgrep or ugrep, which are faster. The second part depends on the number of hits. See this comment for details. (0.1 sec for 100 hits, 0.3 sec for 1000 hits, 3 sec for 12k hits in my case.)

  • https://extra-vision.blogspot.com/2016/10/ripgrep-howm.html (in Japanese)
  • https://leahneukirchen.org/blog/archive/2022/03/note-taking-in-emacs-with-howm.html
  • https://github.com/kaorahi/howm/issues/44#issuecomment-2641741156

Before switching to howm, it would be a good idea to first run grep, ripgrep, or ugrep and check how long it takes.

kaorahi avatar Aug 24 '25 09:08 kaorahi

OK. I'll do that. First, I will import all the notes to Joplin, once I have them there, I will run the different grep commands on the markdown files. Finally, if it is fast enough, I will write a script to change the format of the files to the howm format, and test with Emacs and howm.

bitic avatar Aug 24 '25 11:08 bitic

Howm’s performance depends on the computer, operating system, and Emacs build. On my 2015 MacBook Pro, Howm ran relatively quickly on the emacs-mac-port build, while it was noticeably slower on the “Emacs for Mac” build. After installing Linux on the same machine, Emacs (and Howm within it) ran several times faster.

Emacs101 avatar Aug 25 '25 04:08 Emacs101

I'm using Emacs on Ubuntu on WSL.

Once I have exported all my notebooks from Evernote, I'll convert the files to markdown and do some tests with grep. Thanks!

Missatge de Sukhovskii @.***> del dia dl., 25 d’ag. 2025 a les 6:11:

Emacs101 left a comment (kaorahi/howm#84) https://github.com/kaorahi/howm/issues/84#issuecomment-3218767198

Howm’s performance depends on the computer, operating system, and Emacs build. On my 2015 MacBook Pro, Howm ran relatively quickly on the emacs-mac-port build, while it was noticeably slower on the “Emacs for Mac” build. After installing Linux on the same machine, Emacs (and Howm within it) ran several times faster.

— Reply to this email directly, view it on GitHub https://github.com/kaorahi/howm/issues/84#issuecomment-3218767198, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOYGTFGLSSOKE2E4BG25S33PKEGLAVCNFSM6AAAAACEUAASCKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTEMJYG43DOMJZHA . You are receiving this because you authored the thread.Message ID: @.***>

bitic avatar Aug 25 '25 07:08 bitic