Codebook running slow Mac OS Tahoe

Ever since, I think, I upgraded to Tahoe, my version of Codebook hangs (I get the spinning beachball) at every step from login to navigating from one entry or category to another. After I enter my master password, it may take almost 10 seconds for Codebook to open.

I am running Codebook Version 5.2.8 (4282), Direct Download on an M1 MacBook Air with 16 GB of RAM and 512 GB SSD. [I have Codebook from the App Store, but I had a technical problem where I couldn’t successfully sync with Dropbox or Google Drive. After a long time with customer support, we couldn’t solve the problem and Zetetic gave me one year free of Codebook Cloud which I use with this direct download version of Codebook].

I tried to speed up my device with CleanMyMac optimizations, including re-indexing spotlight and turning off some background settings in Mac OS, but these did not change my issues with Codebook.

Anyone else have this experience? Any solutions?

1 Like

Hi @Newton991

Thanks for using Codebook and posting to the discussion forum.

We’ve had reports of slowdown after updating to macOS Tahoe. From our investigation it doesn’t seem to be related to Codebook specifically, but instead issues with macOS Tahoe.

There’s some discussion about it with a few suggestions on this Apple Developer forum thread: Severe lag and freezing after macOS Tahoe… - Apple Community

From that thread some of the specific suggestions include:

Disable AutoFill

  1. Open Terminal and paste this commend: defaults write -g NSAutoFillHeuristicControllerEnabled -bool false
  2. Restart your machine

Note: This will disable AutoFill system wide

Clear out CoreSpotlight

  1. Delete all files within location: ~/Library/Metadata/CoreSpotlight/
  2. Restart your machine

There’s a macOS 26.2 Tahoe release coming out soon, from out testing that seems to have some improvements.

Let me know if either of these suggestions help at all.

For what it’s worth, I’m having the same problems using Tahoe 26.1
Codebook 5.2.7 stops responding for several minutes when I log in. Then it stops responding for several minutes once I select an entry to open.

Don’t make me go back to using “12345” and “default” as my passwords – I have 893 entries!

1 Like

I have noticed Codebook getting slower in the last couple of month. Today it’s been particularly slow, this is after I updated to Tahoe 26.2

I have the same computer as @Newton991 with the same version of Codebook (installed from the App store), slightly over 1000 entries in my database, 2 images, total size is 7.3MB (which is obviously a laughable amount of data for a modern computer).

The slowness/lagging is most annoying when entering text into the search area, because while it is hanging, it drops keyboard events.

Edit:
I compressed the database. I then shut down the app and restarted it, it appears to be faster now.

Hi @User673 and @s_n

Thanks for using Codebook and for posting, although I’m sorry to hear that both of you are also experiencing slowdown within Codebook after updating to macOS Tahoe.

Unfortunately, we still believe this is related to bugs in the macOS Tahoe operating system.

It seems like something builds up over time while running which causes it to slow down after a certain amount of usage. There’s some posts around online (like the forum post I linked earlier) about what might be causing it. I was hopeful that the 26.2 update might resolve the issue, but it doesn’t seem to have.

Usually restarting your Mac will make things snappier temporarily.

This isn’t just affecting Codebook. We’ve seen this slowdown/beachball/not responding with many other third party applications as well.

Have you all tried the suggestions from that forum post? Did either of those help?

Could you check your Activity Monitory (under Applications > Utilities > Activity Monitor) when the slowdown occurs to see if anything is consuming a large amount of resources?

Codebook is a native macOS App (not an Electron App) so it’s not affected by the macOS Tahoe issues related to Electron Apps.

We’re going to continue looking for workarounds.

OK, I was premature with saying “it appears to be faster now”. Most of the time (but not always), unlocking the app takes several seconds now and then i get the beachball before I can do anything again for a couple of seconds.

Also during entering of search terms the app freezes and loses keyboard events which is quite annoying. You should really use a separate thread for that to decouple it.

Finally, this is the only app on macOS Tahoe that I have noticed these significant slowdowns. Of course the password app is something I use dozens of time per day and having to wait 10 seconds or more each time is a big issue. Please give this a high priority.

It’s getting worse every day. I’m pretty much at the point where I’m considering migrating to another solution now. :enraged_face:

@s_n

Sorry to hear that you’re still experiencing the beachballs and slowness on macOS Tahoe.

Could you (and anyone else on this thread) please answer these questions:

  • What other third party apps (including utility apps) are you using while running Codebook?
  • If you fully restart your machine, launch Codebook and login, does the slowdown occur immediately or does it not occur until your machines been running for a while?
  • If you open Activity Monitor (Applications > Utilities > Activity Monitor), does anything seem to consuming a large amount of CPU/memory when the slowdown/beachball occurs?
  • If you go to Apple menu > System Settings > General > Login Items & Extensions, what do you have listed there?
  • What distribution of Codebook are you using (Mac App Store or direct from our website)?

If you’d prefer to share any of this privately instead of publicly on the forum, please feel free to write into our support at support@zetetic.net

I noticed that when I quit Codebook and restart it, it is fast again. When I let it sit for a while then it gets slower.

I used “sample” to see what the process is doing when it was taking longer than 10 seconds to unlock. It shows a very long (4.6MB) call trace when it is slow and 158MB use of memory.

When it is fast, the call trace is only 74KB and the peak footprint is 13.2MB.

I suggest your developers do the same and examine the call trace.

@s_n

Thanks for these further updates. We’ll continue to look into the potential causes and will post back here with any findings/workarounds/fixes.

Hi, sorry for not getting back more quickly.

I tried disabling Autofill and clearing out CoreSpotlight, but that didn’t seem to help. I am currently on the latest MacOS Tahoe build. The slowdown in Codebook is not consistent, but I’ve had several instances where Codebook froze completely (I had to force quit) after I updated a note in a field.

Some background utilities I have running: TechTool Pro 20 monitor (I plan to upgrade to 21 soon), CleanMyMac, iStat Menu, iDrive Backup, Dropbox, EverAccountable.

I am running a build that I downloaded from Zetetic, but I also have the App Store version that I can install.

I had Activity Monitor running and did a couple of screen captures during one of the recent freezes.

@Newton991 @s_n @User673

I’ve got a beta build ready which Improves the login and search speed which resolves slowdown on macOS Tahoe. I’ve messaged you directly with a link to download the beta to test it out.

Let me know how it goes. Thanks!

If anyone else is experiencing slowdown with Codebook on macOS Tahoe and wants to try out the beta build, please feel free to message me directly or write us at support@zetetic.net

1 Like

The beta appears to have solved the issue for me. Thanks. Will there be a new official release soon?

1 Like

@s_n

Excellent news. Thanks for testing the beta and confirming the fix.

We’ve got a couple more adjustments we’re running some internal testing on currently. I suspect that we’ll plan a release for the next version in the next week or two. We’ve found the beta very stable though, so feel free to continue using that until the release is finalized.