A pulmonary function test will take around 30 minutes. You will hold your breath for approximately ten seconds during the test and let it out, repeating this step multiple times.