There were times I noticed I was being on a red light for quite a long time but I don't looked at the time. Probably 5 minutes. Lol. I just knew it that it was taking some time because when I was expecting it was going to turn green, the other side of the road went on a green light AGAIN, twice already, while it should have been my lanes turn. I also noticed, when my car was too far from the line, it takes some time. I don't know if it was just coincidence but many times when I was on a red light and too far from the white line, I would move forward until my front was just right on the line and the light would turn green. ( And I noticed other cars in front of me doing it too and it does work.)
I heard before those lines has the censor, which also activates the police enforcement cameras to take a photo when a car beats a red light.