How long does it take for your camera to save a RAW file?

I have Nikon E8400 and it takes about 30 seconds to save one raw file which is a lot so i have to shoot in jpeg because it is much faster. I know the new cameras are much faster but how long for example Nikon D3100 take to save 1 raw file?
Added (1). I'm using Kodak CompactFlash 512MB

It's so near instantanious that, together with the buffers for several raw pictures the timing is difficult to figureh

Today's dSLR cameras save RAW files very fast. Nearly instantaneous up until the buffer is full.

Save a raw file on what, camera or computer?

It sounds like there's a problem. It should take less than a second.
What type of memory card are you using?

That's a normal write speed for slow equipment.
A fast system with a fast memory card will be instant.
You can buy a £8 memory card or a same size capacity memory card for £300, the difference is the speed. But is it worth you buying a £300 fast memory card?
- Can you covert a camera raw file to a jpeg file right on the canon 5d mark 3 camera-?
- Why does it take so long to store long exposure shots?
- Why does my camera have different dimensions for the same RAW and JPEG file?
- How many RAW FILE pictures can you take with a 16GB or 32GB card using Nikon D7000?
- I saved 100 pics to a pdf file and now I need to pick out 10 to save as.tif -HOW?