Home | History | Annotate | Download | only in DateFmtPerf
      1 **********************************************************************
      2 * Copyright (c) 2002-2010,International Business Machines
      3 * Corporation and others.  All Rights Reserved.
      4 **********************************************************************
      5 **********************************************************************
      6 
      7 
      8 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.
      9 
     10 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.
     11 
     12 There are 7 tests contained in this performance test:
     13 DateFmt250: Tests date formatting with 250 dates
     14 DateFmt10000: Tests date formatting with 10,000 dates
     15 DateFmt100000: Tests date formatting with 100,000 dates
     16 BreakItWord250: Tests word break iteration with 250 iterations.
     17 BreakItWord10000: Tests word break iteration with 10000 iterations.
     18 BreakItChar250: Tests character break iteration with 250 iterations.
     19 BreakItChar10000: Tests character break iteration with 10000 iterations.
     20 
     21 For example:
     22 datefmtperf.exe -i 1 -p 1 DateFmt250