diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-12-03 09:05:05 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-12-03 09:05:05 +0000 |
commit | e04c6a878f5044d36eaa95d4c2318e0381a32998 (patch) | |
tree | 5b7c36578140e48c0114863004c8375ea55db21d /Build/source/libs/icu/icu-4.4/test/perf/normperf | |
parent | fa438554bd1a061515cd8f5f46fbe311ff08dcd6 (diff) |
icu 4.6
git-svn-id: svn://tug.org/texlive/trunk@20645 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/icu/icu-4.4/test/perf/normperf')
6 files changed, 0 insertions, 1545 deletions
diff --git a/Build/source/libs/icu/icu-4.4/test/perf/normperf/Makefile.in b/Build/source/libs/icu/icu-4.4/test/perf/normperf/Makefile.in deleted file mode 100644 index 8b35cab0465..00000000000 --- a/Build/source/libs/icu/icu-4.4/test/perf/normperf/Makefile.in +++ /dev/null @@ -1,79 +0,0 @@ -## Makefile.in for ICU - test/perf/normperf -## Copyright (c) 2001-2006, International Business Machines Corporation and -## others. All Rights Reserved. - -## Source directory information -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ - -top_builddir = ../../.. - -include $(top_builddir)/icudefs.mk - -## Build directory information -subdir = test/perf/normperf - -## Extra files to remove for 'make clean' -CLEANFILES = *~ $(DEPS) - -## Target information -TARGET = normperf - -CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/tools/toolutil -I$(top_srcdir)/tools/ctestfw -LIBS = $(LIBCTESTFW) $(LIBICUI18N) $(LIBICUUC) $(LIBICUTOOLUTIL) $(DEFAULT_LIBS) $(LIB_M) - -OBJECTS = normperf.o - -DEPS = $(OBJECTS:.o=.d) - -## List of phony targets -.PHONY : all all-local install install-local clean clean-local \ -distclean distclean-local dist dist-local check check-local - -## Clear suffix list -.SUFFIXES : - -## List of standard targets -all: all-local -install: install-local -clean: clean-local -distclean : distclean-local -dist: dist-local -check: all check-local - -all-local: $(TARGET) - -install-local: - -dist-local: - -clean-local: - test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) - $(RMV) $(OBJECTS) $(TARGET) - -distclean-local: clean-local - $(RMV) Makefile - -check-local: all-local - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - -$(TARGET) : $(OBJECTS) - $(LINK.cc) -o $@ $^ $(LIBS) - $(POST_BUILD_STEP) - -invoke: - ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) $(INVOCATION) - -ifeq (,$(MAKECMDGOALS)) --include $(DEPS) -else -ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) -ifneq ($(patsubst %install,,$(MAKECMDGOALS)),) --include $(DEPS) -endif -endif -endif - diff --git a/Build/source/libs/icu/icu-4.4/test/perf/normperf/NormPerf.pl b/Build/source/libs/icu/icu-4.4/test/perf/normperf/NormPerf.pl deleted file mode 100755 index ce2d2683f73..00000000000 --- a/Build/source/libs/icu/icu-4.4/test/perf/normperf/NormPerf.pl +++ /dev/null @@ -1,59 +0,0 @@ -#!/usr/bin/perl -# ******************************************************************** -# * Copyright (c) 2002-2008, International Business Machines -# * Corporation and others. All Rights Reserved. -# ******************************************************************** - -#use strict; - -require "../perldriver/Common.pl"; - -use lib '../perldriver'; - -use PerfFramework; - -my $options = { - "title"=>"Normalization performance: ICU ".$ICULatestVersion." vs. Win", - "headers"=>"Win ICU".$ICULatestVersion, - "operationIs"=>"code point", - "passes"=>"10", - "time"=>"5", - #"outputType"=>"HTML", - "dataDir"=>$CollationDataPath, - "outputDir"=>"../results" - }; - -# programs -# tests will be done for all the programs. Results will be stored and connected -my $p = $ICUPathLatest."/normperf/$WindowsPlatform/Release/normperf.exe -b -u"; - -my $tests = { - "NFC_NFD_Text", ["$p TestWin_NFC_NFD_Text" , "$p TestICU_NFC_NFD_Text" ], - "NFC_NFC_Text", ["$p TestWin_NFC_NFC_Text" , "$p TestICU_NFC_NFC_Text" ], - "NFC_Orig_Text", ["$p TestWin_NFC_Orig_Text" , "$p TestICU_NFC_Orig_Text"], - "NFD_NFD_Text", ["$p TestWin_NFD_NFD_Text" , "$p TestICU_NFD_NFD_Text" ], - "NFD_NFC_Text", ["$p TestWin_NFD_NFC_Text" , "$p TestICU_NFD_NFC_Text" ], - "NFD_Orig_Text", ["$p TestWin_NFD_Orig_Text" , "$p TestICU_NFD_Orig_Text"] - }; - -my $dataFiles = { - "", - [ - "TestNames_Asian.txt", - "TestNames_Chinese.txt", - "TestNames_Japanese.txt", - "TestNames_Japanese_h.txt", - "TestNames_Japanese_k.txt", - "TestNames_Korean.txt", - "TestNames_Latin.txt", - "TestNames_SerbianSH.txt", - "TestNames_SerbianSR.txt", - "TestNames_Thai.txt", - "Testnames_Russian.txt", - "th18057.txt", - "thesis.txt", - "vfear11a.txt", - ] - }; - -runTests($options, $tests, $dataFiles); diff --git a/Build/source/libs/icu/icu-4.4/test/perf/normperf/NormPerf_r.pl b/Build/source/libs/icu/icu-4.4/test/perf/normperf/NormPerf_r.pl deleted file mode 100644 index 085194a2717..00000000000 --- a/Build/source/libs/icu/icu-4.4/test/perf/normperf/NormPerf_r.pl +++ /dev/null @@ -1,88 +0,0 @@ -#!/usr/bin/perl -# ******************************************************************** -# * COPYRIGHT: -# * Copyright (c) 2002-2008, International Business Machines -# * Corporation and others. All Rights Reserved. -# ******************************************************************** - -#use strict; - -require "../perldriver/Common.pl"; - -use lib '../perldriver'; - -use PerfFramework; - -my $options = { - "title"=>"Normalization performance regression: ICU (".$ICUPreviousVersion." and ".$ICULatestVersion.")", - "headers"=>"ICU".$ICUPreviousVersion." ICU".$ICULatestVersion, - "operationIs"=>"code point", - "timePerOperationIs"=>"Time per code point", - "passes"=>"10", - "time"=>"5", - #"outputType"=>"HTML", - "dataDir"=>$CollationDataPath, - "outputDir"=>"../results" - }; - -# programs - -my $p1; # Previous -my $p2; # Latest - -if ($OnWindows) { - $p1 = $ICUPathPrevious."/normperf/$WindowsPlatform/Release/normperf.exe"; - $p2 = $ICUPathLatest."/normperf/$WindowsPlatform/Release/normperf.exe"; -} else { - $p1 = $ICUPathPrevious."/normperf/normperf"; - $p2 = $ICUPathLatest."/normperf/normperf"; -} - -my $dataFiles = { - "", - [ - "TestNames_Asian.txt", - "TestNames_Chinese.txt", - "TestNames_Japanese.txt", - "TestNames_Japanese_h.txt", - "TestNames_Japanese_k.txt", - "TestNames_Korean.txt", - "TestNames_Latin.txt", - "TestNames_SerbianSH.txt", - "TestNames_SerbianSR.txt", - "TestNames_Thai.txt", - "Testnames_Russian.txt", - "th18057.txt", - "thesis.txt", - "vfear11a.txt", - ] - }; - - -my $tests = { - "NFC_NFD_Text", ["$p1 TestICU_NFC_NFD_Text" , "$p2 TestICU_NFC_NFD_Text" ], - "NFC_NFC_Text", ["$p1 TestICU_NFC_NFC_Text" , "$p2 TestICU_NFC_NFC_Text" ], - "NFC_Orig_Text", ["$p1 TestICU_NFC_Orig_Text" , "$p2 TestICU_NFC_Orig_Text"], - "NFD_NFD_Text", ["$p1 TestICU_NFD_NFD_Text" , "$p2 TestICU_NFD_NFD_Text" ], - "NFD_NFC_Text", ["$p1 TestICU_NFD_NFC_Text" , "$p2 TestICU_NFD_NFC_Text" ], - "NFD_Orig_Text", ["$p1 TestICU_NFD_Orig_Text" , "$p2 TestICU_NFD_Orig_Text"], - ## - "QC_NFC_NFD_Text", ["$p1 TestQC_NFC_NFD_Text" , "$p2 TestQC_NFC_NFD_Text" ], - "QC_NFC_NFC_Text", ["$p1 TestQC_NFC_NFC_Text" , "$p2 TestQC_NFC_NFC_Text" ], - "QC_NFC_Orig_Text", ["$p1 TestQC_NFC_Orig_Text" , "$p2 TestQC_NFC_Orig_Text"], - "QC_NFD_NFD_Text", ["$p1 TestQC_NFD_NFD_Text" , "$p2 TestQC_NFD_NFD_Text" ], - "QC_NFD_NFC_Text", ["$p1 TestQC_NFD_NFC_Text" , "$p2 TestQC_NFD_NFC_Text" ], - "QC_NFD_Orig_Text", ["$p1 TestQC_NFD_Orig_Text" , "$p2 TestQC_NFD_Orig_Text"], - ## - "IsNormalized_NFC_NFD_Text", ["$p1 TestIsNormalized_NFC_NFD_Text" , "$p2 TestIsNormalized_NFC_NFD_Text" ], - "IsNormalized_NFC_NFC_Text", ["$p1 TestIsNormalized_NFC_NFC_Text" , "$p2 TestIsNormalized_NFC_NFC_Text" ], - "IsNormalized_NFC_Orig_Text", ["$p1 TestIsNormalized_NFC_Orig_Text" , "$p2 TestIsNormalized_NFC_Orig_Text"], - "IsNormalized_NFD_NFD_Text", ["$p1 TestIsNormalized_NFD_NFD_Text" , "$p2 TestIsNormalized_NFD_NFD_Text" ], - "IsNormalized_NFD_NFC_Text", ["$p1 TestIsNormalized_NFD_NFC_Text" , "$p2 TestIsNormalized_NFD_NFC_Text" ], - "IsNormalized_NFD_Orig_Text", ["$p1 TestIsNormalized_NFD_Orig_Text" , "$p2 TestIsNormalized_NFD_Orig_Text"] - }; - - -runTests($options, $tests, $dataFiles); - - diff --git a/Build/source/libs/icu/icu-4.4/test/perf/normperf/normperf.cpp b/Build/source/libs/icu/icu-4.4/test/perf/normperf/normperf.cpp deleted file mode 100644 index 011bbcbd3ec..00000000000 --- a/Build/source/libs/icu/icu-4.4/test/perf/normperf/normperf.cpp +++ /dev/null @@ -1,505 +0,0 @@ -/* -********************************************************************** -* Copyright (c) 2002-2005, International Business Machines -* Corporation and others. All Rights Reserved. -********************************************************************** -********************************************************************** -*/ -/** - * This Program tests the performance of ICU's Normalization engine against Windows - * to run it use the command like - * - * c:\normperf.exe -s C:\work\ICUCupertinoRep\icu4c\collation-perf-data -i 10 -p 15 -f TestNames_Asian.txt -u -e UTF-8 -l - */ -#include "normperf.h" -#include "uoptions.h" -#include <stdio.h> - -#define LENGTHOF(array) (sizeof(array)/sizeof((array)[0])) - -UPerfFunction* NormalizerPerformanceTest::runIndexedTest(int32_t index, UBool exec,const char* &name, char* par) { - switch (index) { - TESTCASE(0,TestICU_NFC_NFD_Text); - TESTCASE(1,TestICU_NFC_NFC_Text); - TESTCASE(2,TestICU_NFC_Orig_Text); - - TESTCASE(3,TestICU_NFD_NFD_Text); - TESTCASE(4,TestICU_NFD_NFC_Text); - TESTCASE(5,TestICU_NFD_Orig_Text); - - TESTCASE(6,TestICU_FCD_NFD_Text); - TESTCASE(7,TestICU_FCD_NFC_Text); - TESTCASE(8,TestICU_FCD_Orig_Text); - - TESTCASE(9,TestWin_NFC_NFD_Text); - TESTCASE(10,TestWin_NFC_NFC_Text); - TESTCASE(11,TestWin_NFC_Orig_Text); - - TESTCASE(12,TestWin_NFD_NFD_Text); - TESTCASE(13,TestWin_NFD_NFC_Text); - TESTCASE(14,TestWin_NFD_Orig_Text); - - TESTCASE(15,TestQC_NFC_NFD_Text); - TESTCASE(16,TestQC_NFC_NFC_Text); - TESTCASE(17,TestQC_NFC_Orig_Text); - - TESTCASE(18,TestQC_NFD_NFD_Text); - TESTCASE(19,TestQC_NFD_NFC_Text); - TESTCASE(20,TestQC_NFD_Orig_Text); - - TESTCASE(21,TestQC_FCD_NFD_Text); - TESTCASE(22,TestQC_FCD_NFC_Text); - TESTCASE(23,TestQC_FCD_Orig_Text); - - TESTCASE(24,TestIsNormalized_NFC_NFD_Text); - TESTCASE(25,TestIsNormalized_NFC_NFC_Text); - TESTCASE(26,TestIsNormalized_NFC_Orig_Text); - - TESTCASE(27,TestIsNormalized_NFD_NFD_Text); - TESTCASE(28,TestIsNormalized_NFD_NFC_Text); - TESTCASE(29,TestIsNormalized_NFD_Orig_Text); - - TESTCASE(30,TestIsNormalized_FCD_NFD_Text); - TESTCASE(31,TestIsNormalized_FCD_NFC_Text); - TESTCASE(32,TestIsNormalized_FCD_Orig_Text); - - default: - name = ""; - return NULL; - } - return NULL; - -} - -void NormalizerPerformanceTest::normalizeInput(ULine* dest,const UChar* src ,int32_t srcLen,UNormalizationMode mode, int32_t options){ - int32_t reqLen = 0; - UErrorCode status = U_ZERO_ERROR; - for(;;){ - /* pure pre-flight */ - reqLen=unorm_normalize(src,srcLen,mode, options,NULL,0,&status); - if(status==U_BUFFER_OVERFLOW_ERROR){ - status=U_ZERO_ERROR; - dest->name = new UChar[reqLen+1]; - reqLen= unorm_normalize(src,srcLen,mode, options,dest->name,reqLen+1,&status); - dest->len=reqLen; - break; - }else if(U_FAILURE(status)){ - printf("Could not normalize input. Error: %s", u_errorName(status)); - } - } -} -UChar* NormalizerPerformanceTest::normalizeInput(int32_t& len, const UChar* src ,int32_t srcLen,UNormalizationMode mode, int32_t options){ - int32_t reqLen = 0; - UErrorCode status = U_ZERO_ERROR; - UChar* dest = NULL; - for(;;){ - /* pure pre-flight */ - reqLen=unorm_normalize(src,srcLen,mode, options,NULL,0,&status); - if(status==U_BUFFER_OVERFLOW_ERROR){ - status=U_ZERO_ERROR; - dest = new UChar[reqLen+1]; - reqLen= unorm_normalize(src,srcLen,mode, options,dest,reqLen+1,&status); - len=reqLen; - break; - }else if(U_FAILURE(status)){ - printf("Could not normalize input. Error: %s", u_errorName(status)); - return NULL; - } - } - return dest; -} - -static UOption cmdLineOptions[]={ - UOPTION_DEF("options", 'o', UOPT_OPTIONAL_ARG) -}; - -NormalizerPerformanceTest::NormalizerPerformanceTest(int32_t argc, const char* argv[], UErrorCode& status) -: UPerfTest(argc,argv,status), options(0) { - NFDBuffer = NULL; - NFCBuffer = NULL; - NFDBufferLen = 0; - NFCBufferLen = 0; - NFDFileLines = NULL; - NFCFileLines = NULL; - - if(status== U_ILLEGAL_ARGUMENT_ERROR){ - fprintf(stderr,gUsageString, "normperf"); - return; - } - - if(U_FAILURE(status)){ - fprintf(stderr, "FAILED to create UPerfTest object. Error: %s\n", u_errorName(status)); - return; - } - - _remainingArgc = u_parseArgs(_remainingArgc, (char **)argv, (int32_t)(LENGTHOF(cmdLineOptions)), cmdLineOptions); - if(cmdLineOptions[0].doesOccur && cmdLineOptions[0].value!=NULL) { - options=(int32_t)strtol(cmdLineOptions[0].value, NULL, 16); - } - - if(line_mode){ - ULine* filelines = getLines(status); - if(U_FAILURE(status)){ - fprintf(stderr, "FAILED to read lines from file and create UPerfTest object. Error: %s\n", u_errorName(status)); - return; - } - NFDFileLines = new ULine[numLines]; - NFCFileLines = new ULine[numLines]; - - for(int32_t i=0;i<numLines;i++){ - normalizeInput(&NFDFileLines[i],filelines[i].name,filelines[i].len,UNORM_NFD, options); - normalizeInput(&NFCFileLines[i],filelines[i].name,filelines[i].len,UNORM_NFC, options); - - } - }else if(bulk_mode){ - int32_t srcLen = 0; - const UChar* src = getBuffer(srcLen,status); - NFDBufferLen = 0; - NFCBufferLen = 0; - - if(U_FAILURE(status)){ - fprintf(stderr, "FAILED to read buffer from file and create UPerfTest object. Error: %s\n", u_errorName(status)); - return; - } - - NFDBuffer = normalizeInput(NFDBufferLen,src,srcLen,UNORM_NFD, options); - NFCBuffer = normalizeInput(NFCBufferLen,src,srcLen,UNORM_NFC, options); - } - -} - -NormalizerPerformanceTest::~NormalizerPerformanceTest(){ - delete[] NFDFileLines; - delete[] NFCFileLines; - delete[] NFDBuffer; - delete[] NFCBuffer; -} - -// Test NFC Performance -UPerfFunction* NormalizerPerformanceTest::TestICU_NFC_NFD_Text(){ - if(line_mode){ - NormPerfFunction* func= new NormPerfFunction(ICUNormNFC, options,NFDFileLines,numLines, uselen); - return func; - }else{ - NormPerfFunction* func= new NormPerfFunction(ICUNormNFC, options,NFDBuffer, NFDBufferLen, uselen); - return func; - } -} -UPerfFunction* NormalizerPerformanceTest::TestICU_NFC_NFC_Text(){ - if(line_mode){ - NormPerfFunction* func = new NormPerfFunction(ICUNormNFC, options,NFCFileLines,numLines, uselen); - return func; - }else{ - NormPerfFunction* func= new NormPerfFunction(ICUNormNFC, options,NFCBuffer, NFCBufferLen, uselen); - return func; - } -} -UPerfFunction* NormalizerPerformanceTest::TestICU_NFC_Orig_Text(){ - if(line_mode){ - NormPerfFunction* func = new NormPerfFunction(ICUNormNFC, options,lines,numLines, uselen); - return func; - }else{ - NormPerfFunction* func = new NormPerfFunction(ICUNormNFC, options,buffer, bufferLen, uselen); - return func; - } -} - -// Test NFD Performance -UPerfFunction* NormalizerPerformanceTest::TestICU_NFD_NFD_Text(){ - if(line_mode){ - NormPerfFunction* func = new NormPerfFunction(ICUNormNFD, options,NFDFileLines,numLines, uselen); - return func; - }else{ - NormPerfFunction* func = new NormPerfFunction(ICUNormNFD, options,NFDBuffer,NFDBufferLen, uselen); - return func; - } -} -UPerfFunction* NormalizerPerformanceTest::TestICU_NFD_NFC_Text(){ - if(line_mode){ - NormPerfFunction* func = new NormPerfFunction(ICUNormNFD, options,NFCFileLines,numLines, uselen); - return func; - }else{ - NormPerfFunction* func = new NormPerfFunction(ICUNormNFD, options,NFCBuffer,NFCBufferLen, uselen); - return func; - } -} -UPerfFunction* NormalizerPerformanceTest::TestICU_NFD_Orig_Text(){ - if(line_mode){ - NormPerfFunction* func = new NormPerfFunction(ICUNormNFD, options,lines,numLines, uselen); - return func; - }else{ - NormPerfFunction* func = new NormPerfFunction(ICUNormNFD, options,buffer,bufferLen, uselen); - return func; - } -} - -// Test FCD Performance -UPerfFunction* NormalizerPerformanceTest::TestICU_FCD_NFD_Text(){ - if(line_mode){ - NormPerfFunction* func = new NormPerfFunction(ICUNormFCD, options,NFDFileLines,numLines, uselen); - return func; - }else{ - NormPerfFunction* func = new NormPerfFunction(ICUNormFCD, options,NFDBuffer,NFDBufferLen, uselen); - return func; - } - -} -UPerfFunction* NormalizerPerformanceTest::TestICU_FCD_NFC_Text(){ - if(line_mode){ - NormPerfFunction* func = new NormPerfFunction(ICUNormFCD, options,NFCFileLines,numLines, uselen); - return func; - }else{ - NormPerfFunction* func = new NormPerfFunction(ICUNormFCD, options,NFCBuffer,NFCBufferLen, uselen); - return func; - } -} -UPerfFunction* NormalizerPerformanceTest::TestICU_FCD_Orig_Text(){ - if(line_mode){ - NormPerfFunction* func = new NormPerfFunction(ICUNormFCD, options,lines,numLines, uselen); - return func; - }else{ - NormPerfFunction* func = new NormPerfFunction(ICUNormFCD, options,buffer,bufferLen, uselen); - return func; - } -} - -// Test Win NFC Performance -UPerfFunction* NormalizerPerformanceTest::TestWin_NFC_NFD_Text(){ - if(line_mode){ - NormPerfFunction* func = new NormPerfFunction(WinNormNFC, options,NFDFileLines,numLines, uselen); - return func; - }else{ - NormPerfFunction* func = new NormPerfFunction(WinNormNFC, options,NFDBuffer,NFDBufferLen, uselen); - return func; - } -} -UPerfFunction* NormalizerPerformanceTest::TestWin_NFC_NFC_Text(){ - if(line_mode){ - NormPerfFunction* func = new NormPerfFunction(WinNormNFC, options,NFCFileLines,numLines, uselen); - return func; - }else{ - NormPerfFunction* func = new NormPerfFunction(WinNormNFC, options,NFCBuffer,NFCBufferLen, uselen); - return func; - } -} -UPerfFunction* NormalizerPerformanceTest::TestWin_NFC_Orig_Text(){ - if(line_mode){ - NormPerfFunction* func = new NormPerfFunction(WinNormNFC, options,lines,numLines, uselen); - return func; - }else{ - NormPerfFunction* func = new NormPerfFunction(WinNormNFC, options,buffer,bufferLen, uselen); - return func; - } -} - -// Test Win NFD Performance -UPerfFunction* NormalizerPerformanceTest::TestWin_NFD_NFD_Text(){ - if(line_mode){ - NormPerfFunction* func = new NormPerfFunction(WinNormNFD, options,NFDFileLines,numLines, uselen); - return func; - }else{ - NormPerfFunction* func = new NormPerfFunction(WinNormNFD, options,NFDBuffer,NFDBufferLen, uselen); - return func; - } -} -UPerfFunction* NormalizerPerformanceTest::TestWin_NFD_NFC_Text(){ - if(line_mode){ - NormPerfFunction* func = new NormPerfFunction(WinNormNFD, options,NFCFileLines,numLines, uselen); - return func; - }else{ - NormPerfFunction* func = new NormPerfFunction(WinNormNFD, options,NFCBuffer,NFCBufferLen, uselen); - return func; - } -} -UPerfFunction* NormalizerPerformanceTest::TestWin_NFD_Orig_Text(){ - if(line_mode){ - NormPerfFunction* func = new NormPerfFunction(WinNormNFD, options,lines,numLines, uselen); - return func; - }else{ - NormPerfFunction* func = new NormPerfFunction(WinNormNFD, options,buffer,bufferLen, uselen); - return func; - } -} - -// Test Quick Check Performance -UPerfFunction* NormalizerPerformanceTest::TestQC_NFC_NFD_Text(){ - if(line_mode){ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,NFDFileLines, numLines, UNORM_NFC, options,uselen); - return func; - }else{ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,NFDBuffer, NFDBufferLen, UNORM_NFC, options,uselen); - return func; - } -} -UPerfFunction* NormalizerPerformanceTest::TestQC_NFC_NFC_Text(){ - if(line_mode){ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,NFCFileLines, numLines, UNORM_NFC, options,uselen); - return func; - }else{ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,NFCBuffer, NFCBufferLen, UNORM_NFC, options,uselen); - return func; - } -} -UPerfFunction* NormalizerPerformanceTest::TestQC_NFC_Orig_Text(){ - if(line_mode){ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,lines, numLines, UNORM_NFC, options,uselen); - return func; - }else{ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,buffer, bufferLen, UNORM_NFC, options,uselen); - return func; - } -} - -UPerfFunction* NormalizerPerformanceTest::TestQC_NFD_NFD_Text(){ - if(line_mode){ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,NFDFileLines, numLines, UNORM_NFD, options,uselen); - return func; - }else{ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,NFDBuffer, NFDBufferLen, UNORM_NFD, options,uselen); - return func; - } -} -UPerfFunction* NormalizerPerformanceTest::TestQC_NFD_NFC_Text(){ - if(line_mode){ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,NFCFileLines, numLines, UNORM_NFD, options,uselen); - return func; - }else{ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,NFCBuffer, NFCBufferLen, UNORM_NFD, options,uselen); - return func; - } -} -UPerfFunction* NormalizerPerformanceTest::TestQC_NFD_Orig_Text(){ - if(line_mode){ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,lines, numLines, UNORM_NFD, options,uselen); - return func; - }else{ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,buffer, bufferLen, UNORM_NFD, options,uselen); - return func; - } -} - -UPerfFunction* NormalizerPerformanceTest::TestQC_FCD_NFD_Text(){ - if(line_mode){ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,NFDFileLines, numLines, UNORM_FCD, options,uselen); - return func; - }else{ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,NFDBuffer, NFDBufferLen, UNORM_FCD, options,uselen); - return func; - } -} -UPerfFunction* NormalizerPerformanceTest::TestQC_FCD_NFC_Text(){ - if(line_mode){ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,NFCFileLines, numLines, UNORM_FCD, options,uselen); - return func; - }else{ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,NFCBuffer, NFCBufferLen, UNORM_FCD, options,uselen); - return func; - } -} -UPerfFunction* NormalizerPerformanceTest::TestQC_FCD_Orig_Text(){ - if(line_mode){ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,lines, numLines, UNORM_FCD, options,uselen); - return func; - }else{ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUQuickCheck,buffer, bufferLen, UNORM_FCD, options,uselen); - return func; - } -} - -// Test isNormalized Performance -UPerfFunction* NormalizerPerformanceTest::TestIsNormalized_NFC_NFD_Text(){ - if(line_mode){ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,NFDFileLines, numLines, UNORM_NFC, options,uselen); - return func; - }else{ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,NFDBuffer, NFDBufferLen, UNORM_NFC, options,uselen); - return func; - } -} -UPerfFunction* NormalizerPerformanceTest::TestIsNormalized_NFC_NFC_Text(){ - if(line_mode){ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,NFCFileLines, numLines, UNORM_NFC, options,uselen); - return func; - }else{ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,NFCBuffer, NFCBufferLen, UNORM_NFC, options,uselen); - return func; - } -} -UPerfFunction* NormalizerPerformanceTest::TestIsNormalized_NFC_Orig_Text(){ - if(line_mode){ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,lines, numLines, UNORM_NFC, options,uselen); - return func; - }else{ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,buffer, bufferLen, UNORM_NFC, options,uselen); - return func; - } -} - -UPerfFunction* NormalizerPerformanceTest::TestIsNormalized_NFD_NFD_Text(){ - if(line_mode){ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,NFDFileLines, numLines, UNORM_NFD, options,uselen); - return func; - }else{ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,NFDBuffer, NFDBufferLen, UNORM_NFD, options,uselen); - return func; - } -} -UPerfFunction* NormalizerPerformanceTest::TestIsNormalized_NFD_NFC_Text(){ - if(line_mode){ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,NFCFileLines, numLines, UNORM_NFD, options,uselen); - return func; - }else{ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,NFCBuffer, NFCBufferLen, UNORM_NFD, options,uselen); - return func; - } -} -UPerfFunction* NormalizerPerformanceTest::TestIsNormalized_NFD_Orig_Text(){ - if(line_mode){ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,lines, numLines, UNORM_NFD, options,uselen); - return func; - }else{ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,buffer, bufferLen, UNORM_NFD, options,uselen); - return func; - } -} - -UPerfFunction* NormalizerPerformanceTest::TestIsNormalized_FCD_NFD_Text(){ - if(line_mode){ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,NFDFileLines, numLines, UNORM_FCD, options,uselen); - return func; - }else{ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,NFDBuffer, NFDBufferLen, UNORM_FCD, options,uselen); - return func; - } -} -UPerfFunction* NormalizerPerformanceTest::TestIsNormalized_FCD_NFC_Text(){ - if(line_mode){ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,NFCFileLines, numLines, UNORM_FCD, options,uselen); - return func; - }else{ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,NFCBuffer, NFCBufferLen, UNORM_FCD, options,uselen); - return func; - } -} -UPerfFunction* NormalizerPerformanceTest::TestIsNormalized_FCD_Orig_Text(){ - if(line_mode){ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,lines, numLines, UNORM_FCD, options,uselen); - return func; - }else{ - QuickCheckPerfFunction* func = new QuickCheckPerfFunction(ICUIsNormalized,buffer, bufferLen, UNORM_FCD, options,uselen); - return func; - } -} - -int main(int argc, const char* argv[]){ - UErrorCode status = U_ZERO_ERROR; - NormalizerPerformanceTest test(argc, argv, status); - if(U_FAILURE(status)){ - return status; - } - if(test.run()==FALSE){ - fprintf(stderr,"FAILED: Tests could not be run please check the arguments.\n"); - return -1; - } - return 0; -} diff --git a/Build/source/libs/icu/icu-4.4/test/perf/normperf/normperf.h b/Build/source/libs/icu/icu-4.4/test/perf/normperf/normperf.h deleted file mode 100644 index 6a43a7727be..00000000000 --- a/Build/source/libs/icu/icu-4.4/test/perf/normperf/normperf.h +++ /dev/null @@ -1,353 +0,0 @@ -/* -********************************************************************** -* Copyright (c) 2002-2006, International Business Machines -* Corporation and others. All Rights Reserved. -********************************************************************** -********************************************************************** -*/ -#ifndef _NORMPERF_H -#define _NORMPERF_H - -#include "unicode/unorm.h" -#include "unicode/ustring.h" - -#include "unicode/uperf.h" -#include <stdlib.h> - -// Stubs for Windows API functions when building on UNIXes. -// -#if defined(U_WINDOWS) -// do nothing -#else -#define _UNICODE -typedef int DWORD; -inline int FoldStringW(DWORD dwMapFlags, const UChar* lpSrcStr,int cchSrc, UChar* lpDestStr,int cchDest); -#endif - -#define DEST_BUFFER_CAPACITY 6000 -typedef int32_t (*NormFn)(const UChar* src,int32_t srcLen, UChar* dest,int32_t dstLen, int32_t options, UErrorCode* status); -typedef int32_t (*QuickCheckFn)(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* status); - -class QuickCheckPerfFunction : public UPerfFunction{ -private: - ULine* lines; - int32_t numLines; - QuickCheckFn fn; - UNormalizationMode mode; - int32_t retVal; - UBool uselen; - const UChar* src; - int32_t srcLen; - UBool line_mode; - int32_t options; - -public: - virtual void call(UErrorCode* status){ - if(line_mode==TRUE){ - if(uselen){ - for(int32_t i = 0; i< numLines; i++){ - retVal = (*fn)(lines[i].name,lines[i].len,mode, options, status); - } - }else{ - for(int32_t i = 0; i< numLines; i++){ - retVal = (*fn)(lines[i].name,-1,mode, options, status); - } - } - }else{ - if(uselen){ - - retVal = (*fn)(src,srcLen,mode, options, status); - }else{ - retVal = (*fn)(src,-1,mode, options, status); - } - } - - } - virtual long getOperationsPerIteration(){ - if(line_mode==TRUE){ - int32_t totalChars=0; - for(int32_t i =0; i< numLines; i++){ - totalChars+= lines[i].len; - } - return totalChars; - }else{ - return srcLen; - } - } - QuickCheckPerfFunction(QuickCheckFn func, ULine* srcLines,int32_t srcNumLines, UNormalizationMode _mode, int32_t opts, UBool _uselen) : options(opts) { - fn = func; - lines = srcLines; - numLines = srcNumLines; - uselen = _uselen; - mode = _mode; - src = NULL; - srcLen = 0; - line_mode = TRUE; - } - QuickCheckPerfFunction(QuickCheckFn func, const UChar* source,int32_t sourceLen, UNormalizationMode _mode, int32_t opts, UBool _uselen) : options(opts) { - fn = func; - lines = NULL; - numLines = 0; - uselen = _uselen; - mode = _mode; - src = source; - srcLen = sourceLen; - line_mode = FALSE; - } -}; - - -class NormPerfFunction : public UPerfFunction{ -private: - ULine* lines; - int32_t numLines; - UChar dest[DEST_BUFFER_CAPACITY]; - UChar* pDest; - int32_t destLen; - NormFn fn; - int32_t retVal; - UBool uselen; - const UChar* src; - int32_t srcLen; - UBool line_mode; - int32_t options; - -public: - virtual void call(UErrorCode* status){ - if(line_mode==TRUE){ - if(uselen){ - for(int32_t i = 0; i< numLines; i++){ - retVal = (*fn)(lines[i].name,lines[i].len,pDest,destLen, options, status); - } - }else{ - for(int32_t i = 0; i< numLines; i++){ - retVal = (*fn)(lines[i].name,-1,pDest,destLen, options, status); - } - } - }else{ - if(uselen){ - retVal = (*fn)(src,srcLen,pDest,destLen, options, status); - }else{ - retVal = (*fn)(src,-1,pDest,destLen, options, status); - } - } - } - virtual long getOperationsPerIteration(){ - if(line_mode ==TRUE){ - int32_t totalChars=0; - for(int32_t i =0; i< numLines; i++){ - totalChars+= lines[i].len; - } - return totalChars; - }else{ - return srcLen; - } - } - NormPerfFunction(NormFn func, int32_t opts, ULine* srcLines,int32_t srcNumLines,UBool _uselen) : options(opts) { - fn = func; - lines = srcLines; - numLines = srcNumLines; - uselen = _uselen; - destLen = DEST_BUFFER_CAPACITY; - pDest = dest; - src = NULL; - srcLen = 0; - line_mode = TRUE; - } - NormPerfFunction(NormFn func, int32_t opts, const UChar* source,int32_t sourceLen,UBool _uselen) : options(opts) { - fn = func; - lines = NULL; - numLines = 0; - uselen = _uselen; - destLen = sourceLen*3; - pDest = (UChar*) malloc(destLen * U_SIZEOF_UCHAR); - src = source; - srcLen = sourceLen; - line_mode = FALSE; - } - ~NormPerfFunction(){ - if(dest != pDest){ - free(pDest); - } - } -}; - - - -class NormalizerPerformanceTest : public UPerfTest{ -private: - ULine* NFDFileLines; - ULine* NFCFileLines; - UChar* NFDBuffer; - UChar* NFCBuffer; - UChar* origBuffer; - int32_t origBufferLen; - int32_t NFDBufferLen; - int32_t NFCBufferLen; - int32_t options; - - void normalizeInput(ULine* dest,const UChar* src ,int32_t srcLen,UNormalizationMode mode, int32_t options); - UChar* normalizeInput(int32_t& len, const UChar* src ,int32_t srcLen,UNormalizationMode mode, int32_t options); - -public: - - NormalizerPerformanceTest(int32_t argc, const char* argv[], UErrorCode& status); - ~NormalizerPerformanceTest(); - virtual UPerfFunction* runIndexedTest(int32_t index, UBool exec,const char* &name, char* par = NULL); - /* NFC performance */ - UPerfFunction* TestICU_NFC_NFD_Text(); - UPerfFunction* TestICU_NFC_NFC_Text(); - UPerfFunction* TestICU_NFC_Orig_Text(); - - /* NFD performance */ - UPerfFunction* TestICU_NFD_NFD_Text(); - UPerfFunction* TestICU_NFD_NFC_Text(); - UPerfFunction* TestICU_NFD_Orig_Text(); - - /* FCD performance */ - UPerfFunction* TestICU_FCD_NFD_Text(); - UPerfFunction* TestICU_FCD_NFC_Text(); - UPerfFunction* TestICU_FCD_Orig_Text(); - - /*Win NFC performance */ - UPerfFunction* TestWin_NFC_NFD_Text(); - UPerfFunction* TestWin_NFC_NFC_Text(); - UPerfFunction* TestWin_NFC_Orig_Text(); - - /* Win NFD performance */ - UPerfFunction* TestWin_NFD_NFD_Text(); - UPerfFunction* TestWin_NFD_NFC_Text(); - UPerfFunction* TestWin_NFD_Orig_Text(); - - /* Quick check performance */ - UPerfFunction* TestQC_NFC_NFD_Text(); - UPerfFunction* TestQC_NFC_NFC_Text(); - UPerfFunction* TestQC_NFC_Orig_Text(); - - UPerfFunction* TestQC_NFD_NFD_Text(); - UPerfFunction* TestQC_NFD_NFC_Text(); - UPerfFunction* TestQC_NFD_Orig_Text(); - - UPerfFunction* TestQC_FCD_NFD_Text(); - UPerfFunction* TestQC_FCD_NFC_Text(); - UPerfFunction* TestQC_FCD_Orig_Text(); - - /* IsNormalized performnace */ - UPerfFunction* TestIsNormalized_NFC_NFD_Text(); - UPerfFunction* TestIsNormalized_NFC_NFC_Text(); - UPerfFunction* TestIsNormalized_NFC_Orig_Text(); - - UPerfFunction* TestIsNormalized_NFD_NFD_Text(); - UPerfFunction* TestIsNormalized_NFD_NFC_Text(); - UPerfFunction* TestIsNormalized_NFD_Orig_Text(); - - UPerfFunction* TestIsNormalized_FCD_NFD_Text(); - UPerfFunction* TestIsNormalized_FCD_NFC_Text(); - UPerfFunction* TestIsNormalized_FCD_Orig_Text(); - -}; - -//--------------------------------------------------------------------------------------- -// Platform / ICU version specific proto-types -//--------------------------------------------------------------------------------------- - - -#if (U_ICU_VERSION_MAJOR_NUM > 1 ) || ((U_ICU_VERSION_MAJOR_NUM == 1 )&&(U_ICU_VERSION_MINOR_NUM > 8) && (U_ICU_VERSION_PATCHLEVEL_NUM >=1)) - -int32_t ICUNormNFD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) { - return unorm_normalize(src,srcLen,UNORM_NFD, options,dest,dstLen,status); -} - -int32_t ICUNormNFC(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) { - return unorm_normalize(src,srcLen,UNORM_NFC, options,dest,dstLen,status); -} - -int32_t ICUNormNFKD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) { - return unorm_normalize(src,srcLen,UNORM_NFKD, options,dest,dstLen,status); -} -int32_t ICUNormNFKC(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) { - return unorm_normalize(src,srcLen,UNORM_NFKC, options,dest,dstLen,status); -} - -int32_t ICUNormFCD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) { - return unorm_normalize(src,srcLen,UNORM_FCD, options,dest,dstLen,status); -} - -int32_t ICUQuickCheck(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* status){ -#if (U_ICU_VERSION_MAJOR_NUM > 2 ) || ((U_ICU_VERSION_MAJOR_NUM == 2 )&&(U_ICU_VERSION_MINOR_NUM >= 6)) - return unorm_quickCheckWithOptions(src,srcLen,mode, options, status); -#else - return unorm_quickCheck(src,srcLen,mode,status); -#endif -} -int32_t ICUIsNormalized(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* status){ - return unorm_isNormalized(src,srcLen,mode,status); -} - - -#else - -int32_t ICUNormNFD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) { - return unorm_normalize(src,srcLen,UCOL_DECOMP_CAN, options,dest,dstLen,status); -} - -int32_t ICUNormNFC(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) { - return unorm_normalize(src,srcLen,UCOL_COMPOSE_CAN, options,dest,dstLen,status); -} - -int32_t ICUNormNFKD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) { - return unorm_normalize(src,srcLen,UCOL_DECOMP_COMPAT, options,dest,dstLen,status); -} -int32_t ICUNormNFKC(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) { - return unorm_normalize(src,srcLen,UCOL_COMPOSE_COMPAT, options,dest,dstLen,status); -} - -int32_t ICUNormFCD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) { - return unorm_normalize(src,srcLen,UNORM_FCD, options,dest,dstLen,status); -} - -int32_t ICUQuickCheck(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* status){ - return unorm_quickCheck(src,srcLen,mode,status); -} - -int32_t ICUIsNormalized(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* status){ - return 0; -} -#endif - -#if defined(U_WINDOWS) - -int32_t WinNormNFD(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) { - return FoldStringW(MAP_COMPOSITE,src,srcLen,dest,dstLen); -} - -int32_t WinNormNFC(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) { - return FoldStringW(MAP_PRECOMPOSED,src,srcLen,dest,dstLen); -} - -int32_t WinNormNFKD(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) { - return FoldStringW(MAP_COMPOSITE+MAP_FOLDCZONE,src,srcLen,dest,dstLen); -} -int32_t WinNormNFKC(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) { - return FoldStringW(MAP_FOLDCZONE,src,srcLen,dest,dstLen); -} -#else -int32_t WinNormNFD(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) { - return 0 ; -} - -int32_t WinNormNFC(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) { - return 0; -} - -int32_t WinNormNFKD(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) { - return 0; -} -int32_t WinNormNFKC(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) { - return 0; -} -#endif - - -#endif // NORMPERF_H - diff --git a/Build/source/libs/icu/icu-4.4/test/perf/normperf/normperf.vcproj b/Build/source/libs/icu/icu-4.4/test/perf/normperf/normperf.vcproj deleted file mode 100644 index 7611cf1d60f..00000000000 --- a/Build/source/libs/icu/icu-4.4/test/perf/normperf/normperf.vcproj +++ /dev/null @@ -1,461 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="9.00" - Name="normperf" - ProjectGUID="{56CCC661-8D33-4F0A-B62F-C619CE843C68}" - TargetFrameworkVersion="131072" - > - <Platforms> - <Platform - Name="Win32" - /> - <Platform - Name="x64" - /> - </Platforms> - <ToolFiles> - </ToolFiles> - <Configurations> - <Configuration - Name="Debug|Win32" - OutputDirectory=".\x86\Debug" - IntermediateDirectory=".\x86\Debug" - ConfigurationType="1" - InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" - UseOfMFC="0" - ATLMinimizesCRunTimeLibraryUsage="false" - CharacterSet="1" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - TypeLibraryName=".\x86\Debug/normperf.tlb" - HeaderFileName="" - /> - <Tool - Name="VCCLCompilerTool" - Optimization="0" - AdditionalIncludeDirectories="..\..\..\..\include;..\..\..\tools\toolutil;..\..\..\common;..\..\..\tools\ctestfw" - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_MBCS" - BasicRuntimeChecks="3" - RuntimeLibrary="3" - UsePrecompiledHeader="0" - PrecompiledHeaderFile=".\x86\Debug/normperf.pch" - AssemblerListingLocation=".\x86\Debug/" - ObjectFile=".\x86\Debug/" - ProgramDataBaseFileName=".\x86\Debug/" - BrowseInformation="1" - WarningLevel="3" - SuppressStartupBanner="true" - DebugInformationFormat="3" - CompileAs="0" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - PreprocessorDefinitions="_DEBUG" - Culture="1033" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="icuucd.lib icutud.lib icutestd.lib winmm.lib" - OutputFile=".\x86\Debug/normperf.exe" - LinkIncremental="1" - SuppressStartupBanner="true" - AdditionalLibraryDirectories="..\..\..\..\lib\" - GenerateDebugInformation="true" - ProgramDatabaseFile=".\x86\Debug/normperf.pdb" - SubSystem="1" - RandomizedBaseAddress="1" - DataExecutionPrevention="0" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Debug|x64" - OutputDirectory=".\x64\Debug" - IntermediateDirectory=".\x64\Debug" - ConfigurationType="1" - InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" - UseOfMFC="0" - ATLMinimizesCRunTimeLibraryUsage="false" - CharacterSet="1" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - TargetEnvironment="3" - TypeLibraryName=".\x64\Debug/normperf.tlb" - HeaderFileName="" - /> - <Tool - Name="VCCLCompilerTool" - Optimization="0" - AdditionalIncludeDirectories="..\..\..\..\include;..\..\..\tools\toolutil;..\..\..\common;..\..\..\tools\ctestfw" - PreprocessorDefinitions="WIN64;WIN32;_DEBUG;_CONSOLE;_MBCS" - BasicRuntimeChecks="3" - RuntimeLibrary="3" - UsePrecompiledHeader="0" - PrecompiledHeaderFile=".\x64\Debug/normperf.pch" - AssemblerListingLocation=".\x64\Debug/" - ObjectFile=".\x64\Debug/" - ProgramDataBaseFileName=".\x64\Debug/" - BrowseInformation="1" - WarningLevel="3" - SuppressStartupBanner="true" - DebugInformationFormat="3" - CompileAs="0" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - PreprocessorDefinitions="_DEBUG" - Culture="1033" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="icuucd.lib icutud.lib icutestd.lib winmm.lib" - OutputFile=".\x64\Debug/normperf.exe" - LinkIncremental="1" - SuppressStartupBanner="true" - AdditionalLibraryDirectories="..\..\..\..\lib64\" - GenerateDebugInformation="true" - ProgramDatabaseFile=".\x64\Debug/normperf.pdb" - SubSystem="1" - RandomizedBaseAddress="1" - DataExecutionPrevention="0" - TargetMachine="17" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|Win32" - OutputDirectory=".\x86\Release" - IntermediateDirectory=".\x86\Release" - ConfigurationType="1" - InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" - UseOfMFC="0" - ATLMinimizesCRunTimeLibraryUsage="false" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - TypeLibraryName=".\x86\Release/normperf.tlb" - HeaderFileName="" - /> - <Tool - Name="VCCLCompilerTool" - Optimization="2" - InlineFunctionExpansion="1" - AdditionalIncludeDirectories="..\..\..\..\include;..\..\..\tools\toolutil;..\..\..\common;..\..\..\tools\ctestfw" - PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" - StringPooling="true" - RuntimeLibrary="2" - EnableFunctionLevelLinking="true" - UsePrecompiledHeader="0" - PrecompiledHeaderFile=".\x86\Release/normperf.pch" - AssemblerListingLocation=".\x86\Release/" - ObjectFile=".\x86\Release/" - ProgramDataBaseFileName=".\x86\Release/" - WarningLevel="3" - SuppressStartupBanner="true" - CompileAs="0" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - PreprocessorDefinitions="NDEBUG" - Culture="1033" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="icuuc.lib icutu.lib icutest.lib winmm.lib" - OutputFile=".\x86\Release/normperf.exe" - LinkIncremental="1" - SuppressStartupBanner="true" - AdditionalLibraryDirectories="..\..\..\..\lib\" - ProgramDatabaseFile=".\x86\Release/normperf.pdb" - SubSystem="1" - RandomizedBaseAddress="1" - DataExecutionPrevention="0" - TargetMachine="1" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - <Configuration - Name="Release|x64" - OutputDirectory=".\x64\Release" - IntermediateDirectory=".\x64\Release" - ConfigurationType="1" - InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" - UseOfMFC="0" - ATLMinimizesCRunTimeLibraryUsage="false" - CharacterSet="2" - > - <Tool - Name="VCPreBuildEventTool" - /> - <Tool - Name="VCCustomBuildTool" - /> - <Tool - Name="VCXMLDataGeneratorTool" - /> - <Tool - Name="VCWebServiceProxyGeneratorTool" - /> - <Tool - Name="VCMIDLTool" - TargetEnvironment="3" - TypeLibraryName=".\x64\Release/normperf.tlb" - HeaderFileName="" - /> - <Tool - Name="VCCLCompilerTool" - Optimization="2" - InlineFunctionExpansion="1" - AdditionalIncludeDirectories="..\..\..\..\include;..\..\..\tools\toolutil;..\..\..\common;..\..\..\tools\ctestfw" - PreprocessorDefinitions="WIN64;WIN32;NDEBUG;_CONSOLE" - StringPooling="true" - RuntimeLibrary="2" - EnableFunctionLevelLinking="true" - UsePrecompiledHeader="0" - PrecompiledHeaderFile=".\x64\Release/normperf.pch" - AssemblerListingLocation=".\x64\Release/" - ObjectFile=".\x64\Release/" - ProgramDataBaseFileName=".\x64\Release/" - WarningLevel="3" - SuppressStartupBanner="true" - CompileAs="0" - /> - <Tool - Name="VCManagedResourceCompilerTool" - /> - <Tool - Name="VCResourceCompilerTool" - PreprocessorDefinitions="NDEBUG" - Culture="1033" - /> - <Tool - Name="VCPreLinkEventTool" - /> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="icuuc.lib icutu.lib icutest.lib winmm.lib" - OutputFile=".\x64\Release/normperf.exe" - LinkIncremental="1" - SuppressStartupBanner="true" - AdditionalLibraryDirectories="..\..\..\..\lib64\" - ProgramDatabaseFile=".\x64\Release/normperf.pdb" - SubSystem="1" - RandomizedBaseAddress="1" - DataExecutionPrevention="0" - TargetMachine="17" - /> - <Tool - Name="VCALinkTool" - /> - <Tool - Name="VCManifestTool" - /> - <Tool - Name="VCXDCMakeTool" - /> - <Tool - Name="VCBscMakeTool" - /> - <Tool - Name="VCFxCopTool" - /> - <Tool - Name="VCAppVerifierTool" - /> - <Tool - Name="VCPostBuildEventTool" - /> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="Source Files" - Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" - > - <File - RelativePath="normperf.cpp" - > - <FileConfiguration - Name="Debug|Win32" - > - <Tool - Name="VCCLCompilerTool" - Optimization="0" - AdditionalIncludeDirectories="" - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_MBCS;_UNICODE;$(NoInherit)" - BasicRuntimeChecks="3" - BrowseInformation="1" - /> - </FileConfiguration> - <FileConfiguration - Name="Debug|x64" - > - <Tool - Name="VCCLCompilerTool" - Optimization="0" - AdditionalIncludeDirectories="" - PreprocessorDefinitions="WIN64;WIN32;_DEBUG;_CONSOLE;_MBCS;_UNICODE;$(NoInherit)" - BasicRuntimeChecks="3" - BrowseInformation="1" - /> - </FileConfiguration> - <FileConfiguration - Name="Release|Win32" - > - <Tool - Name="VCCLCompilerTool" - Optimization="2" - AdditionalIncludeDirectories="" - PreprocessorDefinitions="" - /> - </FileConfiguration> - <FileConfiguration - Name="Release|x64" - > - <Tool - Name="VCCLCompilerTool" - Optimization="2" - AdditionalIncludeDirectories="" - PreprocessorDefinitions="" - /> - </FileConfiguration> - </File> - </Filter> - <Filter - Name="Header Files" - Filter="h;hpp;hxx;hm;inl" - > - <File - RelativePath="normperf.h" - > - </File> - </Filter> - <Filter - Name="Resource Files" - Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" - > - </Filter> - </Files> - <Globals> - </Globals> -</VisualStudioProject> |