Extraction time is not the defining issue, but rather it is a rough order of magnitude gauge to a proper shot.
More important is the brew presure of 9atm (-0.25/+0.5) and the correct amount of coffee of at approximately 16g/shot (+/- 0.5g). While 15g may work, typically 16g +/- 0.5 g seems to be the most successful for most machines. Assuming one can learn to tamp rather easily then it is tamp pressure that becomes the primary issue, not timing. Most say 30lbs while famous Illy says 40lbs. Varying the tamp pressure will help achieve the 9atm of brew pressure.
If one aspires to traditional Italian type espresso, and isn't that where espresso originated, and as one in Italy almost every year for 20 years, I can say that I don't remember many, or any shots in 22-25 seconds. Italian shots typically range 28-32 seconds, and usually closer to 32 than 28. Is it from when the handle is pulled or the coffee drips? Hit the 9atm, 16g coffee, consistant grind, and humidity, a brew temp of 94-95C and the timing will take care of itself at approx. 32 sec from the time the handle is pulled till you have 1 oz of 50%+ crema. Of course this will depend on your machine, and your machine, and your machine (hint), it's setup, humidity, altitude, and if the dog is barking at the full moon.