Root filesystem completely in RAM (only data mounts)

I don’t know how fast it is written to the disk, at first it is in RAM and I have no clue when it is written to the disk. Actually, I don’t care as long as it does it now and then and certainly on shutdown.
Do you know how fast your Linux Kernel writes data to the disk?