I’ve never heard of “floor to floor time by code”. Consultants will ask for floor to floor times based on rated speed and rise (distance between floors) and industry standards. Sometimes trying to bring a 30 year old hydro to conform and perform to an industry standard of decades later just doesn’t work sometimes.
Certainly the code will cite any car running in excess of 10% more or less than rated speed (if checked), but that’s the only code reference I recall.
But…I could be wrong in the day and age in which we live. Nothing surprises me anymore no matter how ridiculous it may seem.