Not sure which side you are looking at here so I will tell you both of them from someone that works in the field.
Warranty time vs. standard repair time - Any work that is done under warranty is charged (and paid out) at a lower labor time. For example, let's look at a water pump job on our EcoBoost Taurus. Standard labor time is 13.4 hours. This is developed by a study. From what I understand, they take 3 technicians and in a shop with all the tools there and ready, time how long it takes each of them. Then they average the time. For comparison, Warranty time for the exact same job is 8.9 hours. These are all book times. An experienced tech with no problems may do it faster, but they still get paid their hourly rate times book time. On the flip side, a new guy fighting rust, broken parts, needing to borrow tools, etc. may take longer but, he still only makes book time.
This brings up the other thing you may be talking about, Shop Labor Rate vs. Tech Hourly Rate - Many shops operate on flat rate. How many hours you work means nothing. It is all based on book times. You are paid your hourly rate times book time no matter what it actually took you. This is also how many shops charge a customer. You pay the book time no matter how long it took the tech. Average Labor rate is $75-130/hr for 2022 in the US. Let's use the nice round $100 number. Same water pump job. The shop will charge the customer $1340 in labor. When I got out of flat rate, I was an ASE Master Certified Technician. I had 11 ASE certifications. At that time, it was pretty standard to get $0.50/hr added to your pay rate per certification (an extra $5.50). This pushed my hourly rate to $25/hr. That means the shop charged the customer $1340 and I got paid $335 (1/4 of the labor charge). Newer techs with less certifications would make even less and the shop would charge the same amount. Now if it was a warranty job, I would have to do the same amount of work but, I would only get paid $222.50. To make matters worse, all those expensive tools and tool boxes you see are provided by the technician. It is nothing for a Snap-On tool box to cost $5000 (this is just a decent bottom box), air tools to be a few hundred dollars each, etc. All this to say that the labor charge you see on your bill is not what a technician sees and their goal is to get your job done as fast as possible (without a comeback because something they just fixed needing warranty) and get the next car in the door.