/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/expat-sablotron-dom.cpp

  • 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:
120
120
        SDOM_createTextNode(*parser,dom,&tnode,s);
121
121
        SDOM_appendChild(*parser,node1,tnode);
122
122
    }
123
 
    
124
 
    SDOM_docToString(*parser,dom,&xmldoc);
125
 
//    if (iter==td->iterations) puts(xmldoc);
126
 
    free(xmldoc);
 
123
 
 
124
    if (!td->memory_bench) {
 
125
        SDOM_docToString(*parser,dom,&xmldoc);
 
126
//      if (iter==td->iterations) puts(xmldoc);
 
127
        free(xmldoc);
 
128
    }
127
129
    SablotDestroyDocument(*parser,dom);
128
130
}
129
131