There may not be a litmus test for how much you dislike your job. However, I’ve done some intensive research at past jobs. (BTW, this research is on-going.) The signs include:
You would rather be at the dentist. Any time that sitting in the dentist’s chair is preferably to sitting at your desk at work, you have a problem.
You never whistle at work. I heard someone walking down the hall, whistling and realized, I never whistle at work. This may not be a valid test if you can’t whistle. You could substitute singing.
You volunteer to be laid-off. The order is out at your company—after all, it is Silicon Valley. They want to reduce your department by 10%, and you are waving your hand like a kid in first grade who needs to go to the bathroom.
Now that you know the warning signs, you can’t do a thing about it. It’s a recession, for heaven’s sake. There are no jobs out there for you. Just the lousy one you have already.