/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.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:
90
90
        xmlSetNsProp(node1,ns1,"type","xsd:int");
91
91
    }
92
92
 
93
 
    xmlDocDumpMemory(doc,&mem,&memsize);
 
93
    if (!td->memory_bench) {
 
94
        xmlDocDumpMemory(doc,&mem,&memsize);
 
95
//      if (iter==td->iterations) puts(mem);
 
96
        free(mem);
 
97
    }
 
98
 
94
99
    xmlFreeDoc(doc);    
95
 
 
96
 
//    if (iter==td->iterations) puts(mem);
97
 
    free(mem);
98
100
}
99
101
 
100
102
int main(int argc, char *argv[]) {