DNA testing takes a couple of days or more. Lots of
factors go into the process thus time is a factor.
Rapid DNA is a “swab in-profile out” technology that completely automates the entire DNA extraction, amplification, and analysis process. Rapid DNA instruments are able to go from a swab to a DNA profile in as little as 90 minutes...
https://en.wikipedia.org/wiki/Forensic_DNA_analysis