scuffed-code/icu4c/source/test/perf/DateFmtPerf
2010-10-09 01:23:28 +00:00
..
breakdata.h ICU-7275 added -x option and several new performance tests 2010-07-29 19:09:01 +00:00
collationdata.h ICU-7275 added collationdata.h 2010-07-29 19:10:32 +00:00
datedata.h ICU-7275 Added DateFmtPerf performance test case 2010-07-09 16:14:46 +00:00
DateFmtPerf.cpp ICU-7856 added support for -x option for DateFmtPerf project to output .xml file 2010-08-04 17:36:18 +00:00
DateFmtPerf.h ICU-7856 add unix build, 'xperf' target for generating XML perf data, cleanup some makefiles 2010-08-05 00:26:41 +00:00
DateFmtPerf.vcxproj ICU-8028 update version number to milestone:4.6, bump timebombs, etc 2010-10-09 01:23:28 +00:00
DateFmtPerf.vcxproj.filters ICU-7870 perf projects update 2010-08-11 00:26:23 +00:00
Makefile.in ICU-7856 add unix build, 'xperf' target for generating XML perf data, cleanup some makefiles 2010-08-05 00:26:41 +00:00
ReadMe.txt ICU-7275 Added DateFmtPerf performance test case 2010-07-09 16:14:46 +00:00

**********************************************************************
* Copyright (c) 2002-2010,International Business Machines
* Corporation and others.  All Rights Reserved.
**********************************************************************
**********************************************************************


The purpose of this performance test is to test the "real world" applications of ICU, such as Date Formatting and the Break Iterator.  In both of these cases, the performance test function does all of the work, i.e. initializing, formatting, etc.

There is no Perl script associated with this performance test, due to the fact that the performance test results in a different time if it is allowed to run more than once per execution of the executable.  We are only interested in the first time returned by the executable in order to maintain accurate "real world" results.  For this to happen, make sure to run the executable with the -i 1 and -p 1 options.

There are 7 tests contained in this performance test:
DateFmt250: Tests date formatting with 250 dates
DateFmt10000: Tests date formatting with 10,000 dates
DateFmt100000: Tests date formatting with 100,000 dates
BreakItWord250: Tests word break iteration with 250 iterations.
BreakItWord10000: Tests word break iteration with 10000 iterations.
BreakItChar250: Tests character break iteration with 250 iterations.
BreakItChar10000: Tests character break iteration with 10000 iterations.

For example:
datefmtperf.exe -i 1 -p 1 DateFmt250