scuffed-code/icu4c/source/test/perf/DateFmtPerf
Steven R. Loomis caf814a5db ICU-9721 bump versions to 51.0.1
X-SVN-Rev: 32811
2012-11-13 23:10:20 +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-8127 update svn properties. 2010-11-04 21:41:54 +00:00
datedata.h
DateFmtPerf.cpp ICU-8802 improve robustness, also test against stdio sscanf/sprintf for doubles 2011-10-14 19:00:49 +00:00
DateFmtPerf.h ICU-8802 improve robustness, also test against stdio sscanf/sprintf for doubles 2011-10-14 19:00:49 +00:00
DateFmtPerf.vcxproj ICU-9721 bump versions to 51.0.1 2012-11-13 23:10:20 +00:00
DateFmtPerf.vcxproj.filters ICU-7870 perf projects update 2010-08-11 00:26:23 +00:00
Makefile.in ICU-8452 un-autoconf platform.h, move user-configurable settings to uconfig.h, and other changes; from svn merge --reintegrate branches/markus/platformh at r30411 2011-07-23 00:10:30 +00:00
ReadMe.txt

**********************************************************************
* 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