To speed the process up, rather than rolling one dice at a time for each model, count how many models in your unit are shooting and roll a batch of that many dice. If there are a lot of models, you might prefer to roll several smaller batches.
However, if your unit contains models that have different characteristics (such as Ballistic Skill or Strength), or models that are equipped with weapons that have different profiles, the target numbers required To Hit or To Wound may vary. In such cases, you must roll different batches of dice, making it clear to your opponent what each batch represents and the target number you need.