The regional planning organization in my area uses a metric called Level of Traffic Stress: https://www.dvrpc.org/webmaps/bike-lts/
And they made a routing tool based on this: https://www.dvrpc.org/ruti/
And they made a routing tool based on this: https://www.dvrpc.org/ruti/
Both are over 35MPH; Road A is 2 lanes with an unbuffered bike lane and Road B is 4 lanes with most (but not all) stretches having a buffered bike lane.
1: https://www.dvrpc.org/webmaps/bike-lts/pdf/bikestressdocumen...