how long are write in flash ?

hello guru
I use two function for modify my IP adress and Wireless config on a Connect WIME device.

the execution time is approx 6 seconds for each . It’s seen very long.
Have you some info for reduce this time
Thank for all

try to change parameter in appropriate NAFlashWrite function from ERASE_AS_NEEDED to ALWAYS_ERASE. than it takes around 1 secs.