]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/perf/unisetperf/draft/contperf.sh
ICU-400.37.tar.gz
[apple/icu.git] / icuSources / test / perf / unisetperf / draft / contperf.sh
diff --git a/icuSources/test/perf/unisetperf/draft/contperf.sh b/icuSources/test/perf/unisetperf/draft/contperf.sh
new file mode 100755 (executable)
index 0000000..027897e
--- /dev/null
@@ -0,0 +1,23 @@
+#!/bin/sh
+# Copyright (c) 2007, International Business Machines Corporation and
+# others. All Rights Reserved.
+
+# Echo shell script commands.
+set -ex
+
+PERF=test/perf/unisetperf/unisetperf
+# slow Bv Bv0 B0
+# --pattern [:White_Space:]
+
+for file in udhr_eng.txt \
+            udhr_deu.txt \
+            udhr_fra.txt \
+            udhr_rus.txt \
+            udhr_tha.txt \
+            udhr_jpn.txt \
+            udhr_cmn.txt \
+            udhr_jpn.html; do
+  for type in slow Bv Bv0; do
+    $PERF Contains  --type $type -f ~/udhr/$file -v -e UTF-8 --passes 3 --iterations 10000
+  done
+done