I, personally, hold a stretch between 15-20 seconds
For me it’s also the type of a tretch and the intention behind.
Most stretches I do last 20 seconds. I want to become more flexible so stretches that are at the limit of my capacity will be shorter… like 5 seconds. I do not want to hurt myself.
For me it’s also important to take at least 1 deep breath while stretching.