When I no longer enjoy cutting with the knife. For the examples you mention, all of the above
'Sharpening a knife takes very little work'
Or, put another way, if your edge is just a bit off of razor sharp, it takes little work to get it back to razor sharp. If you wait until it is dulled, it takes a lot of work to get it back.