Since you have neglected to describe them or provide pictures, that cannot be determined.
Fast and slow are relative terms. If a heated igneous rock takes 3 hours to cool, is that fast or slow? During their formation, however, magma can solidify very slowly or very quickly. Rocks that have cooled quickly from magma are referred to as extrusive igneous rocks, such as obsidian and scoria. Rocks that have formed from slow cooling magma are called intrusive igneous rocks, such as granite and gabbro. The difference between the two types is in their grain size. Slow cooling magma produces large grained rock, and fast cooling magma produces fine-grained rock.
Marble rocks cool relatively slowly due to their dense composition and high heat capacity. When heated, they retain heat for a longer period compared to less dense materials, which allows them to cool down more gradually. This slow cooling process can lead to the formation of unique textures and patterns in the marble.
If the rocks are igneous then in general:- Coarse = slowly. Fine = fast. However if the rocks are metamorphic or sedimentary then grain size has nothing to do with cooling and indicates other things.
Quartz
Slowly
Gabbro typically cools slowly beneath the Earth's surface, allowing large mineral crystals to form. This slow cooling process results in a coarse-grained texture in gabbro rocks.
because it just is
Lava will cool quickly compared to underground magma.
Generally, large crystals represent slow cooling rates and small crystals represent fast cooling rates. Crystals need time to form and since extrusive rocks cool very quickly, they have very tiny crystals and some don't even have crystals because the rate of cooling was so fast that crystals didn't have time to nucleate. On the other hand, intrusive rocks cool rather slowly allowing crystals to grow.
In reference to the cooling of magma into rock, basalt is formed from rapid cooling.
Extrusive igneous rocks are fine grained due to fast cooling. They cool at a faster rate than most igneous rocks.
Obsidian is formed from very rapidly cooling lava.