pauldick 01/05/11 13:17:40
Modified: c/Tests/Performance perf.cpp
Log:
Removed thruput-flat from excluded list, output the results.xml file
in the output directory, and cleaned up some remaining debug code
Revision Changes Path
1.20 +3 -6 xml-xalan/c/Tests/Performance/perf.cpp
Index: perf.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/Tests/Performance/perf.cpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- perf.cpp 2001/05/09 20:28:10 1.19
+++ perf.cpp 2001/05/11 20:17:34 1.20
@@ -128,7 +128,6 @@
{
//"basic-all_well.xsl",
"large-evans_large.xsl",
- "thruput-flat.xsl",
//"sort-cem-big.xsl",
//"large-cem10k.xsl",
0
@@ -294,8 +293,7 @@
void
checkAndCreateDir(XalanDOMString directory )
{
-char buffer[_MAX_PATH]; // buffer2[_MAX_PATH], buffer3[_MAX_PATH];
-const char* buf;
+char buffer[_MAX_PATH];
_getcwd( buffer, _MAX_PATH );
@@ -432,9 +430,8 @@
XalanDOMString category; // Test all of base dir by default
XalanDOMString baseDir;
//(XALAN_STATIC_UCODE_STRING("\\xslt\\xsl-test\\perf\\"));
XalanDOMString outputRoot; //(XALAN_STATIC_UCODE_STRING(""));
- XalanDOMString
resultsRoot(XALAN_STATIC_UCODE_STRING("\\xslt\\xsl-test\\perf-dataxml\\"));
- //const XalanDOMString pathSep(XALAN_STATIC_UCODE_STRING("\\"));
+
if (getParams(argc, argv, baseDir, outputRoot, category, skip,
iterCount) == true)
{
@@ -450,7 +447,7 @@
const XalanDOMString
XSLSuffix(XALAN_STATIC_UCODE_STRING(".xsl"));
const XalanDOMString
XMLSuffix(XALAN_STATIC_UCODE_STRING(".xml"));
const XalanDOMString resultFilePrefix(XalanDOMString("cpp"));
- const XalanDOMString resultsFile(resultsRoot +
resultFilePrefix + UniqRunid + XMLSuffix);
+ const XalanDOMString resultsFile(outputRoot + resultFilePrefix
+ UniqRunid + XMLSuffix);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]