/xmlbench/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/xmlbench/trunk

« back to all changes in this revision

Viewing changes to create/libxml-dom.c

  • Committer: Suren A. Chilingaryan
  • Date: 2009-09-23 17:13:04 UTC
  • Revision ID: csa@dside.dyndns.org-20090923171304-osvtr4zqb29h11kd
Intel, Tango, Phobos, and RapidXML parsers; Memory benchmark scripts

Show diffs side-by-side

added added

removed removed

Lines of Context:
122
122
        ds_xmlSetProp(node1,"xsi:type","xsd:int");
123
123
    }
124
124
 
125
 
    gdome_di_saveDocToMemory(di,doc,&mem,0,&exc);
126
 
    gdome_di_freeDoc(di,doc,&exc);
 
125
    if (!td->memory_bench) {
 
126
        gdome_di_saveDocToMemory(di,doc,&mem,0,&exc);
 
127
        gdome_di_freeDoc(di,doc,&exc);
127
128
    
128
 
//    if (iter==td->iterations) puts(mem);
129
 
    free(mem);
 
129
//      if (iter==td->iterations) puts(mem);
 
130
        free(mem);
 
131
    }
130
132
}
131
133
 
132
134
int main(int argc, char *argv[]) {