Slow Login and App switching after Migration to NC12

It shouldn’t be doing a large amount of locking operations per file load.

You can try installing xray which should be able to log what locking operations are done per request to give some in (but do note the “not for production” warnings).