I am writing a python module that writes data to an XML file. A piece of code that processes the record:
from xml.dom.minidom import Document
The final output.xml is 422 bytes in Gentoo OS. Given that the default Gentoo block size is 1024 bytes. I am wondering how many writes to the disk a piece of code generates (since it depends on the file operation).
Thanks!
source share