private void writeStrings(int sizeInK) {
        for (int i=0; i<1000*sizeInK; i++) {
            xmlWriter.openTag("dummytag").content(i,false).closeTag();
        }
    }
It is what it says

@author bratseth
vespajlib/developernotes/XMLWriterMicroBenchmark.java