I do both regularly. No difference in battery life between the two.
Charge time WILL vary depending on the computer or the charger. A 12W Apple charger will top any iPhone off in no time flat, while a compact charger will take longer. Some computers are slower than most chargers, some about as fast, depending on how much power output the computer can dish out through USB.