Can we disable resource-intensive logging queries triggered by inline edit?
I think this would be a relatively simple fix. I'd suggest you file an issue for this and, ideally, provide a patch...

...actually in fiddling around with this I just wrote a patch that fixes it. Try this:

#6283 Don't force-refresh the changelog tab to avoid performance overhead