• Home
Name Date Size #Lines LOC

..--

DateFmtPerf.cppD03-May-20248.6 KiB295217

DateFmtPerf.hD03-May-202419.2 KiB850648

DateFmtPerf.vcxprojD03-May-20246.2 KiB119117

DateFmtPerf.vcxproj.filtersD03-May-20241.4 KiB3939

Makefile.inD03-May-20242 KiB8648

ReadMe.txtD03-May-20241.7 KiB2721

breakdata.hD03-May-20241,006 227

collationdata.hD03-May-20246.9 KiB273253

datedata.hD03-May-20244 KiB5737

ReadMe.txt

1***********************************************************************
2* Copyright (C) 2016 and later: Unicode, Inc. and others.
3* License & terms of use: http://www.unicode.org/copyright.html
4***********************************************************************
5***********************************************************************
6* Copyright (c) 2002-2010,International Business Machines
7* Corporation and others.  All Rights Reserved.
8***********************************************************************
9***********************************************************************
10
11
12The 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.
13
14There 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.
15
16There are 7 tests contained in this performance test:
17DateFmt250: Tests date formatting with 250 dates
18DateFmt10000: Tests date formatting with 10,000 dates
19DateFmt100000: Tests date formatting with 100,000 dates
20BreakItWord250: Tests word break iteration with 250 iterations.
21BreakItWord10000: Tests word break iteration with 10000 iterations.
22BreakItChar250: Tests character break iteration with 250 iterations.
23BreakItChar10000: Tests character break iteration with 10000 iterations.
24
25For example:
26datefmtperf.exe -i 1 -p 1 DateFmt250
27