blob: 2c1664c69f965805ed499d081a5d0605841f92ab [file] [log] [blame]
c2=; apt-cache show libpcre3-dev
Package: libpcre3-dev
Priority: optional
Section: libdevel
Installed-Size: 712
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Mark Baker <mark@mnb.org.uk>
Architecture: amd64
Source: pcre3
Version: 7.8-3
Depends: libc6-dev, libpcre3 (= 7.8-3), libpcrecpp0 (= 7.8-3)
Conflicts: libpcre1-dev, libpcre2-dev
Filename: pool/main/p/pcre3/libpcre3-dev_7.8-3_amd64.deb
Size: 263634
MD5sum: 0a081735710002405b16b9fde7db3f90
SHA1: 73d6ba90280a6d897f420ac99c62aceed8bc9886
SHA256: 75a8ac25fba93e72d043f58cd4cde5af0c266a3764527c58b7b059cdc58d7d72
Description: Perl 5 Compatible Regular Expression Library - development files
This is a library of functions to support regular expressions whose syntax
and semantics are as close as possible to those of the Perl 5 language.
.
This package contains the development files, including headers, static
libraries, and documentation.
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
c2=;
==BENCHMARK== c2 Fri Feb 26 11:56:53 PST 2010
# Linux c2 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux
# g++ (Ubuntu 4.4.1-4ubuntu8) 4.4.1
# Copyright (C) 2009 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# 10870db2d7b5+ tip
Search_Easy0_CachedPCRE/8 10000000 127 ns/op 62.57 MB/s
Search_Easy0_CachedPCRE/16 10000000 156 ns/op 102.26 MB/s
Search_Easy0_CachedPCRE/32 5000000 213 ns/op 150.12 MB/s
Search_Easy0_CachedPCRE/64 5000000 326 ns/op 195.76 MB/s
Search_Easy0_CachedPCRE/128 5000000 427 ns/op 299.08 MB/s
Search_Easy0_CachedPCRE/256 1000000 1080 ns/op 236.95 MB/s
Search_Easy0_CachedPCRE/512 1000000 1741 ns/op 294.04 MB/s
Search_Easy0_CachedPCRE/1K 500000 3395 ns/op 301.54 MB/s
Search_Easy0_CachedPCRE/2K 200000 5680 ns/op 360.53 MB/s
Search_Easy0_CachedPCRE/4K 100000 10664 ns/op 384.07 MB/s
Search_Easy0_CachedPCRE/8K 50000 21849 ns/op 374.93 MB/s
Search_Easy0_CachedPCRE/16K 50000 42327 ns/op 387.08 MB/s
Search_Easy0_CachedPCRE/32K 20000 85374 ns/op 383.81 MB/s
Search_Easy0_CachedPCRE/64K 10000 169652 ns/op 386.30 MB/s
Search_Easy0_CachedPCRE/128K 5000 340683 ns/op 384.73 MB/s
Search_Easy0_CachedPCRE/256K 2000 679601 ns/op 385.73 MB/s
Search_Easy0_CachedPCRE/512K 1000 1361625 ns/op 385.05 MB/s
Search_Easy0_CachedPCRE/1M 500 2723438 ns/op 385.02 MB/s
Search_Easy0_CachedPCRE/2M 200 5470390 ns/op 383.36 MB/s
Search_Easy0_CachedPCRE/4M 100 11041050 ns/op 379.88 MB/s
Search_Easy0_CachedPCRE/8M 50 22165440 ns/op 378.45 MB/s
Search_Easy0_CachedPCRE/16M 50 44294160 ns/op 378.77 MB/s
Search_Easy0_CachedRE2/8 5000000 316 ns/op 25.25 MB/s
Search_Easy0_CachedRE2/16 5000000 317 ns/op 50.32 MB/s
Search_Easy0_CachedRE2/32 5000000 332 ns/op 96.26 MB/s
Search_Easy0_CachedRE2/64 5000000 334 ns/op 191.58 MB/s
Search_Easy0_CachedRE2/128 5000000 371 ns/op 344.40 MB/s
Search_Easy0_CachedRE2/256 5000000 391 ns/op 653.11 MB/s
Search_Easy0_CachedRE2/512 5000000 465 ns/op 1099.45 MB/s
Search_Easy0_CachedRE2/1K 2000000 664 ns/op 1541.25 MB/s
Search_Easy0_CachedRE2/2K 1000000 1015 ns/op 2015.77 MB/s
Search_Easy0_CachedRE2/4K 1000000 1581 ns/op 2590.41 MB/s
Search_Easy0_CachedRE2/8K 500000 2914 ns/op 2810.63 MB/s
Search_Easy0_CachedRE2/16K 200000 5406 ns/op 3030.64 MB/s
Search_Easy0_CachedRE2/32K 100000 10992 ns/op 2980.97 MB/s
Search_Easy0_CachedRE2/64K 50000 21829 ns/op 3002.12 MB/s
Search_Easy0_CachedRE2/128K 50000 44263 ns/op 2961.20 MB/s
Search_Easy0_CachedRE2/256K 20000 88222 ns/op 2971.39 MB/s
Search_Easy0_CachedRE2/512K 10000 177626 ns/op 2951.64 MB/s
Search_Easy0_CachedRE2/1M 5000 356519 ns/op 2941.15 MB/s
Search_Easy0_CachedRE2/2M 2000 730121 ns/op 2872.33 MB/s
Search_Easy0_CachedRE2/4M 1000 1522926 ns/op 2754.11 MB/s
Search_Easy0_CachedRE2/8M 500 3093982 ns/op 2711.27 MB/s
Search_Easy0_CachedRE2/16M 200 6173845 ns/op 2717.47 MB/s
Search_Easy1_CachedPCRE/8 10000000 129 ns/op 61.93 MB/s
Search_Easy1_CachedPCRE/16 10000000 156 ns/op 102.24 MB/s
Search_Easy1_CachedPCRE/32 5000000 213 ns/op 150.10 MB/s
Search_Easy1_CachedPCRE/64 5000000 326 ns/op 195.85 MB/s
Search_Easy1_CachedPCRE/128 2000000 648 ns/op 197.35 MB/s
Search_Easy1_CachedPCRE/256 2000000 934 ns/op 273.84 MB/s
Search_Easy1_CachedPCRE/512 1000000 1971 ns/op 259.73 MB/s
Search_Easy1_CachedPCRE/1K 500000 3432 ns/op 298.32 MB/s
Search_Easy1_CachedPCRE/2K 200000 6255 ns/op 327.39 MB/s
Search_Easy1_CachedPCRE/4K 100000 11212 ns/op 365.31 MB/s
Search_Easy1_CachedPCRE/8K 50000 22182 ns/op 369.31 MB/s
Search_Easy1_CachedPCRE/16K 50000 42713 ns/op 383.58 MB/s
Search_Easy1_CachedPCRE/32K 20000 85747 ns/op 382.14 MB/s
Search_Easy1_CachedPCRE/64K 10000 170670 ns/op 383.99 MB/s
Search_Easy1_CachedPCRE/128K 5000 342979 ns/op 382.16 MB/s
Search_Easy1_CachedPCRE/256K 2000 683959 ns/op 383.27 MB/s
Search_Easy1_CachedPCRE/512K 1000 1370065 ns/op 382.67 MB/s
Search_Easy1_CachedPCRE/1M 500 2742576 ns/op 382.33 MB/s
Search_Easy1_CachedPCRE/2M 200 5507205 ns/op 380.80 MB/s
Search_Easy1_CachedPCRE/4M 100 11116960 ns/op 377.29 MB/s
Search_Easy1_CachedPCRE/8M 50 22302540 ns/op 376.13 MB/s
Search_Easy1_CachedPCRE/16M 50 44593400 ns/op 376.23 MB/s
Search_Easy1_CachedRE2/8 5000000 316 ns/op 25.30 MB/s
Search_Easy1_CachedRE2/16 5000000 318 ns/op 50.29 MB/s
Search_Easy1_CachedRE2/32 5000000 331 ns/op 96.45 MB/s
Search_Easy1_CachedRE2/64 5000000 334 ns/op 191.09 MB/s
Search_Easy1_CachedRE2/128 5000000 367 ns/op 348.34 MB/s
Search_Easy1_CachedRE2/256 5000000 399 ns/op 640.68 MB/s
Search_Easy1_CachedRE2/512 5000000 476 ns/op 1073.44 MB/s
Search_Easy1_CachedRE2/1K 2000000 655 ns/op 1563.28 MB/s
Search_Easy1_CachedRE2/2K 1000000 1002 ns/op 2043.22 MB/s
Search_Easy1_CachedRE2/4K 1000000 1582 ns/op 2588.68 MB/s
Search_Easy1_CachedRE2/8K 500000 2916 ns/op 2808.86 MB/s
Search_Easy1_CachedRE2/16K 200000 5435 ns/op 3014.34 MB/s
Search_Easy1_CachedRE2/32K 100000 10957 ns/op 2990.35 MB/s
Search_Easy1_CachedRE2/64K 50000 21824 ns/op 3002.80 MB/s
Search_Easy1_CachedRE2/128K 50000 44255 ns/op 2961.71 MB/s
Search_Easy1_CachedRE2/256K 20000 88214 ns/op 2971.66 MB/s
Search_Easy1_CachedRE2/512K 10000 177657 ns/op 2951.12 MB/s
Search_Easy1_CachedRE2/1M 5000 356560 ns/op 2940.81 MB/s
Search_Easy1_CachedRE2/2M 2000 730094 ns/op 2872.44 MB/s
Search_Easy1_CachedRE2/4M 1000 1522720 ns/op 2754.48 MB/s
Search_Easy1_CachedRE2/8M 500 3093050 ns/op 2712.08 MB/s
Search_Easy1_CachedRE2/16M 200 6171535 ns/op 2718.48 MB/s
Search_Medium_CachedPCRE/8 10000000 128 ns/op 62.07 MB/s
Search_Medium_CachedPCRE/16 10000000 157 ns/op 101.40 MB/s
Search_Medium_CachedPCRE/32 5000000 214 ns/op 149.24 MB/s
Search_Medium_CachedPCRE/64 5000000 336 ns/op 190.31 MB/s
Search_Medium_CachedPCRE/128 5000000 430 ns/op 297.32 MB/s
Search_Medium_CachedPCRE/256 200000 8892 ns/op 28.79 MB/s
Search_Medium_CachedPCRE/512 50000 21295 ns/op 24.04 MB/s
Search_Medium_CachedPCRE/1K 50000 41581 ns/op 24.63 MB/s
Search_Medium_CachedPCRE/2K 20000 61200 ns/op 33.46 MB/s
Search_Medium_CachedPCRE/4K 10000 173807 ns/op 23.57 MB/s
Search_Medium_CachedPCRE/8K 5000 382058 ns/op 21.44 MB/s
Search_Medium_CachedPCRE/16K 2000 773090 ns/op 21.19 MB/s
Search_Medium_CachedPCRE/32K 1000 1545797 ns/op 21.20 MB/s
Search_Medium_CachedPCRE/64K 500 3076340 ns/op 21.30 MB/s
Search_Medium_CachedPCRE/128K 200 6134010 ns/op 21.37 MB/s
Search_Medium_CachedPCRE/256K 100 12315460 ns/op 21.29 MB/s
Search_Medium_CachedRE2/8 5000000 338 ns/op 23.62 MB/s
Search_Medium_CachedRE2/16 5000000 363 ns/op 43.99 MB/s
Search_Medium_CachedRE2/32 5000000 413 ns/op 77.32 MB/s
Search_Medium_CachedRE2/64 2000000 515 ns/op 124.15 MB/s
Search_Medium_CachedRE2/128 2000000 722 ns/op 177.20 MB/s
Search_Medium_CachedRE2/256 1000000 1126 ns/op 227.29 MB/s
Search_Medium_CachedRE2/512 1000000 1937 ns/op 264.32 MB/s
Search_Medium_CachedRE2/1K 500000 3553 ns/op 288.18 MB/s
Search_Medium_CachedRE2/2K 200000 6788 ns/op 301.71 MB/s
Search_Medium_CachedRE2/4K 100000 13258 ns/op 308.92 MB/s
Search_Medium_CachedRE2/8K 50000 26198 ns/op 312.69 MB/s
Search_Medium_CachedRE2/16K 20000 52097 ns/op 314.48 MB/s
Search_Medium_CachedRE2/32K 10000 103975 ns/op 315.15 MB/s
Search_Medium_CachedRE2/64K 5000 207487 ns/op 315.86 MB/s
Search_Medium_CachedRE2/128K 5000 414637 ns/op 316.11 MB/s
Search_Medium_CachedRE2/256K 2000 828752 ns/op 316.31 MB/s
Search_Medium_CachedRE2/512K 1000 1657280 ns/op 316.35 MB/s
Search_Medium_CachedRE2/1M 500 3314560 ns/op 316.35 MB/s
Search_Medium_CachedRE2/2M 200 6643535 ns/op 315.67 MB/s
Search_Medium_CachedRE2/4M 100 13338160 ns/op 314.46 MB/s
Search_Medium_CachedRE2/8M 50 26716200 ns/op 313.99 MB/s
Search_Medium_CachedRE2/16M 20 53439850 ns/op 313.95 MB/s
Search_Hard_CachedPCRE/8 10000000 128 ns/op 62.06 MB/s
Search_Hard_CachedPCRE/16 10000000 157 ns/op 101.42 MB/s
Search_Hard_CachedPCRE/32 5000000 214 ns/op 149.37 MB/s
Search_Hard_CachedPCRE/64 5000000 336 ns/op 190.26 MB/s
Search_Hard_CachedPCRE/128 5000000 430 ns/op 297.44 MB/s
Search_Hard_CachedPCRE/256 2000 780527 ns/op 0.33 MB/s
Search_Hard_CachedPCRE/512 500 3210270 ns/op 0.16 MB/s
Search_Hard_CachedPCRE/1K 100 12762760 ns/op 0.08 MB/s
Search_Hard_CachedPCRE/2K 50 46734020 ns/op 0.04 MB/s
Search_Hard_CachedPCRE/4K 5 201439400 ns/op 0.02 MB/s
Search_Hard_CachedRE2/8 5000000 338 ns/op 23.65 MB/s
Search_Hard_CachedRE2/16 5000000 363 ns/op 44.05 MB/s
Search_Hard_CachedRE2/32 5000000 411 ns/op 77.70 MB/s
Search_Hard_CachedRE2/64 2000000 512 ns/op 124.89 MB/s
Search_Hard_CachedRE2/128 2000000 721 ns/op 177.47 MB/s
Search_Hard_CachedRE2/256 1000000 1125 ns/op 227.50 MB/s
Search_Hard_CachedRE2/512 1000000 1933 ns/op 264.85 MB/s
Search_Hard_CachedRE2/1K 500000 3550 ns/op 288.42 MB/s
Search_Hard_CachedRE2/2K 200000 6786 ns/op 301.80 MB/s
Search_Hard_CachedRE2/4K 100000 13256 ns/op 308.97 MB/s
Search_Hard_CachedRE2/8K 50000 26197 ns/op 312.71 MB/s
Search_Hard_CachedRE2/16K 20000 52077 ns/op 314.61 MB/s
Search_Hard_CachedRE2/32K 10000 103962 ns/op 315.19 MB/s
Search_Hard_CachedRE2/64K 5000 207496 ns/op 315.84 MB/s
Search_Hard_CachedRE2/128K 5000 414609 ns/op 316.13 MB/s
Search_Hard_CachedRE2/256K 2000 828753 ns/op 316.31 MB/s
Search_Hard_CachedRE2/512K 1000 1657228 ns/op 316.36 MB/s
Search_Hard_CachedRE2/1M 500 3314250 ns/op 316.38 MB/s
Search_Hard_CachedRE2/2M 200 6643040 ns/op 315.69 MB/s
Search_Hard_CachedRE2/4M 100 13337040 ns/op 314.49 MB/s
Search_Hard_CachedRE2/8M 50 26716100 ns/op 313.99 MB/s
Search_Hard_CachedRE2/16M 20 53433550 ns/op 313.98 MB/s
Search_Parens_CachedPCRE/8 5000000 213 ns/op 37.43 MB/s
Search_Parens_CachedRE2/8 5000000 337 ns/op 23.73 MB/s
Search_Parens_CachedRE2/16 5000000 362 ns/op 44.12 MB/s
Search_Parens_CachedRE2/32 5000000 412 ns/op 77.59 MB/s
Search_Parens_CachedRE2/64 2000000 514 ns/op 124.37 MB/s
Search_Parens_CachedRE2/128 2000000 721 ns/op 177.32 MB/s
Search_Parens_CachedRE2/256 1000000 1125 ns/op 227.50 MB/s
Search_Parens_CachedRE2/512 1000000 1932 ns/op 264.92 MB/s
Search_Parens_CachedRE2/1K 500000 3550 ns/op 288.37 MB/s
Search_Parens_CachedRE2/2K 200000 6786 ns/op 301.78 MB/s
Search_Parens_CachedRE2/4K 100000 13258 ns/op 308.94 MB/s
Search_Parens_CachedRE2/8K 50000 26199 ns/op 312.68 MB/s
Search_Parens_CachedRE2/16K 20000 52095 ns/op 314.50 MB/s
Search_Parens_CachedRE2/32K 10000 103958 ns/op 315.20 MB/s
Search_Parens_CachedRE2/64K 5000 207520 ns/op 315.81 MB/s
Search_Parens_CachedRE2/128K 5000 414602 ns/op 316.14 MB/s
Search_Parens_CachedRE2/256K 2000 828782 ns/op 316.30 MB/s
Search_Parens_CachedRE2/512K 1000 1657076 ns/op 316.39 MB/s
Search_Parens_CachedRE2/1M 500 3314154 ns/op 316.39 MB/s
Search_Parens_CachedRE2/2M 200 6643900 ns/op 315.65 MB/s
Search_Parens_CachedRE2/4M 100 13336670 ns/op 314.49 MB/s
Search_Parens_CachedRE2/8M 50 26714480 ns/op 314.01 MB/s
Search_Parens_CachedRE2/16M 20 53434900 ns/op 313.97 MB/s
Search_BigFixed_CachedPCRE/8 5000000 251 ns/op 31.76 MB/s
Search_BigFixed_CachedPCRE/16 5000000 314 ns/op 50.80 MB/s
Search_BigFixed_CachedPCRE/32 5000000 441 ns/op 72.49 MB/s
Search_BigFixed_CachedPCRE/64 2000000 694 ns/op 92.21 MB/s
Search_BigFixed_CachedPCRE/128 1000000 1066 ns/op 119.99 MB/s
Search_BigFixed_CachedPCRE/256 1000000 1933 ns/op 132.39 MB/s
Search_BigFixed_CachedPCRE/512 500000 3652 ns/op 140.19 MB/s
Search_BigFixed_CachedPCRE/1K 200000 7089 ns/op 144.43 MB/s
Search_BigFixed_CachedPCRE/2K 100000 13964 ns/op 146.66 MB/s
Search_BigFixed_CachedPCRE/4K 50000 27716 ns/op 147.78 MB/s
Search_BigFixed_CachedPCRE/8K 20000 55232 ns/op 148.32 MB/s
Search_BigFixed_CachedPCRE/16K 10000 110321 ns/op 148.51 MB/s
Search_BigFixed_CachedPCRE/32K 5000 220561 ns/op 148.57 MB/s
Search_BigFixed_CachedRE2/8 10000000 131 ns/op 60.69 MB/s
Search_BigFixed_CachedRE2/16 5000000 374 ns/op 42.75 MB/s
Search_BigFixed_CachedRE2/32 5000000 410 ns/op 77.99 MB/s
Search_BigFixed_CachedRE2/64 5000000 489 ns/op 130.84 MB/s
Search_BigFixed_CachedRE2/128 2000000 635 ns/op 201.43 MB/s
Search_BigFixed_CachedRE2/256 2000000 945 ns/op 270.66 MB/s
Search_BigFixed_CachedRE2/512 1000000 1552 ns/op 329.85 MB/s
Search_BigFixed_CachedRE2/1K 500000 2766 ns/op 370.19 MB/s
Search_BigFixed_CachedRE2/2K 200000 5191 ns/op 394.49 MB/s
Search_BigFixed_CachedRE2/4K 100000 10046 ns/op 407.71 MB/s
Search_BigFixed_CachedRE2/8K 100000 19752 ns/op 414.74 MB/s
Search_BigFixed_CachedRE2/16K 50000 39168 ns/op 418.30 MB/s
Search_BigFixed_CachedRE2/32K 20000 78114 ns/op 419.49 MB/s
Search_BigFixed_CachedRE2/64K 10000 155895 ns/op 420.38 MB/s
Search_BigFixed_CachedRE2/128K 5000 311573 ns/op 420.68 MB/s
Search_BigFixed_CachedRE2/256K 2000 624241 ns/op 419.94 MB/s
Search_BigFixed_CachedRE2/512K 1000 1253377 ns/op 418.30 MB/s
Search_BigFixed_CachedRE2/1M 500 2530874 ns/op 414.31 MB/s
Search_Success_PCRE/8 1000000 1836 ns/op 4.36 MB/s
Search_Success_PCRE/16 1000000 1880 ns/op 8.51 MB/s
Search_Success_PCRE/32 1000000 1970 ns/op 16.24 MB/s
Search_Success_PCRE/64 500000 2106 ns/op 30.38 MB/s
Search_Success_PCRE/128 500000 2447 ns/op 52.29 MB/s
Search_Success_PCRE/256 500000 3103 ns/op 82.48 MB/s
Search_Success_PCRE/512 500000 4428 ns/op 115.62 MB/s
Search_Success_PCRE/1K 200000 7053 ns/op 145.17 MB/s
Search_Success_PCRE/2K 100000 12308 ns/op 166.39 MB/s
Search_Success_PCRE/4K 50000 22793 ns/op 179.70 MB/s
Search_Success_PCRE/8K 50000 43847 ns/op 186.83 MB/s
Search_Success_PCRE/16K 20000 85952 ns/op 190.62 MB/s
Search_Success_PCRE/32K 10000 170305 ns/op 192.41 MB/s
Search_Success_PCRE/64K 5000 338862 ns/op 193.40 MB/s
Search_Success_PCRE/128K 2000 676940 ns/op 193.62 MB/s
Search_Success_PCRE/256K 1000 1355784 ns/op 193.35 MB/s
Search_Success_PCRE/512K 500 2725254 ns/op 192.38 MB/s
Search_Success_PCRE/1M 200 5542255 ns/op 189.20 MB/s
Search_Success_PCRE/2M 100 11433880 ns/op 183.42 MB/s
Search_Success_PCRE/4M 50 24217120 ns/op 173.20 MB/s
Search_Success_PCRE/8M 20 56016550 ns/op 149.75 MB/s
Search_Success_PCRE/16M 10 137107400 ns/op 122.37 MB/s
Search_Success_RE2/8 200000 8525 ns/op 0.94 MB/s
Search_Success_RE2/16 100000 19567 ns/op 0.82 MB/s
Search_Success_RE2/32 100000 19549 ns/op 1.64 MB/s
Search_Success_RE2/64 100000 19744 ns/op 3.24 MB/s
Search_Success_RE2/128 100000 19919 ns/op 6.43 MB/s
Search_Success_RE2/256 50000 20201 ns/op 12.67 MB/s
Search_Success_RE2/512 50000 20993 ns/op 24.39 MB/s
Search_Success_RE2/1K 50000 22581 ns/op 45.35 MB/s
Search_Success_RE2/2K 50000 25897 ns/op 79.08 MB/s
Search_Success_RE2/4K 50000 32389 ns/op 126.46 MB/s
Search_Success_RE2/8K 50000 45266 ns/op 180.97 MB/s
Search_Success_RE2/16K 20000 71222 ns/op 230.04 MB/s
Search_Success_RE2/32K 10000 123342 ns/op 265.67 MB/s
Search_Success_RE2/64K 5000 227134 ns/op 288.53 MB/s
Search_Success_RE2/128K 5000 434534 ns/op 301.64 MB/s
Search_Success_RE2/256K 2000 852033 ns/op 307.67 MB/s
Search_Success_RE2/512K 1000 1692057 ns/op 309.85 MB/s
Search_Success_RE2/1M 500 3396306 ns/op 308.74 MB/s
Search_Success_RE2/2M 200 6984505 ns/op 300.26 MB/s
Search_Success_RE2/4M 100 14632000 ns/op 286.65 MB/s
Search_Success_RE2/8M 50 31782800 ns/op 263.94 MB/s
Search_Success_RE2/16M 10 103645400 ns/op 161.87 MB/s
Search_Success_CachedPCRE/8 5000000 257 ns/op 31.04 MB/s
Search_Success_CachedPCRE/16 5000000 308 ns/op 51.88 MB/s
Search_Success_CachedPCRE/32 5000000 409 ns/op 78.14 MB/s
Search_Success_CachedPCRE/64 2000000 611 ns/op 104.66 MB/s
Search_Success_CachedPCRE/128 2000000 889 ns/op 143.85 MB/s
Search_Success_CachedPCRE/256 1000000 1546 ns/op 165.48 MB/s
Search_Success_CachedPCRE/512 500000 2861 ns/op 178.95 MB/s
Search_Success_CachedPCRE/1K 200000 5491 ns/op 186.46 MB/s
Search_Success_CachedPCRE/2K 100000 10746 ns/op 190.57 MB/s
Search_Success_CachedPCRE/4K 50000 21262 ns/op 192.64 MB/s
Search_Success_CachedPCRE/8K 50000 42295 ns/op 193.69 MB/s
Search_Success_CachedPCRE/16K 20000 84375 ns/op 194.18 MB/s
Search_Success_CachedPCRE/32K 10000 168635 ns/op 194.31 MB/s
Search_Success_CachedPCRE/64K 5000 337158 ns/op 194.38 MB/s
Search_Success_CachedPCRE/128K 2000 675199 ns/op 194.12 MB/s
Search_Success_CachedPCRE/256K 1000 1353970 ns/op 193.61 MB/s
Search_Success_CachedPCRE/512K 500 2723300 ns/op 192.52 MB/s
Search_Success_CachedPCRE/1M 200 5539695 ns/op 189.28 MB/s
Search_Success_CachedPCRE/2M 100 11424760 ns/op 183.56 MB/s
Search_Success_CachedPCRE/4M 50 24204760 ns/op 173.28 MB/s
Search_Success_CachedPCRE/8M 20 55998450 ns/op 149.80 MB/s
Search_Success_CachedPCRE/16M 10 137082500 ns/op 122.39 MB/s
Search_Success_CachedRE2/8 10000000 126 ns/op 63.05 MB/s
Search_Success_CachedRE2/16 5000000 373 ns/op 42.86 MB/s
Search_Success_CachedRE2/32 5000000 423 ns/op 75.51 MB/s
Search_Success_CachedRE2/64 2000000 523 ns/op 122.33 MB/s
Search_Success_CachedRE2/128 2000000 730 ns/op 175.15 MB/s
Search_Success_CachedRE2/256 1000000 1135 ns/op 225.51 MB/s
Search_Success_CachedRE2/512 1000000 1942 ns/op 263.51 MB/s
Search_Success_CachedRE2/1K 500000 3562 ns/op 287.44 MB/s
Search_Success_CachedRE2/2K 200000 6797 ns/op 301.31 MB/s
Search_Success_CachedRE2/4K 100000 13268 ns/op 308.70 MB/s
Search_Success_CachedRE2/8K 50000 26210 ns/op 312.55 MB/s
Search_Success_CachedRE2/16K 20000 52116 ns/op 314.37 MB/s
Search_Success_CachedRE2/32K 10000 104050 ns/op 314.92 MB/s
Search_Success_CachedRE2/64K 5000 207912 ns/op 315.21 MB/s
Search_Success_CachedRE2/128K 5000 415393 ns/op 315.54 MB/s
Search_Success_CachedRE2/256K 2000 832643 ns/op 314.83 MB/s
Search_Success_CachedRE2/512K 1000 1672561 ns/op 313.46 MB/s
Search_Success_CachedRE2/1M 500 3376196 ns/op 310.58 MB/s
Search_Success_CachedRE2/2M 200 6957190 ns/op 301.44 MB/s
Search_Success_CachedRE2/4M 100 14592130 ns/op 287.44 MB/s
Search_Success_CachedRE2/8M 50 31731860 ns/op 264.36 MB/s
Search_Success_CachedRE2/16M 10 103597500 ns/op 161.95 MB/s
Search_Success1_PCRE/8 500000 2053 ns/op 3.90 MB/s
Search_Success1_PCRE/16 500000 2061 ns/op 7.76 MB/s
Search_Success1_PCRE/32 500000 2169 ns/op 14.75 MB/s
Search_Success1_PCRE/64 500000 2310 ns/op 27.70 MB/s
Search_Success1_PCRE/128 500000 2640 ns/op 48.48 MB/s
Search_Success1_PCRE/256 500000 3292 ns/op 77.76 MB/s
Search_Success1_PCRE/512 500000 4593 ns/op 111.47 MB/s
Search_Success1_PCRE/1K 200000 7241 ns/op 141.40 MB/s
Search_Success1_PCRE/2K 100000 12489 ns/op 163.98 MB/s
Search_Success1_PCRE/4K 50000 22994 ns/op 178.13 MB/s
Search_Success1_PCRE/8K 50000 44014 ns/op 186.12 MB/s
Search_Success1_PCRE/16K 20000 86120 ns/op 190.24 MB/s
Search_Success1_PCRE/32K 10000 170489 ns/op 192.20 MB/s
Search_Success1_PCRE/64K 5000 339029 ns/op 193.30 MB/s
Search_Success1_PCRE/128K 2000 677115 ns/op 193.57 MB/s
Search_Success1_PCRE/256K 1000 1355861 ns/op 193.34 MB/s
Search_Success1_PCRE/512K 500 2725160 ns/op 192.39 MB/s
Search_Success1_PCRE/1M 200 5543665 ns/op 189.15 MB/s
Search_Success1_PCRE/2M 100 11434390 ns/op 183.41 MB/s
Search_Success1_PCRE/4M 50 24215940 ns/op 173.20 MB/s
Search_Success1_PCRE/8M 20 56027250 ns/op 149.72 MB/s
Search_Success1_PCRE/16M 10 137103200 ns/op 122.37 MB/s
Search_Success1_RE2/8 50000 26411 ns/op 0.30 MB/s
Search_Success1_RE2/16 50000 27068 ns/op 0.59 MB/s
Search_Success1_RE2/32 50000 27117 ns/op 1.18 MB/s
Search_Success1_RE2/64 50000 27405 ns/op 2.34 MB/s
Search_Success1_RE2/128 50000 27398 ns/op 4.67 MB/s
Search_Success1_RE2/256 50000 27580 ns/op 9.28 MB/s
Search_Success1_RE2/512 50000 28504 ns/op 17.96 MB/s
Search_Success1_RE2/1K 50000 29993 ns/op 34.14 MB/s
Search_Success1_RE2/2K 50000 33373 ns/op 61.37 MB/s
Search_Success1_RE2/4K 50000 39867 ns/op 102.74 MB/s
Search_Success1_RE2/8K 20000 52940 ns/op 154.74 MB/s
Search_Success1_RE2/16K 20000 78818 ns/op 207.87 MB/s
Search_Success1_RE2/32K 10000 130836 ns/op 250.45 MB/s
Search_Success1_RE2/64K 5000 234725 ns/op 279.20 MB/s
Search_Success1_RE2/128K 5000 442253 ns/op 296.37 MB/s
Search_Success1_RE2/256K 2000 859671 ns/op 304.94 MB/s
Search_Success1_RE2/512K 1000 1699921 ns/op 308.42 MB/s
Search_Success1_RE2/1M 500 3404204 ns/op 308.02 MB/s
Search_Success1_RE2/2M 200 6992400 ns/op 299.92 MB/s
Search_Success1_RE2/4M 100 14641200 ns/op 286.47 MB/s
Search_Success1_RE2/8M 50 31788680 ns/op 263.89 MB/s
Search_Success1_RE2/16M 10 103656000 ns/op 161.85 MB/s
Search_Success1_Cached_PCRE/8 5000000 305 ns/op 26.22 MB/s
Search_Success1_Cached_PCRE/16 5000000 355 ns/op 44.96 MB/s
Search_Success1_Cached_PCRE/32 5000000 456 ns/op 70.06 MB/s
Search_Success1_Cached_PCRE/64 2000000 658 ns/op 97.12 MB/s
Search_Success1_Cached_PCRE/128 2000000 936 ns/op 136.62 MB/s
Search_Success1_Cached_PCRE/256 1000000 1593 ns/op 160.62 MB/s
Search_Success1_Cached_PCRE/512 500000 2908 ns/op 176.05 MB/s
Search_Success1_Cached_PCRE/1K 200000 5537 ns/op 184.93 MB/s
Search_Success1_Cached_PCRE/2K 100000 10793 ns/op 189.74 MB/s
Search_Success1_Cached_PCRE/4K 50000 21311 ns/op 192.19 MB/s
Search_Success1_Cached_PCRE/8K 50000 42340 ns/op 193.48 MB/s
Search_Success1_Cached_PCRE/16K 20000 84417 ns/op 194.08 MB/s
Search_Success1_Cached_PCRE/32K 10000 168689 ns/op 194.25 MB/s
Search_Success1_Cached_PCRE/64K 5000 337219 ns/op 194.34 MB/s
Search_Success1_Cached_PCRE/128K 2000 675255 ns/op 194.11 MB/s
Search_Success1_Cached_PCRE/256K 1000 1354027 ns/op 193.60 MB/s
Search_Success1_Cached_PCRE/512K 500 2723352 ns/op 192.52 MB/s
Search_Success1_Cached_PCRE/1M 200 5539800 ns/op 189.28 MB/s
Search_Success1_Cached_PCRE/2M 100 11426990 ns/op 183.53 MB/s
Search_Success1_Cached_PCRE/4M 50 24206500 ns/op 173.27 MB/s
Search_Success1_Cached_PCRE/8M 20 56008200 ns/op 149.77 MB/s
Search_Success1_Cached_PCRE/16M 10 137084600 ns/op 122.39 MB/s
Search_Success1_Cached_RE2/8 5000000 347 ns/op 22.99 MB/s
Search_Success1_Cached_RE2/16 5000000 373 ns/op 42.83 MB/s
Search_Success1_Cached_RE2/32 5000000 421 ns/op 75.97 MB/s
Search_Success1_Cached_RE2/64 2000000 520 ns/op 122.97 MB/s
Search_Success1_Cached_RE2/128 2000000 729 ns/op 175.43 MB/s
Search_Success1_Cached_RE2/256 1000000 1133 ns/op 225.82 MB/s
Search_Success1_Cached_RE2/512 1000000 1945 ns/op 263.23 MB/s
Search_Success1_Cached_RE2/1K 500000 3559 ns/op 287.66 MB/s
Search_Success1_Cached_RE2/2K 200000 6795 ns/op 301.39 MB/s
Search_Success1_Cached_RE2/4K 100000 13266 ns/op 308.74 MB/s
Search_Success1_Cached_RE2/8K 50000 26210 ns/op 312.54 MB/s
Search_Success1_Cached_RE2/16K 20000 52116 ns/op 314.37 MB/s
Search_Success1_Cached_RE2/32K 10000 104042 ns/op 314.95 MB/s
Search_Success1_Cached_RE2/64K 5000 207904 ns/op 315.22 MB/s
Search_Success1_Cached_RE2/128K 5000 415336 ns/op 315.58 MB/s
Search_Success1_Cached_RE2/256K 2000 832674 ns/op 314.82 MB/s
Search_Success1_Cached_RE2/512K 1000 1672745 ns/op 313.43 MB/s
Search_Success1_Cached_RE2/1M 500 3376504 ns/op 310.55 MB/s
Search_Success1_Cached_RE2/2M 200 6957405 ns/op 301.43 MB/s
Search_Success1_Cached_RE2/4M 100 14592660 ns/op 287.43 MB/s
Search_Success1_Cached_RE2/8M 50 31728560 ns/op 264.39 MB/s
Search_Success1_Cached_RE2/16M 10 103598300 ns/op 161.94 MB/s
Search_Digits_PCRE 200000 5212 ns/op
Search_Digits_RE2 50000 21686 ns/op
Parse_Digits_PCRE 200000 5229 ns/op
Parse_Digits_RE2 200000 9825 ns/op
Parse_CachedDigits_PCRE 2000000 519 ns/op
Parse_CachedDigits_RE2 5000000 271 ns/op
Parse_DigitDs_PCRE 500000 4224 ns/op
Parse_DigitDs_RE2 200000 9706 ns/op
Parse_CachedDigitDs_PCRE 2000000 505 ns/op
Parse_CachedDigitDs_RE2 5000000 279 ns/op
Parse_Split_PCRE 500000 3533 ns/op
Parse_Split_RE2 100000 11256 ns/op
Parse_CachedSplit_PCRE 5000000 373 ns/op
Parse_CachedSplit_RE2 10000000 167 ns/op
Parse_SplitHard_PCRE 500000 3350 ns/op
Parse_SplitHard_RE2 100000 13959 ns/op
Parse_CachedSplitHard_PCRE 5000000 352 ns/op
Parse_CachedSplitHard_RE2 1000000 1780 ns/op
Parse_CachedSplitBig1_PCRE 500 4902314 ns/op
Parse_CachedSplitBig1_RE2 2000 674772 ns/op
Parse_CachedSplitBig2_PCRE 2000 513858 ns/op
Parse_CachedSplitBig2_RE2 20 52044800 ns/op
BM_PCRE_Compile 500000 3767 ns/op
BM_RE2_Compile 100000 10752 ns/op
SearchPhone_CachedPCRE/8 1000000 1231 ns/op 6.50 MB/s
SearchPhone_CachedPCRE/16 500000 2026 ns/op 7.89 MB/s
SearchPhone_CachedPCRE/32 500000 3623 ns/op 8.83 MB/s
SearchPhone_CachedPCRE/64 200000 6813 ns/op 9.39 MB/s
SearchPhone_CachedPCRE/128 100000 13330 ns/op 9.60 MB/s
SearchPhone_CachedPCRE/256 50000 25832 ns/op 9.91 MB/s
SearchPhone_CachedPCRE/512 20000 51132 ns/op 10.01 MB/s
SearchPhone_CachedPCRE/1K 10000 101950 ns/op 10.04 MB/s
SearchPhone_CachedPCRE/2K 10000 199960 ns/op 10.24 MB/s
SearchPhone_CachedPCRE/4K 5000 397105 ns/op 10.31 MB/s
SearchPhone_CachedPCRE/8K 2000 792685 ns/op 10.33 MB/s
SearchPhone_CachedPCRE/16K 1000 1576834 ns/op 10.39 MB/s
SearchPhone_CachedPCRE/32K 500 3152026 ns/op 10.40 MB/s
SearchPhone_CachedPCRE/64K 200 6293925 ns/op 10.41 MB/s
SearchPhone_CachedPCRE/128K 100 12613350 ns/op 10.39 MB/s
SearchPhone_CachedPCRE/256K 50 25253020 ns/op 10.38 MB/s
SearchPhone_CachedPCRE/512K 20 50462800 ns/op 10.39 MB/s
SearchPhone_CachedPCRE/1M 10 101412600 ns/op 10.34 MB/s
SearchPhone_CachedPCRE/2M 5 203302200 ns/op 10.32 MB/s
SearchPhone_CachedPCRE/4M 5 404935400 ns/op 10.36 MB/s
SearchPhone_CachedPCRE/8M 2 810444500 ns/op 10.35 MB/s
SearchPhone_CachedPCRE/16M 1 1615334000 ns/op 10.39 MB/s
SearchPhone_CachedRE2/8 2000000 897 ns/op 8.91 MB/s
SearchPhone_CachedRE2/16 2000000 928 ns/op 17.24 MB/s
SearchPhone_CachedRE2/32 2000000 968 ns/op 33.04 MB/s
SearchPhone_CachedRE2/64 1000000 1069 ns/op 59.84 MB/s
SearchPhone_CachedRE2/128 1000000 1286 ns/op 99.52 MB/s
SearchPhone_CachedRE2/256 1000000 1691 ns/op 151.31 MB/s
SearchPhone_CachedRE2/512 500000 2496 ns/op 205.07 MB/s
SearchPhone_CachedRE2/1K 500000 4107 ns/op 249.27 MB/s
SearchPhone_CachedRE2/2K 200000 7347 ns/op 278.74 MB/s
SearchPhone_CachedRE2/4K 100000 13824 ns/op 296.29 MB/s
SearchPhone_CachedRE2/8K 50000 26758 ns/op 306.15 MB/s
SearchPhone_CachedRE2/16K 20000 52773 ns/op 310.46 MB/s
SearchPhone_CachedRE2/32K 10000 104775 ns/op 312.75 MB/s
SearchPhone_CachedRE2/64K 5000 208321 ns/op 314.59 MB/s
SearchPhone_CachedRE2/128K 5000 415436 ns/op 315.50 MB/s
SearchPhone_CachedRE2/256K 2000 829659 ns/op 315.97 MB/s
SearchPhone_CachedRE2/512K 1000 1658073 ns/op 316.20 MB/s
SearchPhone_CachedRE2/1M 500 3315418 ns/op 316.27 MB/s
SearchPhone_CachedRE2/2M 200 6645570 ns/op 315.57 MB/s
SearchPhone_CachedRE2/4M 100 13341780 ns/op 314.37 MB/s
SearchPhone_CachedRE2/8M 50 26722980 ns/op 313.91 MB/s
SearchPhone_CachedRE2/16M 20 53451450 ns/op 313.88 MB/s
EmptyPartialMatchPCRE 10000000 139 ns/op
EmptyPartialMatchRE2 5000000 314 ns/op
SimplePartialMatchPCRE 10000000 195 ns/op
SimplePartialMatchRE2 5000000 352 ns/op
HTTPPartialMatchPCRE 2000000 577 ns/op
HTTPPartialMatchRE2 2000000 624 ns/op
SmallHTTPPartialMatchPCRE 2000000 577 ns/op
SmallHTTPPartialMatchRE2 2000000 622 ns/op
DotMatchPCRE 5000000 455 ns/op
DotMatchRE2 2000000 671 ns/op
ASCIIMatchPCRE 5000000 400 ns/op
ASCIIMatchRE2 2000000 676 ns/op
==BENCHMARK== c2 Fri Feb 26 14:16:33 PST 2010
# Linux c2 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux
# g++ (Ubuntu 4.4.1-4ubuntu8) 4.4.1
# Copyright (C) 2009 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# c268b421d457+ tip
Search_Easy0_CachedPCRE/8 10000000 132 ns/op 60.47 MB/s
Search_Easy0_CachedPCRE/16 10000000 160 ns/op 99.62 MB/s
Search_Easy0_CachedPCRE/32 5000000 217 ns/op 147.10 MB/s
Search_Easy0_CachedPCRE/64 5000000 331 ns/op 193.17 MB/s
Search_Easy0_CachedPCRE/128 5000000 431 ns/op 296.60 MB/s
Search_Easy0_CachedPCRE/256 1000000 1081 ns/op 236.78 MB/s
Search_Easy0_CachedPCRE/512 1000000 1741 ns/op 294.06 MB/s
Search_Easy0_CachedPCRE/1K 500000 3393 ns/op 301.76 MB/s
Search_Easy0_CachedPCRE/2K 200000 5681 ns/op 360.45 MB/s
Search_Easy0_CachedPCRE/4K 100000 10623 ns/op 385.57 MB/s
Search_Easy0_CachedPCRE/8K 50000 21776 ns/op 376.18 MB/s
Search_Easy0_CachedPCRE/16K 50000 42162 ns/op 388.59 MB/s
Search_Easy0_CachedPCRE/32K 20000 85140 ns/op 384.87 MB/s
Search_Easy0_CachedPCRE/64K 10000 169773 ns/op 386.02 MB/s
Search_Easy0_CachedPCRE/128K 5000 340985 ns/op 384.39 MB/s
Search_Easy0_CachedPCRE/256K 2000 680440 ns/op 385.26 MB/s
Search_Easy0_CachedPCRE/512K 1000 1362919 ns/op 384.68 MB/s
Search_Easy0_CachedPCRE/1M 500 2726382 ns/op 384.60 MB/s
Search_Easy0_CachedPCRE/2M 200 5456280 ns/op 384.36 MB/s
Search_Easy0_CachedPCRE/4M 100 11055420 ns/op 379.39 MB/s
Search_Easy0_CachedPCRE/8M 50 22173320 ns/op 378.32 MB/s
Search_Easy0_CachedPCRE/16M 50 44321260 ns/op 378.54 MB/s
Search_Easy0_CachedRE2/8 5000000 314 ns/op 25.47 MB/s
Search_Easy0_CachedRE2/16 5000000 315 ns/op 50.72 MB/s
Search_Easy0_CachedRE2/32 5000000 331 ns/op 96.44 MB/s
Search_Easy0_CachedRE2/64 5000000 332 ns/op 192.59 MB/s
Search_Easy0_CachedRE2/128 5000000 363 ns/op 352.00 MB/s
Search_Easy0_CachedRE2/256 5000000 389 ns/op 658.00 MB/s
Search_Easy0_CachedRE2/512 5000000 469 ns/op 1089.76 MB/s
Search_Easy0_CachedRE2/1K 2000000 652 ns/op 1569.80 MB/s
Search_Easy0_CachedRE2/2K 1000000 1013 ns/op 2020.66 MB/s
Search_Easy0_CachedRE2/4K 1000000 1571 ns/op 2606.84 MB/s
Search_Easy0_CachedRE2/8K 500000 2911 ns/op 2814.06 MB/s
Search_Easy0_CachedRE2/16K 200000 5405 ns/op 3030.77 MB/s
Search_Easy0_CachedRE2/32K 100000 10989 ns/op 2981.79 MB/s
Search_Easy0_CachedRE2/64K 50000 21839 ns/op 3000.77 MB/s
Search_Easy0_CachedRE2/128K 50000 44376 ns/op 2953.66 MB/s
Search_Easy0_CachedRE2/256K 20000 88364 ns/op 2966.64 MB/s
Search_Easy0_CachedRE2/512K 10000 177685 ns/op 2950.64 MB/s
Search_Easy0_CachedRE2/1M 5000 356602 ns/op 2940.46 MB/s
Search_Easy0_CachedRE2/2M 2000 715631 ns/op 2930.49 MB/s
Search_Easy0_CachedRE2/4M 1000 1529594 ns/op 2742.10 MB/s
Search_Easy0_CachedRE2/8M 500 3089266 ns/op 2715.40 MB/s
Search_Easy0_CachedRE2/16M 200 6153925 ns/op 2726.26 MB/s
Search_Easy1_CachedPCRE/8 10000000 132 ns/op 60.48 MB/s
Search_Easy1_CachedPCRE/16 10000000 160 ns/op 99.52 MB/s
Search_Easy1_CachedPCRE/32 5000000 217 ns/op 147.11 MB/s
Search_Easy1_CachedPCRE/64 5000000 331 ns/op 193.20 MB/s
Search_Easy1_CachedPCRE/128 2000000 648 ns/op 197.44 MB/s
Search_Easy1_CachedPCRE/256 2000000 935 ns/op 273.76 MB/s
Search_Easy1_CachedPCRE/512 1000000 1966 ns/op 260.32 MB/s
Search_Easy1_CachedPCRE/1K 500000 3418 ns/op 299.53 MB/s
Search_Easy1_CachedPCRE/2K 200000 6237 ns/op 328.33 MB/s
Search_Easy1_CachedPCRE/4K 100000 11125 ns/op 368.18 MB/s
Search_Easy1_CachedPCRE/8K 50000 22022 ns/op 371.98 MB/s
Search_Easy1_CachedPCRE/16K 50000 42402 ns/op 386.39 MB/s
Search_Easy1_CachedPCRE/32K 20000 85237 ns/op 384.43 MB/s
Search_Easy1_CachedPCRE/64K 10000 170201 ns/op 385.05 MB/s
Search_Easy1_CachedPCRE/128K 5000 342009 ns/op 383.24 MB/s
Search_Easy1_CachedPCRE/256K 2000 682201 ns/op 384.26 MB/s
Search_Easy1_CachedPCRE/512K 1000 1366471 ns/op 383.68 MB/s
Search_Easy1_CachedPCRE/1M 500 2735128 ns/op 383.37 MB/s
Search_Easy1_CachedPCRE/2M 200 5471205 ns/op 383.31 MB/s
Search_Easy1_CachedPCRE/4M 100 11093340 ns/op 378.09 MB/s
Search_Easy1_CachedPCRE/8M 50 22240420 ns/op 377.18 MB/s
Search_Easy1_CachedPCRE/16M 50 44464400 ns/op 377.32 MB/s
Search_Easy1_CachedRE2/8 5000000 316 ns/op 25.27 MB/s
Search_Easy1_CachedRE2/16 5000000 317 ns/op 50.44 MB/s
Search_Easy1_CachedRE2/32 5000000 330 ns/op 96.79 MB/s
Search_Easy1_CachedRE2/64 5000000 334 ns/op 191.06 MB/s
Search_Easy1_CachedRE2/128 5000000 365 ns/op 350.44 MB/s
Search_Easy1_CachedRE2/256 5000000 400 ns/op 639.30 MB/s
Search_Easy1_CachedRE2/512 5000000 472 ns/op 1083.02 MB/s
Search_Easy1_CachedRE2/1K 2000000 652 ns/op 1570.19 MB/s
Search_Easy1_CachedRE2/2K 1000000 1002 ns/op 2043.19 MB/s
Search_Easy1_CachedRE2/4K 1000000 1576 ns/op 2598.26 MB/s
Search_Easy1_CachedRE2/8K 500000 2924 ns/op 2801.57 MB/s
Search_Easy1_CachedRE2/16K 200000 5449 ns/op 3006.54 MB/s
Search_Easy1_CachedRE2/32K 100000 10985 ns/op 2982.90 MB/s
Search_Easy1_CachedRE2/64K 50000 21837 ns/op 3001.13 MB/s
Search_Easy1_CachedRE2/128K 50000 44336 ns/op 2956.31 MB/s
Search_Easy1_CachedRE2/256K 20000 88350 ns/op 2967.08 MB/s
Search_Easy1_CachedRE2/512K 10000 177698 ns/op 2950.43 MB/s
Search_Easy1_CachedRE2/1M 5000 356645 ns/op 2940.11 MB/s
Search_Easy1_CachedRE2/2M 2000 715710 ns/op 2930.17 MB/s
Search_Easy1_CachedRE2/4M 1000 1529932 ns/op 2741.50 MB/s
Search_Easy1_CachedRE2/8M 500 3087586 ns/op 2716.88 MB/s
Search_Easy1_CachedRE2/16M 200 6155690 ns/op 2725.48 MB/s
Search_Medium_CachedPCRE/8 10000000 133 ns/op 59.81 MB/s
Search_Medium_CachedPCRE/16 10000000 162 ns/op 98.58 MB/s
Search_Medium_CachedPCRE/32 5000000 219 ns/op 145.96 MB/s
Search_Medium_CachedPCRE/64 5000000 340 ns/op 188.00 MB/s
Search_Medium_CachedPCRE/128 5000000 434 ns/op 294.67 MB/s
Search_Medium_CachedPCRE/256 200000 9076 ns/op 28.20 MB/s
Search_Medium_CachedPCRE/512 50000 21579 ns/op 23.73 MB/s
Search_Medium_CachedPCRE/1K 50000 42391 ns/op 24.16 MB/s
Search_Medium_CachedPCRE/2K 20000 62367 ns/op 32.84 MB/s
Search_Medium_CachedPCRE/4K 10000 153667 ns/op 26.66 MB/s
Search_Medium_CachedPCRE/8K 5000 332606 ns/op 24.63 MB/s
Search_Medium_CachedPCRE/16K 2000 677805 ns/op 24.17 MB/s
Search_Medium_CachedPCRE/32K 1000 1355730 ns/op 24.17 MB/s
Search_Medium_CachedPCRE/64K 500 2707474 ns/op 24.21 MB/s
Search_Medium_CachedPCRE/128K 200 5409525 ns/op 24.23 MB/s
Search_Medium_CachedPCRE/256K 100 10821290 ns/op 24.22 MB/s
Search_Medium_CachedRE2/8 5000000 335 ns/op 23.87 MB/s
Search_Medium_CachedRE2/16 5000000 362 ns/op 44.16 MB/s
Search_Medium_CachedRE2/32 5000000 408 ns/op 78.36 MB/s
Search_Medium_CachedRE2/64 2000000 510 ns/op 125.32 MB/s
Search_Medium_CachedRE2/128 2000000 723 ns/op 176.99 MB/s
Search_Medium_CachedRE2/256 1000000 1125 ns/op 227.47 MB/s
Search_Medium_CachedRE2/512 1000000 1935 ns/op 264.50 MB/s
Search_Medium_CachedRE2/1K 500000 3553 ns/op 288.20 MB/s
Search_Medium_CachedRE2/2K 200000 6794 ns/op 301.41 MB/s
Search_Medium_CachedRE2/4K 100000 13257 ns/op 308.96 MB/s
Search_Medium_CachedRE2/8K 50000 26198 ns/op 312.69 MB/s
Search_Medium_CachedRE2/16K 20000 52087 ns/op 314.55 MB/s
Search_Medium_CachedRE2/32K 10000 103942 ns/op 315.25 MB/s
Search_Medium_CachedRE2/64K 5000 207481 ns/op 315.86 MB/s
Search_Medium_CachedRE2/128K 5000 414561 ns/op 316.17 MB/s
Search_Medium_CachedRE2/256K 2000 828789 ns/op 316.30 MB/s
Search_Medium_CachedRE2/512K 1000 1657133 ns/op 316.38 MB/s
Search_Medium_CachedRE2/1M 500 3314164 ns/op 316.39 MB/s
Search_Medium_CachedRE2/2M 200 6632795 ns/op 316.18 MB/s
Search_Medium_CachedRE2/4M 100 13340680 ns/op 314.40 MB/s
Search_Medium_CachedRE2/8M 50 26721100 ns/op 313.93 MB/s
Search_Medium_CachedRE2/16M 20 53443050 ns/op 313.93 MB/s
Search_Hard_CachedPCRE/8 10000000 133 ns/op 59.77 MB/s
Search_Hard_CachedPCRE/16 10000000 162 ns/op 98.62 MB/s
Search_Hard_CachedPCRE/32 5000000 219 ns/op 145.97 MB/s
Search_Hard_CachedPCRE/64 5000000 340 ns/op 188.06 MB/s
Search_Hard_CachedPCRE/128 5000000 434 ns/op 294.69 MB/s
Search_Hard_CachedPCRE/256 2000 573267 ns/op 0.45 MB/s
Search_Hard_CachedPCRE/512 500 2347118 ns/op 0.22 MB/s
Search_Hard_CachedPCRE/1K 200 9316730 ns/op 0.11 MB/s
Search_Hard_CachedPCRE/2K 50 34064460 ns/op 0.06 MB/s
Search_Hard_CachedPCRE/4K 10 146725200 ns/op 0.03 MB/s
Search_Hard_CachedRE2/8 5000000 335 ns/op 23.87 MB/s
Search_Hard_CachedRE2/16 5000000 363 ns/op 44.03 MB/s
Search_Hard_CachedRE2/32 5000000 411 ns/op 77.80 MB/s
Search_Hard_CachedRE2/64 2000000 510 ns/op 125.28 MB/s
Search_Hard_CachedRE2/128 2000000 720 ns/op 177.74 MB/s
Search_Hard_CachedRE2/256 1000000 1125 ns/op 227.38 MB/s
Search_Hard_CachedRE2/512 1000000 1936 ns/op 264.45 MB/s
Search_Hard_CachedRE2/1K 500000 3552 ns/op 288.25 MB/s
Search_Hard_CachedRE2/2K 200000 6794 ns/op 301.41 MB/s
Search_Hard_CachedRE2/4K 100000 13257 ns/op 308.96 MB/s
Search_Hard_CachedRE2/8K 50000 26201 ns/op 312.66 MB/s
Search_Hard_CachedRE2/16K 20000 52089 ns/op 314.53 MB/s
Search_Hard_CachedRE2/32K 10000 103959 ns/op 315.20 MB/s
Search_Hard_CachedRE2/64K 5000 207483 ns/op 315.86 MB/s
Search_Hard_CachedRE2/128K 5000 414583 ns/op 316.15 MB/s
Search_Hard_CachedRE2/256K 2000 828720 ns/op 316.32 MB/s
Search_Hard_CachedRE2/512K 1000 1657121 ns/op 316.38 MB/s
Search_Hard_CachedRE2/1M 500 3314102 ns/op 316.40 MB/s
Search_Hard_CachedRE2/2M 200 6632065 ns/op 316.21 MB/s
Search_Hard_CachedRE2/4M 100 13339990 ns/op 314.42 MB/s
Search_Hard_CachedRE2/8M 50 26721960 ns/op 313.92 MB/s
Search_Hard_CachedRE2/16M 20 53440900 ns/op 313.94 MB/s
Search_Parens_CachedPCRE/8 10000000 197 ns/op 40.42 MB/s
Search_Parens_CachedRE2/8 5000000 334 ns/op 23.90 MB/s
Search_Parens_CachedRE2/16 5000000 359 ns/op 44.46 MB/s
Search_Parens_CachedRE2/32 5000000 413 ns/op 77.42 MB/s
Search_Parens_CachedRE2/64 2000000 511 ns/op 125.07 MB/s
Search_Parens_CachedRE2/128 2000000 722 ns/op 177.10 MB/s
Search_Parens_CachedRE2/256 1000000 1128 ns/op 226.81 MB/s
Search_Parens_CachedRE2/512 1000000 1935 ns/op 264.47 MB/s
Search_Parens_CachedRE2/1K 500000 3561 ns/op 287.49 MB/s
Search_Parens_CachedRE2/2K 200000 6787 ns/op 301.72 MB/s
Search_Parens_CachedRE2/4K 100000 13262 ns/op 308.84 MB/s
Search_Parens_CachedRE2/8K 50000 26204 ns/op 312.61 MB/s
Search_Parens_CachedRE2/16K 20000 52095 ns/op 314.50 MB/s
Search_Parens_CachedRE2/32K 10000 103945 ns/op 315.24 MB/s
Search_Parens_CachedRE2/64K 5000 207517 ns/op 315.81 MB/s
Search_Parens_CachedRE2/128K 5000 414628 ns/op 316.12 MB/s
Search_Parens_CachedRE2/256K 2000 828799 ns/op 316.29 MB/s
Search_Parens_CachedRE2/512K 1000 1657224 ns/op 316.37 MB/s
Search_Parens_CachedRE2/1M 500 3314264 ns/op 316.38 MB/s
Search_Parens_CachedRE2/2M 200 6633485 ns/op 316.15 MB/s
Search_Parens_CachedRE2/4M 100 13340780 ns/op 314.40 MB/s
Search_Parens_CachedRE2/8M 50 26719280 ns/op 313.95 MB/s
Search_Parens_CachedRE2/16M 20 53447850 ns/op 313.90 MB/s
Search_BigFixed_CachedPCRE/8 5000000 242 ns/op 32.93 MB/s
Search_BigFixed_CachedPCRE/16 5000000 301 ns/op 53.06 MB/s
Search_BigFixed_CachedPCRE/32 5000000 418 ns/op 76.48 MB/s
Search_BigFixed_CachedPCRE/64 2000000 652 ns/op 98.09 MB/s
Search_BigFixed_CachedPCRE/128 2000000 985 ns/op 129.90 MB/s
Search_BigFixed_CachedPCRE/256 1000000 1775 ns/op 144.21 MB/s
Search_BigFixed_CachedPCRE/512 500000 3342 ns/op 153.19 MB/s
Search_BigFixed_CachedPCRE/1K 200000 6476 ns/op 158.12 MB/s
Search_BigFixed_CachedPCRE/2K 100000 12745 ns/op 160.68 MB/s
Search_BigFixed_CachedPCRE/4K 50000 25284 ns/op 162.00 MB/s
Search_BigFixed_CachedPCRE/8K 20000 50366 ns/op 162.65 MB/s
Search_BigFixed_CachedPCRE/16K 10000 100603 ns/op 162.86 MB/s
Search_BigFixed_CachedPCRE/32K 5000 201124 ns/op 162.92 MB/s
Search_BigFixed_CachedRE2/8 10000000 130 ns/op 61.36 MB/s
Search_BigFixed_CachedRE2/16 5000000 375 ns/op 42.64 MB/s
Search_BigFixed_CachedRE2/32 5000000 407 ns/op 78.61 MB/s
Search_BigFixed_CachedRE2/64 5000000 486 ns/op 131.63 MB/s
Search_BigFixed_CachedRE2/128 2000000 630 ns/op 203.08 MB/s
Search_BigFixed_CachedRE2/256 2000000 945 ns/op 270.64 MB/s
Search_BigFixed_CachedRE2/512 1000000 1547 ns/op 330.90 MB/s
Search_BigFixed_CachedRE2/1K 500000 2765 ns/op 370.29 MB/s
Search_BigFixed_CachedRE2/2K 200000 5187 ns/op 394.77 MB/s
Search_BigFixed_CachedRE2/4K 100000 10045 ns/op 407.74 MB/s
Search_BigFixed_CachedRE2/8K 100000 19754 ns/op 414.68 MB/s
Search_BigFixed_CachedRE2/16K 50000 39160 ns/op 418.39 MB/s
Search_BigFixed_CachedRE2/32K 20000 78097 ns/op 419.58 MB/s
Search_BigFixed_CachedRE2/64K 10000 155858 ns/op 420.48 MB/s
Search_BigFixed_CachedRE2/128K 5000 311449 ns/op 420.85 MB/s
Search_BigFixed_CachedRE2/256K 2000 623620 ns/op 420.36 MB/s
Search_BigFixed_CachedRE2/512K 1000 1250862 ns/op 419.14 MB/s
Search_BigFixed_CachedRE2/1M 500 2517654 ns/op 416.49 MB/s
Search_Success_PCRE/8 1000000 1812 ns/op 4.41 MB/s
Search_Success_PCRE/16 1000000 1852 ns/op 8.64 MB/s
Search_Success_PCRE/32 1000000 1935 ns/op 16.53 MB/s
Search_Success_PCRE/64 500000 2130 ns/op 30.04 MB/s
Search_Success_PCRE/128 500000 2480 ns/op 51.61 MB/s
Search_Success_PCRE/256 500000 3190 ns/op 80.25 MB/s
Search_Success_PCRE/512 500000 4611 ns/op 111.02 MB/s
Search_Success_PCRE/1K 200000 7430 ns/op 137.80 MB/s
Search_Success_PCRE/2K 100000 13072 ns/op 156.66 MB/s
Search_Success_PCRE/4K 50000 24385 ns/op 167.97 MB/s
Search_Success_PCRE/8K 50000 47046 ns/op 174.13 MB/s
Search_Success_PCRE/16K 20000 92417 ns/op 177.28 MB/s
Search_Success_PCRE/32K 10000 183262 ns/op 178.80 MB/s
Search_Success_PCRE/64K 5000 364683 ns/op 179.71 MB/s
Search_Success_PCRE/128K 2000 728298 ns/op 179.97 MB/s
Search_Success_PCRE/256K 1000 1457823 ns/op 179.82 MB/s
Search_Success_PCRE/512K 500 2926208 ns/op 179.17 MB/s
Search_Success_PCRE/1M 200 5926520 ns/op 176.93 MB/s
Search_Success_PCRE/2M 100 12118480 ns/op 173.05 MB/s
Search_Success_PCRE/4M 50 25402020 ns/op 165.12 MB/s
Search_Success_PCRE/8M 20 56959600 ns/op 147.27 MB/s
Search_Success_PCRE/16M 10 134219200 ns/op 125.00 MB/s
Search_Success_RE2/8 200000 8371 ns/op 0.96 MB/s
Search_Success_RE2/16 100000 19886 ns/op 0.80 MB/s
Search_Success_RE2/32 100000 19774 ns/op 1.62 MB/s
Search_Success_RE2/64 50000 20190 ns/op 3.17 MB/s
Search_Success_RE2/128 50000 20169 ns/op 6.35 MB/s
Search_Success_RE2/256 50000 20632 ns/op 12.41 MB/s
Search_Success_RE2/512 50000 21598 ns/op 23.71 MB/s
Search_Success_RE2/1K 50000 23051 ns/op 44.42 MB/s
Search_Success_RE2/2K 50000 26258 ns/op 77.99 MB/s
Search_Success_RE2/4K 50000 32804 ns/op 124.86 MB/s
Search_Success_RE2/8K 50000 45835 ns/op 178.73 MB/s
Search_Success_RE2/16K 20000 71685 ns/op 228.55 MB/s
Search_Success_RE2/32K 10000 123817 ns/op 264.65 MB/s
Search_Success_RE2/64K 5000 227706 ns/op 287.81 MB/s
Search_Success_RE2/128K 5000 435094 ns/op 301.25 MB/s
Search_Success_RE2/256K 2000 851813 ns/op 307.75 MB/s
Search_Success_RE2/512K 1000 1689866 ns/op 310.25 MB/s
Search_Success_RE2/1M 500 3385158 ns/op 309.76 MB/s
Search_Success_RE2/2M 200 6914280 ns/op 303.31 MB/s
Search_Success_RE2/4M 100 14404490 ns/op 291.18 MB/s
Search_Success_RE2/8M 50 30838520 ns/op 272.02 MB/s
Search_Success_RE2/16M 10 7977066800 ns/op 2.10 MB/s
Search_Success_CachedPCRE/8 5000000 247 ns/op 32.27 MB/s
Search_Success_CachedPCRE/16 5000000 289 ns/op 55.29 MB/s
Search_Success_CachedPCRE/32 5000000 396 ns/op 80.68 MB/s
Search_Success_CachedPCRE/64 2000000 611 ns/op 104.66 MB/s
Search_Success_CachedPCRE/128 2000000 1760 ns/op 72.71 MB/s
==BENCHMARK== c2 Fri Feb 26 14:31:16 PST 2010
# Linux c2 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux
# g++ (Ubuntu 4.4.1-4ubuntu8) 4.4.1
# Copyright (C) 2009 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# c268b421d457+ tip
Search_Easy0_CachedPCRE/8 10000000 131 ns/op 61.07 MB/s
Search_Easy0_CachedPCRE/16 10000000 159 ns/op 100.32 MB/s
Search_Easy0_CachedPCRE/32 5000000 216 ns/op 147.77 MB/s
Search_Easy0_CachedPCRE/64 5000000 330 ns/op 193.83 MB/s
Search_Easy0_CachedPCRE/128 5000000 430 ns/op 297.34 MB/s
Search_Easy0_CachedPCRE/256 1000000 1080 ns/op 236.97 MB/s
Search_Easy0_CachedPCRE/512 1000000 1739 ns/op 294.27 MB/s
Search_Easy0_CachedPCRE/1K 500000 3389 ns/op 302.07 MB/s
Search_Easy0_CachedPCRE/2K 200000 5681 ns/op 360.45 MB/s
Search_Easy0_CachedPCRE/4K 100000 10629 ns/op 385.34 MB/s
Search_Easy0_CachedPCRE/8K 50000 21776 ns/op 376.18 MB/s
Search_Easy0_CachedPCRE/16K 50000 42192 ns/op 388.32 MB/s
Search_Easy0_CachedPCRE/32K 20000 85172 ns/op 384.73 MB/s
Search_Easy0_CachedPCRE/64K 10000 169816 ns/op 385.92 MB/s
Search_Easy0_CachedPCRE/128K 5000 341102 ns/op 384.26 MB/s
Search_Easy0_CachedPCRE/256K 2000 680651 ns/op 385.14 MB/s
Search_Easy0_CachedPCRE/512K 1000 1362954 ns/op 384.67 MB/s
Search_Easy0_CachedPCRE/1M 500 2726140 ns/op 384.64 MB/s
Search_Easy0_CachedPCRE/2M 200 5463185 ns/op 383.87 MB/s
Search_Easy0_CachedPCRE/4M 100 11055500 ns/op 379.39 MB/s
Search_Easy0_CachedPCRE/8M 50 22168840 ns/op 378.40 MB/s
Search_Easy0_CachedPCRE/16M 50 44330340 ns/op 378.46 MB/s
Search_Easy0_CachedRE2/8 5000000 318 ns/op 25.09 MB/s
Search_Easy0_CachedRE2/16 5000000 317 ns/op 50.33 MB/s
Search_Easy0_CachedRE2/32 5000000 341 ns/op 93.71 MB/s
Search_Easy0_CachedRE2/64 5000000 350 ns/op 182.71 MB/s
Search_Easy0_CachedRE2/128 5000000 383 ns/op 333.80 MB/s
Search_Easy0_CachedRE2/256 5000000 401 ns/op 636.89 MB/s
Search_Easy0_CachedRE2/512 5000000 483 ns/op 1058.27 MB/s
Search_Easy0_CachedRE2/1K 2000000 672 ns/op 1523.32 MB/s
Search_Easy0_CachedRE2/2K 1000000 1023 ns/op 2000.24 MB/s
Search_Easy0_CachedRE2/4K 1000000 1597 ns/op 2564.44 MB/s
Search_Easy0_CachedRE2/8K 500000 2918 ns/op 2807.09 MB/s
Search_Easy0_CachedRE2/16K 200000 5429 ns/op 3017.39 MB/s
Search_Easy0_CachedRE2/32K 100000 11045 ns/op 2966.75 MB/s
Search_Easy0_CachedRE2/64K 50000 21873 ns/op 2996.08 MB/s
Search_Easy0_CachedRE2/128K 50000 44398 ns/op 2952.16 MB/s
Search_Easy0_CachedRE2/256K 20000 88429 ns/op 2964.44 MB/s
Search_Easy0_CachedRE2/512K 10000 177688 ns/op 2950.60 MB/s
Search_Easy0_CachedRE2/1M 5000 356798 ns/op 2938.84 MB/s
Search_Easy0_CachedRE2/2M 2000 721040 ns/op 2908.51 MB/s
Search_Easy0_CachedRE2/4M 1000 1526733 ns/op 2747.24 MB/s
Search_Easy0_CachedRE2/8M 500 3085732 ns/op 2718.51 MB/s
Search_Easy0_CachedRE2/16M 200 6155395 ns/op 2725.61 MB/s
Search_Easy1_CachedPCRE/8 10000000 131 ns/op 60.93 MB/s
Search_Easy1_CachedPCRE/16 10000000 159 ns/op 100.31 MB/s
Search_Easy1_CachedPCRE/32 5000000 216 ns/op 147.91 MB/s
Search_Easy1_CachedPCRE/64 5000000 330 ns/op 193.81 MB/s
Search_Easy1_CachedPCRE/128 2000000 647 ns/op 197.81 MB/s
Search_Easy1_CachedPCRE/256 2000000 933 ns/op 274.18 MB/s
Search_Easy1_CachedPCRE/512 1000000 1969 ns/op 260.02 MB/s
Search_Easy1_CachedPCRE/1K 500000 3440 ns/op 297.67 MB/s
Search_Easy1_CachedPCRE/2K 200000 6230 ns/op 328.73 MB/s
Search_Easy1_CachedPCRE/4K 100000 11116 ns/op 368.45 MB/s
Search_Easy1_CachedPCRE/8K 50000 22010 ns/op 372.19 MB/s
Search_Easy1_CachedPCRE/16K 50000 42395 ns/op 386.45 MB/s
Search_Easy1_CachedPCRE/32K 20000 85210 ns/op 384.55 MB/s
Search_Easy1_CachedPCRE/64K 10000 170224 ns/op 385.00 MB/s
Search_Easy1_CachedPCRE/128K 5000 342017 ns/op 383.23 MB/s
Search_Easy1_CachedPCRE/256K 2000 682168 ns/op 384.28 MB/s
Search_Easy1_CachedPCRE/512K 1000 1366582 ns/op 383.65 MB/s
Search_Easy1_CachedPCRE/1M 500 2735192 ns/op 383.36 MB/s
Search_Easy1_CachedPCRE/2M 200 5480130 ns/op 382.68 MB/s
Search_Easy1_CachedPCRE/4M 100 11087200 ns/op 378.30 MB/s
Search_Easy1_CachedPCRE/8M 50 22238640 ns/op 377.21 MB/s
Search_Easy1_CachedPCRE/16M 50 44462340 ns/op 377.34 MB/s
Search_Easy1_CachedRE2/8 5000000 318 ns/op 25.09 MB/s
Search_Easy1_CachedRE2/16 5000000 317 ns/op 50.36 MB/s
Search_Easy1_CachedRE2/32 5000000 345 ns/op 92.55 MB/s
Search_Easy1_CachedRE2/64 5000000 350 ns/op 182.79 MB/s
Search_Easy1_CachedRE2/128 5000000 385 ns/op 331.75 MB/s
Search_Easy1_CachedRE2/256 5000000 408 ns/op 626.83 MB/s
Search_Easy1_CachedRE2/512 5000000 484 ns/op 1056.72 MB/s
Search_Easy1_CachedRE2/1K 2000000 676 ns/op 1513.66 MB/s
Search_Easy1_CachedRE2/2K 1000000 1020 ns/op 2007.55 MB/s
Search_Easy1_CachedRE2/4K 1000000 1596 ns/op 2564.98 MB/s
Search_Easy1_CachedRE2/8K 500000 2918 ns/op 2806.79 MB/s
Search_Easy1_CachedRE2/16K 200000 5447 ns/op 3007.74 MB/s
Search_Easy1_CachedRE2/32K 100000 11037 ns/op 2968.84 MB/s
Search_Easy1_CachedRE2/64K 50000 21863 ns/op 2997.48 MB/s
Search_Easy1_CachedRE2/128K 50000 44394 ns/op 2952.41 MB/s
Search_Easy1_CachedRE2/256K 20000 88430 ns/op 2964.42 MB/s
Search_Easy1_CachedRE2/512K 10000 177661 ns/op 2951.06 MB/s
Search_Easy1_CachedRE2/1M 5000 356783 ns/op 2938.97 MB/s
Search_Easy1_CachedRE2/2M 2000 721013 ns/op 2908.62 MB/s
Search_Easy1_CachedRE2/4M 1000 1526313 ns/op 2748.00 MB/s
Search_Easy1_CachedRE2/8M 500 3085670 ns/op 2718.57 MB/s
Search_Easy1_CachedRE2/16M 200 6156380 ns/op 2725.18 MB/s
Search_Medium_CachedPCRE/8 10000000 132 ns/op 60.24 MB/s
Search_Medium_CachedPCRE/16 10000000 161 ns/op 99.22 MB/s
Search_Medium_CachedPCRE/32 5000000 218 ns/op 146.72 MB/s
Search_Medium_CachedPCRE/64 5000000 339 ns/op 188.54 MB/s
Search_Medium_CachedPCRE/128 5000000 433 ns/op 295.45 MB/s
Search_Medium_CachedPCRE/256 200000 9074 ns/op 28.21 MB/s
Search_Medium_CachedPCRE/512 50000 21580 ns/op 23.73 MB/s
Search_Medium_CachedPCRE/1K 50000 45469 ns/op 22.52 MB/s
Search_Medium_CachedPCRE/2K 20000 62384 ns/op 32.83 MB/s
Search_Medium_CachedPCRE/4K 10000 153718 ns/op 26.65 MB/s
Search_Medium_CachedPCRE/8K 5000 332814 ns/op 24.61 MB/s
Search_Medium_CachedPCRE/16K 2000 678531 ns/op 24.15 MB/s
Search_Medium_CachedPCRE/32K 1000 1356201 ns/op 24.16 MB/s
Search_Medium_CachedPCRE/64K 500 2708792 ns/op 24.19 MB/s
Search_Medium_CachedPCRE/128K 200 5412745 ns/op 24.22 MB/s
Search_Medium_CachedPCRE/256K 100 10830430 ns/op 24.20 MB/s
Search_Medium_CachedRE2/8 5000000 326 ns/op 24.47 MB/s
Search_Medium_CachedRE2/16 5000000 363 ns/op 43.98 MB/s
Search_Medium_CachedRE2/32 5000000 412 ns/op 77.57 MB/s
Search_Medium_CachedRE2/64 2000000 506 ns/op 126.31 MB/s
Search_Medium_CachedRE2/128 2000000 715 ns/op 178.94 MB/s
Search_Medium_CachedRE2/256 1000000 1119 ns/op 228.65 MB/s
Search_Medium_CachedRE2/512 1000000 1928 ns/op 265.47 MB/s
Search_Medium_CachedRE2/1K 500000 3546 ns/op 288.75 MB/s
Search_Medium_CachedRE2/2K 200000 6782 ns/op 301.97 MB/s
Search_Medium_CachedRE2/4K 100000 13257 ns/op 308.95 MB/s
Search_Medium_CachedRE2/8K 50000 26197 ns/op 312.70 MB/s
Search_Medium_CachedRE2/16K 20000 52081 ns/op 314.58 MB/s
Search_Medium_CachedRE2/32K 10000 103926 ns/op 315.30 MB/s
Search_Medium_CachedRE2/64K 5000 207484 ns/op 315.86 MB/s
Search_Medium_CachedRE2/128K 5000 414545 ns/op 316.18 MB/s
Search_Medium_CachedRE2/256K 2000 828791 ns/op 316.30 MB/s
Search_Medium_CachedRE2/512K 1000 1657160 ns/op 316.38 MB/s
Search_Medium_CachedRE2/1M 500 3314254 ns/op 316.38 MB/s
Search_Medium_CachedRE2/2M 200 6636905 ns/op 315.98 MB/s
Search_Medium_CachedRE2/4M 100 13339080 ns/op 314.44 MB/s
Search_Medium_CachedRE2/8M 50 26718900 ns/op 313.96 MB/s
Search_Medium_CachedRE2/16M 20 53442000 ns/op 313.93 MB/s
Search_Hard_CachedPCRE/8 10000000 132 ns/op 60.21 MB/s
Search_Hard_CachedPCRE/16 10000000 161 ns/op 99.25 MB/s
Search_Hard_CachedPCRE/32 5000000 218 ns/op 146.67 MB/s
Search_Hard_CachedPCRE/64 5000000 339 ns/op 188.62 MB/s
Search_Hard_CachedPCRE/128 5000000 433 ns/op 295.34 MB/s
Search_Hard_CachedPCRE/256 2000 573612 ns/op 0.45 MB/s
Search_Hard_CachedPCRE/512 500 2344764 ns/op 0.22 MB/s
Search_Hard_CachedPCRE/1K 200 9311170 ns/op 0.11 MB/s
Search_Hard_CachedPCRE/2K 50 34066500 ns/op 0.06 MB/s
Search_Hard_CachedPCRE/4K 10 146643800 ns/op 0.03 MB/s
Search_Hard_CachedRE2/8 5000000 333 ns/op 23.98 MB/s
Search_Hard_CachedRE2/16 5000000 358 ns/op 44.62 MB/s
Search_Hard_CachedRE2/32 5000000 408 ns/op 78.26 MB/s
Search_Hard_CachedRE2/64 2000000 509 ns/op 125.53 MB/s
Search_Hard_CachedRE2/128 2000000 717 ns/op 178.52 MB/s
Search_Hard_CachedRE2/256 1000000 1125 ns/op 227.48 MB/s
Search_Hard_CachedRE2/512 1000000 1929 ns/op 265.34 MB/s
Search_Hard_CachedRE2/1K 500000 3547 ns/op 288.63 MB/s
Search_Hard_CachedRE2/2K 200000 6782 ns/op 301.97 MB/s
Search_Hard_CachedRE2/4K 100000 13254 ns/op 309.02 MB/s
Search_Hard_CachedRE2/8K 50000 26193 ns/op 312.74 MB/s
Search_Hard_CachedRE2/16K 20000 52077 ns/op 314.61 MB/s
Search_Hard_CachedRE2/32K 10000 103944 ns/op 315.25 MB/s
Search_Hard_CachedRE2/64K 5000 207487 ns/op 315.86 MB/s
Search_Hard_CachedRE2/128K 5000 414578 ns/op 316.16 MB/s
Search_Hard_CachedRE2/256K 2000 828793 ns/op 316.30 MB/s
Search_Hard_CachedRE2/512K 1000 1657164 ns/op 316.38 MB/s
Search_Hard_CachedRE2/1M 500 3314178 ns/op 316.39 MB/s
Search_Hard_CachedRE2/2M 200 6636585 ns/op 316.00 MB/s
Search_Hard_CachedRE2/4M 100 13339310 ns/op 314.43 MB/s
Search_Hard_CachedRE2/8M 50 26720420 ns/op 313.94 MB/s
Search_Hard_CachedRE2/16M 20 53443250 ns/op 313.93 MB/s
Search_Parens_CachedPCRE/8 10000000 196 ns/op 40.66 MB/s
Search_Parens_CachedRE2/8 5000000 331 ns/op 24.15 MB/s
Search_Parens_CachedRE2/16 5000000 359 ns/op 44.46 MB/s
Search_Parens_CachedRE2/32 5000000 409 ns/op 78.05 MB/s
Search_Parens_CachedRE2/64 2000000 509 ns/op 125.63 MB/s
Search_Parens_CachedRE2/128 2000000 720 ns/op 177.69 MB/s
Search_Parens_CachedRE2/256 1000000 1127 ns/op 226.97 MB/s
Search_Parens_CachedRE2/512 1000000 1937 ns/op 264.32 MB/s
Search_Parens_CachedRE2/1K 500000 3547 ns/op 288.65 MB/s
Search_Parens_CachedRE2/2K 200000 6784 ns/op 301.88 MB/s
Search_Parens_CachedRE2/4K 100000 13253 ns/op 309.05 MB/s
Search_Parens_CachedRE2/8K 50000 26195 ns/op 312.73 MB/s
Search_Parens_CachedRE2/16K 20000 52085 ns/op 314.56 MB/s
Search_Parens_CachedRE2/32K 10000 103948 ns/op 315.23 MB/s
Search_Parens_CachedRE2/64K 5000 207519 ns/op 315.81 MB/s
Search_Parens_CachedRE2/128K 5000 414605 ns/op 316.14 MB/s
Search_Parens_CachedRE2/256K 2000 828800 ns/op 316.29 MB/s
Search_Parens_CachedRE2/512K 1000 1657191 ns/op 316.37 MB/s
Search_Parens_CachedRE2/1M 500 3314252 ns/op 316.38 MB/s
Search_Parens_CachedRE2/2M 200 6637005 ns/op 315.98 MB/s
Search_Parens_CachedRE2/4M 100 13338840 ns/op 314.44 MB/s
Search_Parens_CachedRE2/8M 50 26718340 ns/op 313.96 MB/s
Search_Parens_CachedRE2/16M 20 53436450 ns/op 313.97 MB/s
Search_BigFixed_CachedPCRE/8 5000000 242 ns/op 32.94 MB/s
Search_BigFixed_CachedPCRE/16 5000000 301 ns/op 53.07 MB/s
Search_BigFixed_CachedPCRE/32 5000000 418 ns/op 76.50 MB/s
Search_BigFixed_CachedPCRE/64 2000000 652 ns/op 98.14 MB/s
Search_BigFixed_CachedPCRE/128 2000000 985 ns/op 129.90 MB/s
Search_BigFixed_CachedPCRE/256 1000000 1775 ns/op 144.21 MB/s
Search_BigFixed_CachedPCRE/512 500000 3342 ns/op 153.17 MB/s
Search_BigFixed_CachedPCRE/1K 200000 6476 ns/op 158.12 MB/s
Search_BigFixed_CachedPCRE/2K 100000 12746 ns/op 160.68 MB/s
Search_BigFixed_CachedPCRE/4K 50000 25285 ns/op 161.99 MB/s
Search_BigFixed_CachedPCRE/8K 20000 50367 ns/op 162.64 MB/s
Search_BigFixed_CachedPCRE/16K 10000 100611 ns/op 162.84 MB/s
Search_BigFixed_CachedPCRE/32K 5000 201128 ns/op 162.92 MB/s
Search_BigFixed_CachedRE2/8 10000000 130 ns/op 61.50 MB/s
Search_BigFixed_CachedRE2/16 5000000 373 ns/op 42.81 MB/s
Search_BigFixed_CachedRE2/32 5000000 406 ns/op 78.69 MB/s
Search_BigFixed_CachedRE2/64 5000000 485 ns/op 131.89 MB/s
Search_BigFixed_CachedRE2/128 2000000 630 ns/op 203.11 MB/s
Search_BigFixed_CachedRE2/256 2000000 949 ns/op 269.70 MB/s
Search_BigFixed_CachedRE2/512 1000000 1547 ns/op 330.96 MB/s
Search_BigFixed_CachedRE2/1K 500000 2765 ns/op 370.28 MB/s
Search_BigFixed_CachedRE2/2K 200000 5186 ns/op 394.84 MB/s
Search_BigFixed_CachedRE2/4K 100000 10045 ns/op 407.74 MB/s
Search_BigFixed_CachedRE2/8K 100000 19751 ns/op 414.75 MB/s
Search_BigFixed_CachedRE2/16K 50000 39158 ns/op 418.41 MB/s
Search_BigFixed_CachedRE2/32K 20000 78112 ns/op 419.50 MB/s
Search_BigFixed_CachedRE2/64K 10000 155876 ns/op 420.44 MB/s
Search_BigFixed_CachedRE2/128K 5000 311462 ns/op 420.83 MB/s
Search_BigFixed_CachedRE2/256K 2000 623684 ns/op 420.32 MB/s
Search_BigFixed_CachedRE2/512K 1000 1251098 ns/op 419.06 MB/s
Search_BigFixed_CachedRE2/1M 500 2517996 ns/op 416.43 MB/s
Search_Success_PCRE/8 1000000 1816 ns/op 4.40 MB/s
Search_Success_PCRE/16 1000000 1862 ns/op 8.59 MB/s
Search_Success_PCRE/32 1000000 1963 ns/op 16.30 MB/s
Search_Success_PCRE/64 500000 2143 ns/op 29.86 MB/s
Search_Success_PCRE/128 500000 2492 ns/op 51.35 MB/s
Search_Success_PCRE/256 500000 3226 ns/op 79.35 MB/s
Search_Success_PCRE/512 500000 4627 ns/op 110.65 MB/s
Search_Success_PCRE/1K 200000 7459 ns/op 137.28 MB/s
Search_Success_PCRE/2K 100000 13114 ns/op 156.16 MB/s
Search_Success_PCRE/4K 50000 24417 ns/op 167.75 MB/s
Search_Success_PCRE/8K 50000 47082 ns/op 173.99 MB/s
Search_Success_PCRE/16K 20000 92415 ns/op 177.29 MB/s
Search_Success_PCRE/32K 10000 183255 ns/op 178.81 MB/s
Search_Success_PCRE/64K 5000 364699 ns/op 179.70 MB/s
Search_Success_PCRE/128K 2000 728375 ns/op 179.95 MB/s
Search_Success_PCRE/256K 1000 1457928 ns/op 179.81 MB/s
Search_Success_PCRE/512K 500 2926398 ns/op 179.16 MB/s
Search_Success_PCRE/1M 200 5926725 ns/op 176.92 MB/s
Search_Success_PCRE/2M 100 12130250 ns/op 172.89 MB/s
Search_Success_PCRE/4M 50 25401120 ns/op 165.12 MB/s
Search_Success_PCRE/8M 20 56961850 ns/op 147.27 MB/s
Search_Success_PCRE/16M 10 134232100 ns/op 124.99 MB/s
Search_Success_RE2/8 200000 8299 ns/op 0.96 MB/s
Search_Success_RE2/16 50000 20306 ns/op 0.79 MB/s
Search_Success_RE2/32 50000 20336 ns/op 1.57 MB/s
Search_Success_RE2/64 50000 20557 ns/op 3.11 MB/s
Search_Success_RE2/128 50000 20586 ns/op 6.22 MB/s
Search_Success_RE2/256 50000 20882 ns/op 12.26 MB/s
Search_Success_RE2/512 50000 21673 ns/op 23.62 MB/s
Search_Success_RE2/1K 50000 23408 ns/op 43.75 MB/s
Search_Success_RE2/2K 50000 26992 ns/op 75.87 MB/s
Search_Success_RE2/4K 50000 33213 ns/op 123.33 MB/s
Search_Success_RE2/8K 50000 46189 ns/op 177.36 MB/s
Search_Success_RE2/16K 20000 72241 ns/op 226.79 MB/s
Search_Success_RE2/32K 10000 124254 ns/op 263.72 MB/s
Search_Success_RE2/64K 5000 228106 ns/op 287.30 MB/s
Search_Success_RE2/128K 5000 435538 ns/op 300.94 MB/s
Search_Success_RE2/256K 2000 852223 ns/op 307.60 MB/s
Search_Success_RE2/512K 1000 1690298 ns/op 310.17 MB/s
Search_Success_RE2/1M 500 3385618 ns/op 309.71 MB/s
Search_Success_RE2/2M 200 6919025 ns/op 303.10 MB/s
Search_Success_RE2/4M 100 14401900 ns/op 291.23 MB/s
Search_Success_RE2/8M 50 30840700 ns/op 272.00 MB/s
==BENCHMARK== c2 Fri Feb 26 15:45:38 PST 2010
# Linux c2 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux
# g++ (Ubuntu 4.4.1-4ubuntu8) 4.4.1
# Copyright (C) 2009 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# fd9366132ce9+ tip
# obj/test/regexp_benchmark: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped
Search_Easy0_CachedPCRE/8 10000000 134 ns/op 59.52 MB/s
Search_Easy0_CachedPCRE/16 10000000 161 ns/op 99.25 MB/s
Search_Easy0_CachedPCRE/32 10000000 218 ns/op 146.77 MB/s
Search_Easy0_CachedPCRE/64 5000000 331 ns/op 192.89 MB/s
Search_Easy0_CachedPCRE/128 5000000 432 ns/op 296.26 MB/s
Search_Easy0_CachedPCRE/256 1000000 1081 ns/op 236.79 MB/s
Search_Easy0_CachedPCRE/512 1000000 1741 ns/op 294.05 MB/s
Search_Easy0_CachedPCRE/1K 500000 3390 ns/op 302.01 MB/s
Search_Easy0_CachedPCRE/2K 500000 5686 ns/op 360.17 MB/s
Search_Easy0_CachedPCRE/4K 200000 10629 ns/op 385.34 MB/s
Search_Easy0_CachedPCRE/8K 100000 21787 ns/op 375.99 MB/s
Search_Easy0_CachedPCRE/16K 50000 42183 ns/op 388.40 MB/s
Search_Easy0_CachedPCRE/32K 20000 85149 ns/op 384.83 MB/s
Search_Easy0_CachedPCRE/64K 10000 169790 ns/op 385.98 MB/s
Search_Easy0_CachedPCRE/128K 5000 340958 ns/op 384.42 MB/s
Search_Easy0_CachedPCRE/256K 5000 680879 ns/op 385.01 MB/s
Search_Easy0_CachedPCRE/512K 2000 1364074 ns/op 384.35 MB/s
Search_Easy0_CachedPCRE/1M 1000 2728489 ns/op 384.31 MB/s
Search_Easy0_CachedPCRE/2M 500 5460158 ns/op 384.08 MB/s
Search_Easy0_CachedPCRE/4M 100 11069260 ns/op 378.91 MB/s
Search_Easy0_CachedPCRE/8M 100 22189670 ns/op 378.04 MB/s
Search_Easy0_CachedPCRE/16M 50 44364000 ns/op 378.17 MB/s
Search_Easy0_CachedRE2/8 5000000 317 ns/op 25.22 MB/s
Search_Easy0_CachedRE2/16 5000000 317 ns/op 50.43 MB/s
Search_Easy0_CachedRE2/32 5000000 331 ns/op 96.61 MB/s
Search_Easy0_CachedRE2/64 5000000 334 ns/op 191.62 MB/s
Search_Easy0_CachedRE2/128 5000000 377 ns/op 339.27 MB/s
Search_Easy0_CachedRE2/256 5000000 404 ns/op 632.62 MB/s
Search_Easy0_CachedRE2/512 5000000 483 ns/op 1058.96 MB/s
Search_Easy0_CachedRE2/1K 5000000 664 ns/op 1542.06 MB/s
Search_Easy0_CachedRE2/2K 1000000 1010 ns/op 2027.71 MB/s
Search_Easy0_CachedRE2/4K 1000000 1581 ns/op 2590.42 MB/s
Search_Easy0_CachedRE2/8K 1000000 2939 ns/op 2786.56 MB/s
Search_Easy0_CachedRE2/16K 500000 5439 ns/op 3011.88 MB/s
Search_Easy0_CachedRE2/32K 200000 11066 ns/op 2961.13 MB/s
Search_Easy0_CachedRE2/64K 100000 21875 ns/op 2995.87 MB/s
Search_Easy0_CachedRE2/128K 50000 44331 ns/op 2956.66 MB/s
Search_Easy0_CachedRE2/256K 20000 88335 ns/op 2967.61 MB/s
Search_Easy0_CachedRE2/512K 10000 177855 ns/op 2947.84 MB/s
Search_Easy0_CachedRE2/1M 5000 356896 ns/op 2938.04 MB/s
Search_Easy0_CachedRE2/2M 5000 716469 ns/op 2927.07 MB/s
Search_Easy0_CachedRE2/4M 1000 1532367 ns/op 2737.14 MB/s
Search_Easy0_CachedRE2/8M 500 3086890 ns/op 2717.49 MB/s
Search_Easy0_CachedRE2/16M 500 6157146 ns/op 2724.84 MB/s
Search_Easy1_CachedPCRE/8 20000000 133 ns/op 60.08 MB/s
Search_Easy1_CachedPCRE/16 10000000 161 ns/op 99.37 MB/s
Search_Easy1_CachedPCRE/32 10000000 218 ns/op 146.70 MB/s
Search_Easy1_CachedPCRE/64 5000000 331 ns/op 192.79 MB/s
Search_Easy1_CachedPCRE/128 5000000 649 ns/op 197.15 MB/s
Search_Easy1_CachedPCRE/256 2000000 935 ns/op 273.55 MB/s
Search_Easy1_CachedPCRE/512 1000000 1971 ns/op 259.76 MB/s
Search_Easy1_CachedPCRE/1K 500000 3421 ns/op 299.32 MB/s
Search_Easy1_CachedPCRE/2K 500000 6236 ns/op 328.40 MB/s
Search_Easy1_CachedPCRE/4K 200000 11135 ns/op 367.84 MB/s
Search_Easy1_CachedPCRE/8K 100000 22040 ns/op 371.68 MB/s
Search_Easy1_CachedPCRE/16K 50000 42415 ns/op 386.28 MB/s
Search_Easy1_CachedPCRE/32K 20000 85249 ns/op 384.38 MB/s
Search_Easy1_CachedPCRE/64K 10000 170306 ns/op 384.81 MB/s
Search_Easy1_CachedPCRE/128K 5000 342332 ns/op 382.88 MB/s
Search_Easy1_CachedPCRE/256K 5000 682556 ns/op 384.06 MB/s
Search_Easy1_CachedPCRE/512K 2000 1366952 ns/op 383.55 MB/s
Search_Easy1_CachedPCRE/1M 1000 2736532 ns/op 383.18 MB/s
Search_Easy1_CachedPCRE/2M 500 5477062 ns/op 382.90 MB/s
Search_Easy1_CachedPCRE/4M 100 11097300 ns/op 377.96 MB/s
Search_Easy1_CachedPCRE/8M 100 22254540 ns/op 376.94 MB/s
Search_Easy1_CachedPCRE/16M 50 44510220 ns/op 376.93 MB/s
Search_Easy1_CachedRE2/8 5000000 317 ns/op 25.19 MB/s
Search_Easy1_CachedRE2/16 5000000 317 ns/op 50.42 MB/s
Search_Easy1_CachedRE2/32 5000000 332 ns/op 96.25 MB/s
Search_Easy1_CachedRE2/64 5000000 335 ns/op 190.94 MB/s
Search_Easy1_CachedRE2/128 5000000 376 ns/op 340.07 MB/s
Search_Easy1_CachedRE2/256 5000000 415 ns/op 615.50 MB/s
Search_Easy1_CachedRE2/512 5000000 485 ns/op 1054.85 MB/s
Search_Easy1_CachedRE2/1K 5000000 663 ns/op 1543.27 MB/s
Search_Easy1_CachedRE2/2K 1000000 1009 ns/op 2029.62 MB/s
Search_Easy1_CachedRE2/4K 1000000 1585 ns/op 2582.98 MB/s
Search_Easy1_CachedRE2/8K 1000000 2947 ns/op 2779.39 MB/s
Search_Easy1_CachedRE2/16K 500000 5474 ns/op 2992.97 MB/s
Search_Easy1_CachedRE2/32K 200000 11058 ns/op 2963.24 MB/s
Search_Easy1_CachedRE2/64K 100000 21872 ns/op 2996.27 MB/s
Search_Easy1_CachedRE2/128K 50000 44328 ns/op 2956.85 MB/s
Search_Easy1_CachedRE2/256K 20000 88325 ns/op 2967.95 MB/s
Search_Easy1_CachedRE2/512K 10000 177870 ns/op 2947.58 MB/s
Search_Easy1_CachedRE2/1M 5000 356912 ns/op 2937.91 MB/s
Search_Easy1_CachedRE2/2M 5000 716384 ns/op 2927.41 MB/s
Search_Easy1_CachedRE2/4M 1000 1532077 ns/op 2737.66 MB/s
Search_Easy1_CachedRE2/8M 500 3087256 ns/op 2717.17 MB/s
Search_Easy1_CachedRE2/16M 500 6163142 ns/op 2722.19 MB/s
Search_Medium_CachedPCRE/8 20000000 134 ns/op 59.46 MB/s
Search_Medium_CachedPCRE/16 10000000 162 ns/op 98.36 MB/s
Search_Medium_CachedPCRE/32 10000000 219 ns/op 145.73 MB/s
Search_Medium_CachedPCRE/64 5000000 340 ns/op 187.82 MB/s
Search_Medium_CachedPCRE/128 5000000 434 ns/op 294.39 MB/s
Search_Medium_CachedPCRE/256 200000 9077 ns/op 28.20 MB/s
Search_Medium_CachedPCRE/512 100000 21579 ns/op 23.73 MB/s
Search_Medium_CachedPCRE/1K 50000 42393 ns/op 24.15 MB/s
Search_Medium_CachedPCRE/2K 50000 62381 ns/op 32.83 MB/s
Search_Medium_CachedPCRE/4K 10000 153708 ns/op 26.65 MB/s
Search_Medium_CachedPCRE/8K 5000 332752 ns/op 24.62 MB/s
Search_Medium_CachedPCRE/16K 5000 678258 ns/op 24.16 MB/s
Search_Medium_CachedPCRE/32K 2000 1355855 ns/op 24.17 MB/s
Search_Medium_CachedPCRE/64K 1000 2707494 ns/op 24.21 MB/s
Search_Medium_CachedPCRE/128K 500 5410032 ns/op 24.23 MB/s
Search_Medium_CachedPCRE/256K 100 10825800 ns/op 24.21 MB/s
Search_Medium_CachedRE2/8 5000000 337 ns/op 23.70 MB/s
Search_Medium_CachedRE2/16 5000000 363 ns/op 44.02 MB/s
Search_Medium_CachedRE2/32 5000000 414 ns/op 77.23 MB/s
Search_Medium_CachedRE2/64 5000000 510 ns/op 125.47 MB/s
Search_Medium_CachedRE2/128 5000000 724 ns/op 176.68 MB/s
Search_Medium_CachedRE2/256 1000000 1124 ns/op 227.62 MB/s
Search_Medium_CachedRE2/512 1000000 1933 ns/op 264.81 MB/s
Search_Medium_CachedRE2/1K 500000 3551 ns/op 288.35 MB/s
Search_Medium_CachedRE2/2K 500000 6786 ns/op 301.77 MB/s
Search_Medium_CachedRE2/4K 200000 13256 ns/op 308.97 MB/s
Search_Medium_CachedRE2/8K 100000 26198 ns/op 312.69 MB/s
Search_Medium_CachedRE2/16K 50000 52085 ns/op 314.56 MB/s
Search_Medium_CachedRE2/32K 10000 103940 ns/op 315.26 MB/s
Search_Medium_CachedRE2/64K 10000 207489 ns/op 315.85 MB/s
Search_Medium_CachedRE2/128K 5000 414571 ns/op 316.16 MB/s
Search_Medium_CachedRE2/256K 2000 828757 ns/op 316.31 MB/s
Search_Medium_CachedRE2/512K 1000 1657123 ns/op 316.38 MB/s
Search_Medium_CachedRE2/1M 500 3314204 ns/op 316.39 MB/s
Search_Medium_CachedRE2/2M 500 6633334 ns/op 316.15 MB/s
Search_Medium_CachedRE2/4M 100 13342170 ns/op 314.36 MB/s
Search_Medium_CachedRE2/8M 100 26718850 ns/op 313.96 MB/s
Search_Medium_CachedRE2/16M 50 53433900 ns/op 313.98 MB/s
Search_Hard_CachedPCRE/8 20000000 134 ns/op 59.43 MB/s
Search_Hard_CachedPCRE/16 10000000 162 ns/op 98.34 MB/s
Search_Hard_CachedPCRE/32 10000000 219 ns/op 145.72 MB/s
Search_Hard_CachedPCRE/64 5000000 340 ns/op 187.84 MB/s
Search_Hard_CachedPCRE/128 5000000 434 ns/op 294.64 MB/s
Search_Hard_CachedPCRE/256 5000 572444 ns/op 0.45 MB/s
Search_Hard_CachedPCRE/512 1000 2345148 ns/op 0.22 MB/s
Search_Hard_CachedPCRE/1K 200 9327675 ns/op 0.11 MB/s
Search_Hard_CachedPCRE/2K 50 34095380 ns/op 0.06 MB/s
Search_Hard_CachedPCRE/4K 10 146669300 ns/op 0.03 MB/s
Search_Hard_CachedRE2/8 5000000 338 ns/op 23.62 MB/s
Search_Hard_CachedRE2/16 5000000 366 ns/op 43.65 MB/s
Search_Hard_CachedRE2/32 5000000 422 ns/op 75.77 MB/s
Search_Hard_CachedRE2/64 5000000 513 ns/op 124.66 MB/s
Search_Hard_CachedRE2/128 5000000 721 ns/op 177.41 MB/s
Search_Hard_CachedRE2/256 1000000 1125 ns/op 227.38 MB/s
Search_Hard_CachedRE2/512 1000000 1933 ns/op 264.75 MB/s
Search_Hard_CachedRE2/1K 500000 3551 ns/op 288.31 MB/s
Search_Hard_CachedRE2/2K 500000 6787 ns/op 301.74 MB/s
Search_Hard_CachedRE2/4K 200000 13262 ns/op 308.84 MB/s
Search_Hard_CachedRE2/8K 100000 26203 ns/op 312.63 MB/s
Search_Hard_CachedRE2/16K 50000 52085 ns/op 314.56 MB/s
Search_Hard_CachedRE2/32K 10000 103943 ns/op 315.25 MB/s
Search_Hard_CachedRE2/64K 10000 207492 ns/op 315.85 MB/s
Search_Hard_CachedRE2/128K 5000 414602 ns/op 316.14 MB/s
Search_Hard_CachedRE2/256K 2000 828771 ns/op 316.30 MB/s
Search_Hard_CachedRE2/512K 1000 1657138 ns/op 316.38 MB/s
==BENCHMARK== c2 Fri Feb 26 15:52:36 PST 2010
# Linux c2 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux
# g++ (Ubuntu 4.4.1-4ubuntu8) 4.4.1
# Copyright (C) 2009 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# fd9366132ce9+ tip
# obj/test/regexp_benchmark: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped
Search_Easy0_CachedPCRE/8 10000000 132 ns/op 60.19 MB/s
Search_Easy0_CachedPCRE/16 10000000 160 ns/op 99.51 MB/s
Search_Easy0_CachedPCRE/32 10000000 217 ns/op 147.30 MB/s
Search_Easy0_CachedPCRE/64 5000000 330 ns/op 193.41 MB/s
Search_Easy0_CachedPCRE/128 5000000 431 ns/op 296.81 MB/s
Search_Easy0_CachedPCRE/256 1000000 1082 ns/op 236.52 MB/s
Search_Easy0_CachedPCRE/512 1000000 1742 ns/op 293.84 MB/s
Search_Easy0_CachedPCRE/1K 500000 3391 ns/op 301.97 MB/s
Search_Easy0_CachedPCRE/2K 500000 5680 ns/op 360.53 MB/s
Search_Easy0_CachedPCRE/4K 200000 10620 ns/op 385.66 MB/s
Search_Easy0_CachedPCRE/8K 100000 21760 ns/op 376.47 MB/s
Search_Easy0_CachedPCRE/16K 50000 42151 ns/op 388.70 MB/s
Search_Easy0_CachedPCRE/32K 20000 85091 ns/op 385.09 MB/s
Search_Easy0_CachedPCRE/64K 10000 169811 ns/op 385.93 MB/s
Search_Easy0_CachedPCRE/128K 5000 340974 ns/op 384.40 MB/s
Search_Easy0_CachedPCRE/256K 5000 680322 ns/op 385.32 MB/s
Search_Easy0_CachedPCRE/512K 2000 1362887 ns/op 384.69 MB/s
Search_Easy0_CachedPCRE/1M 1000 2726335 ns/op 384.61 MB/s
Search_Easy0_CachedPCRE/2M 500 5466910 ns/op 383.61 MB/s
Search_Easy0_CachedPCRE/4M 100 11043660 ns/op 379.79 MB/s
Search_Easy0_CachedPCRE/8M 100 22181360 ns/op 378.18 MB/s
Search_Easy0_CachedPCRE/16M 50 44332240 ns/op 378.44 MB/s
Search_Easy0_CachedRE2/8 5000000 319 ns/op 25.07 MB/s
Search_Easy0_CachedRE2/16 5000000 320 ns/op 49.98 MB/s
Search_Easy0_CachedRE2/32 5000000 334 ns/op 95.62 MB/s
Search_Easy0_CachedRE2/64 5000000 336 ns/op 190.00 MB/s
Search_Easy0_CachedRE2/128 5000000 367 ns/op 348.26 MB/s
Search_Easy0_CachedRE2/256 5000000 392 ns/op 651.98 MB/s
Search_Easy0_CachedRE2/512 5000000 472 ns/op 1084.04 MB/s
Search_Easy0_CachedRE2/1K 5000000 652 ns/op 1569.77 MB/s
Search_Easy0_CachedRE2/2K 1000000 1002 ns/op 2041.98 MB/s
Search_Easy0_CachedRE2/4K 1000000 1588 ns/op 2579.04 MB/s
Search_Easy0_CachedRE2/8K 1000000 2919 ns/op 2805.50 MB/s
Search_Easy0_CachedRE2/16K 500000 5422 ns/op 3021.44 MB/s
Search_Easy0_CachedRE2/32K 200000 11029 ns/op 2970.83 MB/s
Search_Easy0_CachedRE2/64K 100000 21880 ns/op 2995.23 MB/s
Search_Easy0_CachedRE2/128K 50000 44348 ns/op 2955.51 MB/s
Search_Easy0_CachedRE2/256K 20000 88537 ns/op 2960.84 MB/s
Search_Easy0_CachedRE2/512K 10000 178161 ns/op 2942.77 MB/s
Search_Easy0_CachedRE2/1M 5000 357466 ns/op 2933.35 MB/s
Search_Easy0_CachedRE2/2M 5000 726215 ns/op 2887.78 MB/s
Search_Easy0_CachedRE2/4M 1000 1518925 ns/op 2761.36 MB/s
Search_Easy0_CachedRE2/8M 500 3093556 ns/op 2711.64 MB/s
Search_Easy0_CachedRE2/16M 500 6163216 ns/op 2722.15 MB/s
Search_Easy1_CachedPCRE/8 20000000 133 ns/op 60.01 MB/s
Search_Easy1_CachedPCRE/16 10000000 161 ns/op 99.01 MB/s
Search_Easy1_CachedPCRE/32 10000000 218 ns/op 146.72 MB/s
Search_Easy1_CachedPCRE/64 5000000 331 ns/op 192.81 MB/s
Search_Easy1_CachedPCRE/128 5000000 651 ns/op 196.47 MB/s
Search_Easy1_CachedPCRE/256 2000000 937 ns/op 273.13 MB/s
Search_Easy1_CachedPCRE/512 1000000 1971 ns/op 259.75 MB/s
Search_Easy1_CachedPCRE/1K 500000 3419 ns/op 299.44 MB/s
Search_Easy1_CachedPCRE/2K 500000 6237 ns/op 328.32 MB/s
Search_Easy1_CachedPCRE/4K 200000 11126 ns/op 368.14 MB/s
Search_Easy1_CachedPCRE/8K 100000 22025 ns/op 371.94 MB/s
Search_Easy1_CachedPCRE/16K 50000 42414 ns/op 386.28 MB/s
Search_Easy1_CachedPCRE/32K 20000 85208 ns/op 384.56 MB/s
Search_Easy1_CachedPCRE/64K 10000 170269 ns/op 384.90 MB/s
Search_Easy1_CachedPCRE/128K 5000 342014 ns/op 383.24 MB/s
Search_Easy1_CachedPCRE/256K 5000 682258 ns/op 384.23 MB/s
Search_Easy1_CachedPCRE/512K 2000 1366582 ns/op 383.65 MB/s
Search_Easy1_CachedPCRE/1M 1000 2735046 ns/op 383.39 MB/s
Search_Easy1_CachedPCRE/2M 500 5591430 ns/op 375.07 MB/s
Search_Easy1_CachedPCRE/4M 100 11077680 ns/op 378.63 MB/s
Search_Easy1_CachedPCRE/8M 100 22246570 ns/op 377.07 MB/s
Search_Easy1_CachedPCRE/16M 50 44470360 ns/op 377.27 MB/s
Search_Easy1_CachedRE2/8 5000000 319 ns/op 25.02 MB/s
Search_Easy1_CachedRE2/16 5000000 326 ns/op 49.00 MB/s
Search_Easy1_CachedRE2/32 5000000 334 ns/op 95.72 MB/s
Search_Easy1_CachedRE2/64 5000000 337 ns/op 189.56 MB/s
Search_Easy1_CachedRE2/128 5000000 365 ns/op 349.81 MB/s
Search_Easy1_CachedRE2/256 5000000 399 ns/op 640.98 MB/s
Search_Easy1_CachedRE2/512 5000000 469 ns/op 1089.44 MB/s
Search_Easy1_CachedRE2/1K 5000000 652 ns/op 1569.62 MB/s
Search_Easy1_CachedRE2/2K 1000000 1004 ns/op 2038.28 MB/s
Search_Easy1_CachedRE2/4K 1000000 1584 ns/op 2584.99 MB/s
Search_Easy1_CachedRE2/8K 1000000 2919 ns/op 2806.40 MB/s
Search_Easy1_CachedRE2/16K 500000 5451 ns/op 3005.49 MB/s
Search_Easy1_CachedRE2/32K 200000 10985 ns/op 2982.94 MB/s
Search_Easy1_CachedRE2/64K 100000 21869 ns/op 2996.70 MB/s
Search_Easy1_CachedRE2/128K 50000 44326 ns/op 2956.95 MB/s
Search_Easy1_CachedRE2/256K 20000 88517 ns/op 2961.50 MB/s
Search_Easy1_CachedRE2/512K 10000 178161 ns/op 2942.76 MB/s
Search_Easy1_CachedRE2/1M 5000 357524 ns/op 2932.88 MB/s
Search_Easy1_CachedRE2/2M 5000 726271 ns/op 2887.56 MB/s
Search_Easy1_CachedRE2/4M 1000 1519940 ns/op 2759.52 MB/s
Search_Easy1_CachedRE2/8M 500 3095036 ns/op 2710.34 MB/s
Search_Easy1_CachedRE2/16M 500 6165230 ns/op 2721.26 MB/s
Search_Medium_CachedPCRE/8 20000000 134 ns/op 59.33 MB/s
Search_Medium_CachedPCRE/16 10000000 162 ns/op 98.23 MB/s
Search_Medium_CachedPCRE/32 10000000 219 ns/op 145.68 MB/s
Search_Medium_CachedPCRE/64 5000000 340 ns/op 187.74 MB/s
Search_Medium_CachedPCRE/128 5000000 434 ns/op 294.36 MB/s
Search_Medium_CachedPCRE/256 200000 9116 ns/op 28.08 MB/s
Search_Medium_CachedPCRE/512 100000 21829 ns/op 23.45 MB/s
Search_Medium_CachedPCRE/1K 50000 42878 ns/op 23.88 MB/s
Search_Medium_CachedPCRE/2K 50000 62528 ns/op 32.75 MB/s
Search_Medium_CachedPCRE/4K 10000 153909 ns/op 26.61 MB/s
Search_Medium_CachedPCRE/8K 5000 333099 ns/op 24.59 MB/s
Search_Medium_CachedPCRE/16K 5000 678554 ns/op 24.15 MB/s
Search_Medium_CachedPCRE/32K 2000 1354963 ns/op 24.18 MB/s
Search_Medium_CachedPCRE/64K 1000 2705485 ns/op 24.22 MB/s
Search_Medium_CachedPCRE/128K 500 5407590 ns/op 24.24 MB/s
Search_Medium_CachedPCRE/256K 100 10817570 ns/op 24.23 MB/s
Search_Medium_CachedRE2/8 5000000 339 ns/op 23.55 MB/s
Search_Medium_CachedRE2/16 5000000 364 ns/op 43.85 MB/s
Search_Medium_CachedRE2/32 5000000 417 ns/op 76.70 MB/s
Search_Medium_CachedRE2/64 5000000 515 ns/op 124.27 MB/s
Search_Medium_CachedRE2/128 5000000 723 ns/op 176.82 MB/s
Search_Medium_CachedRE2/256 1000000 1127 ns/op 227.13 MB/s
Search_Medium_CachedRE2/512 1000000 1935 ns/op 264.52 MB/s
Search_Medium_CachedRE2/1K 500000 3553 ns/op 288.18 MB/s
Search_Medium_CachedRE2/2K 500000 6794 ns/op 301.41 MB/s
Search_Medium_CachedRE2/4K 200000 13257 ns/op 308.96 MB/s
Search_Medium_CachedRE2/8K 100000 26198 ns/op 312.69 MB/s
Search_Medium_CachedRE2/16K 50000 52083 ns/op 314.57 MB/s
Search_Medium_CachedRE2/32K 10000 103951 ns/op 315.22 MB/s
Search_Medium_CachedRE2/64K 10000 207486 ns/op 315.86 MB/s
Search_Medium_CachedRE2/128K 5000 414561 ns/op 316.17 MB/s
Search_Medium_CachedRE2/256K 2000 828728 ns/op 316.32 MB/s
Search_Medium_CachedRE2/512K 1000 1657039 ns/op 316.40 MB/s
Search_Medium_CachedRE2/1M 500 3314040 ns/op 316.40 MB/s
Search_Medium_CachedRE2/2M 500 6637874 ns/op 315.94 MB/s
Search_Medium_CachedRE2/4M 100 13332420 ns/op 314.59 MB/s
Search_Medium_CachedRE2/8M 100 26715300 ns/op 314.00 MB/s
Search_Medium_CachedRE2/16M 50 53430940 ns/op 314.00 MB/s
Search_Hard_CachedPCRE/8 20000000 134 ns/op 59.35 MB/s
Search_Hard_CachedPCRE/16 10000000 162 ns/op 98.21 MB/s
Search_Hard_CachedPCRE/32 10000000 219 ns/op 145.65 MB/s
Search_Hard_CachedPCRE/64 5000000 340 ns/op 187.74 MB/s
Search_Hard_CachedPCRE/128 5000000 434 ns/op 294.33 MB/s
Search_Hard_CachedPCRE/256 5000 572641 ns/op 0.45 MB/s
Search_Hard_CachedPCRE/512 1000 2348430 ns/op 0.22 MB/s
Search_Hard_CachedPCRE/1K 200 9314740 ns/op 0.11 MB/s
Search_Hard_CachedPCRE/2K 50 34077360 ns/op 0.06 MB/s
Search_Hard_CachedPCRE/4K 10 146685100 ns/op 0.03 MB/s
Search_Hard_CachedRE2/8 5000000 339 ns/op 23.56 MB/s
Search_Hard_CachedRE2/16 5000000 364 ns/op 43.87 MB/s
Search_Hard_CachedRE2/32 5000000 416 ns/op 76.91 MB/s
Search_Hard_CachedRE2/64 5000000 514 ns/op 124.39 MB/s
Search_Hard_CachedRE2/128 5000000 723 ns/op 176.97 MB/s
Search_Hard_CachedRE2/256 1000000 1126 ns/op 227.29 MB/s
Search_Hard_CachedRE2/512 1000000 1935 ns/op 264.58 MB/s
Search_Hard_CachedRE2/1K 500000 3552 ns/op 288.24 MB/s
Search_Hard_CachedRE2/2K 500000 6787 ns/op 301.73 MB/s
Search_Hard_CachedRE2/4K 200000 13258 ns/op 308.93 MB/s
Search_Hard_CachedRE2/8K 100000 26198 ns/op 312.69 MB/s
Search_Hard_CachedRE2/16K 50000 52078 ns/op 314.60 MB/s
Search_Hard_CachedRE2/32K 10000 103957 ns/op 315.21 MB/s
Search_Hard_CachedRE2/64K 10000 207490 ns/op 315.85 MB/s
Search_Hard_CachedRE2/128K 5000 414573 ns/op 316.16 MB/s
Search_Hard_CachedRE2/256K 2000 828748 ns/op 316.31 MB/s
Search_Hard_CachedRE2/512K 1000 1657141 ns/op 316.38 MB/s
Search_Hard_CachedRE2/1M 500 3314048 ns/op 316.40 MB/s
Search_Hard_CachedRE2/2M 500 6637896 ns/op 315.94 MB/s
Search_Hard_CachedRE2/4M 100 13331710 ns/op 314.61 MB/s
Search_Hard_CachedRE2/8M 100 26716050 ns/op 313.99 MB/s
Search_Hard_CachedRE2/16M 50 53428900 ns/op 314.01 MB/s
Search_Parens_CachedPCRE/8 10000000 197 ns/op 40.52 MB/s
Search_Parens_CachedRE2/8 5000000 339 ns/op 23.55 MB/s
Search_Parens_CachedRE2/16 5000000 365 ns/op 43.83 MB/s
Search_Parens_CachedRE2/32 5000000 416 ns/op 76.85 MB/s
Search_Parens_CachedRE2/64 5000000 518 ns/op 123.48 MB/s
Search_Parens_CachedRE2/128 5000000 732 ns/op 174.84 MB/s
Search_Parens_CachedRE2/256 1000000 1125 ns/op 227.38 MB/s
Search_Parens_CachedRE2/512 1000000 1935 ns/op 264.54 MB/s
Search_Parens_CachedRE2/1K 500000 3553 ns/op 288.18 MB/s
Search_Parens_CachedRE2/2K 500000 6787 ns/op 301.73 MB/s
Search_Parens_CachedRE2/4K 200000 13258 ns/op 308.93 MB/s
Search_Parens_CachedRE2/8K 100000 26198 ns/op 312.68 MB/s
Search_Parens_CachedRE2/16K 50000 52082 ns/op 314.58 MB/s
Search_Parens_CachedRE2/32K 10000 103942 ns/op 315.25 MB/s
Search_Parens_CachedRE2/64K 10000 207482 ns/op 315.86 MB/s
Search_Parens_CachedRE2/128K 5000 414565 ns/op 316.17 MB/s
Search_Parens_CachedRE2/256K 2000 828752 ns/op 316.31 MB/s
Search_Parens_CachedRE2/512K 1000 1657114 ns/op 316.39 MB/s
Search_Parens_CachedRE2/1M 500 3314130 ns/op 316.40 MB/s
Search_Parens_CachedRE2/2M 500 6637822 ns/op 315.94 MB/s
Search_Parens_CachedRE2/4M 100 13333110 ns/op 314.58 MB/s
Search_Parens_CachedRE2/8M 100 26718660 ns/op 313.96 MB/s
Search_Parens_CachedRE2/16M 50 53434420 ns/op 313.98 MB/s
Search_BigFixed_CachedPCRE/8 10000000 245 ns/op 32.58 MB/s
Search_BigFixed_CachedPCRE/16 5000000 302 ns/op 52.87 MB/s
Search_BigFixed_CachedPCRE/32 5000000 419 ns/op 76.34 MB/s
Search_BigFixed_CachedPCRE/64 5000000 657 ns/op 97.37 MB/s
Search_BigFixed_CachedPCRE/128 2000000 986 ns/op 129.75 MB/s
Search_BigFixed_CachedPCRE/256 1000000 1776 ns/op 144.11 MB/s
Search_BigFixed_CachedPCRE/512 500000 3343 ns/op 153.12 MB/s
Search_BigFixed_CachedPCRE/1K 500000 6477 ns/op 158.09 MB/s
Search_BigFixed_CachedPCRE/2K 200000 12745 ns/op 160.68 MB/s
Search_BigFixed_CachedPCRE/4K 100000 25282 ns/op 162.01 MB/s
Search_BigFixed_CachedPCRE/8K 50000 50360 ns/op 162.67 MB/s
Search_BigFixed_CachedPCRE/16K 10000 100599 ns/op 162.86 MB/s
Search_BigFixed_CachedPCRE/32K 10000 201002 ns/op 163.02 MB/s
Search_BigFixed_CachedRE2/8 20000000 130 ns/op 61.10 MB/s
Search_BigFixed_CachedRE2/16 5000000 375 ns/op 42.65 MB/s
Search_BigFixed_CachedRE2/32 5000000 412 ns/op 77.57 MB/s
Search_BigFixed_CachedRE2/64 5000000 488 ns/op 130.92 MB/s
Search_BigFixed_CachedRE2/128 5000000 635 ns/op 201.33 MB/s
Search_BigFixed_CachedRE2/256 2000000 946 ns/op 270.51 MB/s
Search_BigFixed_CachedRE2/512 1000000 1551 ns/op 329.90 MB/s
Search_BigFixed_CachedRE2/1K 1000000 2767 ns/op 369.95 MB/s
Search_BigFixed_CachedRE2/2K 500000 5192 ns/op 394.43 MB/s
Search_BigFixed_CachedRE2/4K 200000 10047 ns/op 407.68 MB/s
Search_BigFixed_CachedRE2/8K 100000 19753 ns/op 414.70 MB/s
Search_BigFixed_CachedRE2/16K 50000 39165 ns/op 418.33 MB/s
Search_BigFixed_CachedRE2/32K 20000 78111 ns/op 419.50 MB/s
Search_BigFixed_CachedRE2/64K 10000 155869 ns/op 420.45 MB/s
Search_BigFixed_CachedRE2/128K 5000 311467 ns/op 420.82 MB/s
Search_BigFixed_CachedRE2/256K 5000 622457 ns/op 421.14 MB/s
Search_BigFixed_CachedRE2/512K 2000 1247149 ns/op 420.39 MB/s
Search_BigFixed_CachedRE2/1M 1000 2502506 ns/op 419.01 MB/s
Search_Success_PCRE/8 1000000 1835 ns/op 4.36 MB/s
Search_Success_PCRE/16 1000000 1890 ns/op 8.46 MB/s
Search_Success_PCRE/32 1000000 1981 ns/op 16.15 MB/s
Search_Success_PCRE/64 1000000 2151 ns/op 29.75 MB/s
Search_Success_PCRE/128 1000000 2511 ns/op 50.96 MB/s
Search_Success_PCRE/256 500000 3229 ns/op 79.26 MB/s
Search_Success_PCRE/512 500000 4647 ns/op 110.16 MB/s
Search_Success_PCRE/1K 200000 7500 ns/op 136.52 MB/s
Search_Success_PCRE/2K 200000 13134 ns/op 155.92 MB/s
Search_Success_PCRE/4K 100000 24469 ns/op 167.39 MB/s
Search_Success_PCRE/8K 50000 47127 ns/op 173.83 MB/s
Search_Success_PCRE/16K 20000 92460 ns/op 177.20 MB/s
Search_Success_PCRE/32K 10000 183255 ns/op 178.81 MB/s
Search_Success_PCRE/64K 5000 364664 ns/op 179.72 MB/s
Search_Success_PCRE/128K 2000 728382 ns/op 179.95 MB/s
Search_Success_PCRE/256K 1000 1458071 ns/op 179.79 MB/s
Search_Success_PCRE/512K 500 2927234 ns/op 179.11 MB/s
Search_Success_PCRE/1M 500 5852934 ns/op 179.15 MB/s
Search_Success_PCRE/2M 200 11886620 ns/op 176.43 MB/s
Search_Success_PCRE/4M 100 24402710 ns/op 171.88 MB/s
Search_Success_PCRE/8M 50 50996680 ns/op 164.49 MB/s
Search_Success_PCRE/16M 10 135693000 ns/op 123.64 MB/s
Search_Success_RE2/16M 20 74552300 ns/op 225.04 MB/s
Search_Success_CachedPCRE/8 10000000 236 ns/op 33.88 MB/s
Search_Success_CachedPCRE/16 10000000 289 ns/op 55.21 MB/s
Search_Success_CachedPCRE/32 5000000 397 ns/op 80.58 MB/s
Search_Success_CachedPCRE/64 5000000 611 ns/op 104.58 MB/s
Search_Success_CachedPCRE/128 2000000 914 ns/op 139.91 MB/s
Search_Success_CachedPCRE/256 1000000 1622 ns/op 157.81 MB/s
Search_Success_CachedPCRE/512 500000 3037 ns/op 168.54 MB/s
Search_Success_CachedPCRE/1K 500000 5867 ns/op 174.51 MB/s
Search_Success_CachedPCRE/2K 200000 11529 ns/op 177.62 MB/s
Search_Success_CachedPCRE/4K 100000 22852 ns/op 179.23 MB/s
Search_Success_CachedPCRE/8K 50000 46293 ns/op 176.96 MB/s
Search_Success_CachedPCRE/16K 20000 90812 ns/op 180.42 MB/s
Search_Success_CachedPCRE/32K 10000 181517 ns/op 180.52 MB/s
Search_Success_CachedPCRE/64K 5000 362941 ns/op 180.57 MB/s
Search_Success_CachedPCRE/128K 2000 726534 ns/op 180.41 MB/s
Search_Success_CachedPCRE/256K 1000 1456177 ns/op 180.02 MB/s
Search_Success_CachedPCRE/512K 500 2925190 ns/op 179.23 MB/s
Search_Success_CachedPCRE/1M 500 5850306 ns/op 179.23 MB/s
Search_Success_CachedPCRE/2M 200 11879265 ns/op 176.54 MB/s
Search_Success_CachedPCRE/4M 100 24386990 ns/op 171.99 MB/s
Search_Success_CachedPCRE/8M 50 50981240 ns/op 164.54 MB/s
Search_Success_CachedPCRE/16M 10 135670500 ns/op 123.66 MB/s
Search_Success_CachedRE2/8 20000000 130 ns/op 61.27 MB/s
Search_Success_CachedRE2/16 5000000 376 ns/op 42.54 MB/s
Search_Success_CachedRE2/32 5000000 427 ns/op 74.93 MB/s
Search_Success_CachedRE2/64 5000000 526 ns/op 121.48 MB/s
Search_Success_CachedRE2/128 5000000 732 ns/op 174.78 MB/s
Search_Success_CachedRE2/256 1000000 1135 ns/op 225.54 MB/s
Search_Success_CachedRE2/512 1000000 1944 ns/op 263.31 MB/s
Search_Success_CachedRE2/1K 500000 3563 ns/op 287.37 MB/s
Search_Success_CachedRE2/2K 500000 6797 ns/op 301.31 MB/s
Search_Success_CachedRE2/4K 200000 13268 ns/op 308.71 MB/s
Search_Success_CachedRE2/8K 100000 26208 ns/op 312.57 MB/s
Search_Success_CachedRE2/16K 50000 52094 ns/op 314.50 MB/s
Search_Success_CachedRE2/32K 10000 104033 ns/op 314.98 MB/s
Search_Success_CachedRE2/64K 10000 207643 ns/op 315.62 MB/s
Search_Success_CachedRE2/128K 5000 415199 ns/op 315.68 MB/s
Search_Success_CachedRE2/256K 2000 831963 ns/op 315.09 MB/s
Search_Success_CachedRE2/512K 1000 1670044 ns/op 313.94 MB/s
Search_Success_CachedRE2/1M 500 3366302 ns/op 311.49 MB/s
Search_Success_CachedRE2/2M 200 6902225 ns/op 303.84 MB/s
Search_Success_CachedRE2/4M 100 14383930 ns/op 291.60 MB/s
Search_Success_CachedRE2/8M 50 30930940 ns/op 271.20 MB/s
Search_Success_CachedRE2/16M 20 74507750 ns/op 225.17 MB/s
Search_Success1_PCRE/8 1000000 1997 ns/op 4.00 MB/s
Search_Success1_PCRE/16 1000000 2038 ns/op 7.85 MB/s
Search_Success1_PCRE/32 1000000 2116 ns/op 15.12 MB/s
Search_Success1_PCRE/64 1000000 2280 ns/op 28.07 MB/s
Search_Success1_PCRE/128 1000000 2636 ns/op 48.56 MB/s
Search_Success1_PCRE/256 500000 3351 ns/op 76.39 MB/s
Search_Success1_PCRE/512 500000 4775 ns/op 107.22 MB/s
Search_Success1_PCRE/1K 200000 7626 ns/op 134.27 MB/s
Search_Success1_PCRE/2K 200000 13284 ns/op 154.17 MB/s
Search_Success1_PCRE/4K 100000 24592 ns/op 166.56 MB/s
Search_Success1_PCRE/8K 50000 47260 ns/op 173.34 MB/s
Search_Success1_PCRE/16K 20000 92599 ns/op 176.93 MB/s
Search_Success1_PCRE/32K 10000 183386 ns/op 178.68 MB/s
Search_Success1_PCRE/64K 5000 364838 ns/op 179.63 MB/s
Search_Success1_PCRE/128K 2000 728548 ns/op 179.91 MB/s
Search_Success1_PCRE/256K 1000 1458127 ns/op 179.78 MB/s
Search_Success1_PCRE/512K 500 2927280 ns/op 179.10 MB/s
Search_Success1_PCRE/1M 500 5853210 ns/op 179.15 MB/s
Search_Success1_PCRE/2M 200 11886770 ns/op 176.43 MB/s
Search_Success1_PCRE/4M 100 24400970 ns/op 171.89 MB/s
Search_Success1_PCRE/8M 50 50996900 ns/op 164.49 MB/s
Search_Success1_PCRE/16M 10 135681900 ns/op 123.65 MB/s
Search_Success1_RE2/8 100000 27018 ns/op 0.30 MB/s
Search_Success1_RE2/16 100000 27002 ns/op 0.59 MB/s
Search_Success1_RE2/32 100000 27343 ns/op 1.17 MB/s
Search_Success1_RE2/64 100000 27321 ns/op 2.34 MB/s
Search_Success1_RE2/128 100000 27794 ns/op 4.61 MB/s
Search_Success1_RE2/256 100000 27807 ns/op 9.21 MB/s
Search_Success1_RE2/512 100000 28664 ns/op 17.86 MB/s
Search_Success1_RE2/1K 50000 30116 ns/op 34.00 MB/s
Search_Success1_RE2/2K 50000 33360 ns/op 61.39 MB/s
Search_Success1_RE2/4K 50000 40118 ns/op 102.10 MB/s
Search_Success1_RE2/8K 50000 52901 ns/op 154.85 MB/s
Search_Success1_RE2/16K 20000 78892 ns/op 207.68 MB/s
Search_Success1_RE2/32K 10000 131013 ns/op 250.11 MB/s
Search_Success1_RE2/64K 10000 234601 ns/op 279.35 MB/s
Search_Success1_RE2/128K 5000 442246 ns/op 296.38 MB/s
Search_Success1_RE2/256K 2000 859127 ns/op 305.13 MB/s
Search_Success1_RE2/512K 1000 1697416 ns/op 308.87 MB/s
Search_Success1_RE2/1M 500 3394086 ns/op 308.94 MB/s
Search_Success1_RE2/2M 200 6933840 ns/op 302.45 MB/s
Search_Success1_RE2/4M 100 14439980 ns/op 290.46 MB/s
Search_Success1_RE2/8M 50 30989920 ns/op 270.69 MB/s
Search_Success1_RE2/16M 20 74560700 ns/op 225.01 MB/s
Search_Success1_Cached_PCRE/8 10000000 257 ns/op 31.10 MB/s
Search_Success1_Cached_PCRE/16 5000000 311 ns/op 51.42 MB/s
Search_Success1_Cached_PCRE/32 5000000 418 ns/op 76.48 MB/s
Search_Success1_Cached_PCRE/64 5000000 633 ns/op 101.03 MB/s
Search_Success1_Cached_PCRE/128 2000000 935 ns/op 136.78 MB/s
Search_Success1_Cached_PCRE/256 1000000 1643 ns/op 155.79 MB/s
Search_Success1_Cached_PCRE/512 500000 3058 ns/op 167.41 MB/s
Search_Success1_Cached_PCRE/1K 500000 5888 ns/op 173.89 MB/s
Search_Success1_Cached_PCRE/2K 200000 11550 ns/op 177.30 MB/s
Search_Success1_Cached_PCRE/4K 100000 22873 ns/op 179.07 MB/s
Search_Success1_Cached_PCRE/8K 50000 45522 ns/op 179.95 MB/s
Search_Success1_Cached_PCRE/16K 20000 90830 ns/op 180.38 MB/s
Search_Success1_Cached_PCRE/32K 10000 181547 ns/op 180.49 MB/s
Search_Success1_Cached_PCRE/64K 5000 362960 ns/op 180.56 MB/s
Search_Success1_Cached_PCRE/128K 2000 726612 ns/op 180.39 MB/s
Search_Success1_Cached_PCRE/256K 1000 1456167 ns/op 180.02 MB/s
Search_Success1_Cached_PCRE/512K 500 2924960 ns/op 179.25 MB/s
Search_Success1_Cached_PCRE/1M 500 5850124 ns/op 179.24 MB/s
Search_Success1_Cached_PCRE/2M 200 11879665 ns/op 176.53 MB/s
Search_Success1_Cached_PCRE/4M 100 24385800 ns/op 172.00 MB/s
Search_Success1_Cached_PCRE/8M 50 50977600 ns/op 164.55 MB/s
Search_Success1_Cached_PCRE/16M 10 135651600 ns/op 123.68 MB/s
Search_Success1_Cached_RE2/8 5000000 347 ns/op 23.00 MB/s
Search_Success1_Cached_RE2/16 5000000 373 ns/op 42.83 MB/s
Search_Success1_Cached_RE2/32 5000000 423 ns/op 75.55 MB/s
Search_Success1_Cached_RE2/64 5000000 523 ns/op 122.23 MB/s
Search_Success1_Cached_RE2/128 5000000 731 ns/op 174.97 MB/s
Search_Success1_Cached_RE2/256 1000000 1133 ns/op 225.85 MB/s
Search_Success1_Cached_RE2/512 1000000 1942 ns/op 263.56 MB/s
Search_Success1_Cached_RE2/1K 500000 3560 ns/op 287.62 MB/s
Search_Success1_Cached_RE2/2K 500000 6794 ns/op 301.40 MB/s
Search_Success1_Cached_RE2/4K 200000 13267 ns/op 308.73 MB/s
Search_Success1_Cached_RE2/8K 100000 26210 ns/op 312.54 MB/s
Search_Success1_Cached_RE2/16K 50000 52100 ns/op 314.47 MB/s
Search_Success1_Cached_RE2/32K 10000 104040 ns/op 314.95 MB/s
Search_Success1_Cached_RE2/64K 10000 207650 ns/op 315.61 MB/s
Search_Success1_Cached_RE2/128K 5000 415201 ns/op 315.68 MB/s
Search_Success1_Cached_RE2/256K 2000 831979 ns/op 315.08 MB/s
Search_Success1_Cached_RE2/512K 1000 1670071 ns/op 313.93 MB/s
Search_Success1_Cached_RE2/1M 500 3366256 ns/op 311.50 MB/s
Search_Success1_Cached_RE2/2M 200 6902045 ns/op 303.85 MB/s
Search_Success1_Cached_RE2/4M 100 14384020 ns/op 291.59 MB/s
Search_Success1_Cached_RE2/8M 50 30929640 ns/op 271.22 MB/s
Search_Success1_Cached_RE2/16M 20 74502350 ns/op 225.19 MB/s
Search_Digits_PCRE 500000 5023 ns/op
Search_Digits_RE2 100000 21787 ns/op
Parse_Digits_PCRE 500000 5015 ns/op
Parse_Digits_RE2 200000 9912 ns/op
Parse_CachedDigits_PCRE 5000000 448 ns/op
Parse_CachedDigits_RE2 10000000 266 ns/op
Parse_DigitDs_PCRE 500000 4128 ns/op
Parse_DigitDs_RE2 200000 9679 ns/op
Parse_CachedDigitDs_PCRE 5000000 459 ns/op
Parse_CachedDigitDs_RE2 10000000 265 ns/op
Parse_Split_PCRE 500000 3122 ns/op
Parse_Split_RE2 200000 11139 ns/op
Parse_CachedSplit_PCRE 5000000 333 ns/op
Parse_CachedSplit_RE2 10000000 170 ns/op
Parse_SplitHard_PCRE 500000 3113 ns/op
Parse_SplitHard_RE2 200000 14117 ns/op
Parse_CachedSplitHard_PCRE 5000000 328 ns/op
Parse_CachedSplitHard_RE2 1000000 2472 ns/op
Parse_CachedSplitBig1_PCRE 500 4502404 ns/op
Parse_CachedSplitBig1_RE2 5000 635120 ns/op
Parse_CachedSplitBig2_PCRE 5000 553267 ns/op
Parse_CachedSplitBig2_RE2 50 51601920 ns/op
BM_PCRE_Compile 500000 3798 ns/op
BM_RE2_Compile 200000 10923 ns/op
SearchPhone_CachedPCRE/8 1000000 1196 ns/op 6.68 MB/s
SearchPhone_CachedPCRE/16 1000000 1969 ns/op 8.12 MB/s
SearchPhone_CachedPCRE/32 500000 3511 ns/op 9.11 MB/s
SearchPhone_CachedPCRE/64 500000 6563 ns/op 9.75 MB/s
SearchPhone_CachedPCRE/128 200000 12796 ns/op 10.00 MB/s
SearchPhone_CachedPCRE/256 100000 25045 ns/op 10.22 MB/s
SearchPhone_CachedPCRE/512 50000 49381 ns/op 10.37 MB/s
SearchPhone_CachedPCRE/1K 20000 98166 ns/op 10.43 MB/s
SearchPhone_CachedPCRE/2K 10000 193434 ns/op 10.59 MB/s
SearchPhone_CachedPCRE/4K 5000 382921 ns/op 10.70 MB/s
SearchPhone_CachedPCRE/8K 2000 765255 ns/op 10.70 MB/s
SearchPhone_CachedPCRE/16K 1000 1524376 ns/op 10.75 MB/s
SearchPhone_CachedPCRE/32K 500 3046932 ns/op 10.75 MB/s
SearchPhone_CachedPCRE/64K 500 6088620 ns/op 10.76 MB/s
SearchPhone_CachedPCRE/128K 100 12170430 ns/op 10.77 MB/s
SearchPhone_CachedPCRE/256K 100 24329780 ns/op 10.77 MB/s
SearchPhone_CachedPCRE/512K 50 48663960 ns/op 10.77 MB/s
SearchPhone_CachedPCRE/1M 20 97341800 ns/op 10.77 MB/s
SearchPhone_CachedPCRE/2M 10 194512900 ns/op 10.78 MB/s
SearchPhone_CachedPCRE/4M 5 389369200 ns/op 10.77 MB/s
SearchPhone_CachedPCRE/8M 5 778852600 ns/op 10.77 MB/s
SearchPhone_CachedPCRE/16M 1 1558273000 ns/op 10.77 MB/s
SearchPhone_CachedRE2/8 2000000 884 ns/op 9.05 MB/s
SearchPhone_CachedRE2/16 2000000 913 ns/op 17.52 MB/s
SearchPhone_CachedRE2/32 2000000 965 ns/op 33.14 MB/s
SearchPhone_CachedRE2/64 1000000 1078 ns/op 59.32 MB/s
SearchPhone_CachedRE2/128 1000000 1269 ns/op 100.87 MB/s
SearchPhone_CachedRE2/256 1000000 1678 ns/op 152.50 MB/s
SearchPhone_CachedRE2/512 1000000 2482 ns/op 206.26 MB/s
SearchPhone_CachedRE2/1K 500000 4110 ns/op 249.11 MB/s
SearchPhone_CachedRE2/2K 500000 7347 ns/op 278.74 MB/s
SearchPhone_CachedRE2/4K 200000 13805 ns/op 296.70 MB/s
SearchPhone_CachedRE2/8K 100000 26763 ns/op 306.09 MB/s
SearchPhone_CachedRE2/16K 50000 52718 ns/op 310.78 MB/s
SearchPhone_CachedRE2/32K 10000 104770 ns/op 312.76 MB/s
SearchPhone_CachedRE2/64K 10000 208323 ns/op 314.59 MB/s
SearchPhone_CachedRE2/128K 5000 415437 ns/op 315.50 MB/s
SearchPhone_CachedRE2/256K 2000 829593 ns/op 315.99 MB/s
SearchPhone_CachedRE2/512K 1000 1657998 ns/op 316.22 MB/s
SearchPhone_CachedRE2/1M 500 3314964 ns/op 316.32 MB/s
SearchPhone_CachedRE2/2M 500 6639102 ns/op 315.88 MB/s
SearchPhone_CachedRE2/4M 100 13334810 ns/op 314.54 MB/s
SearchPhone_CachedRE2/8M 100 26721480 ns/op 313.93 MB/s
SearchPhone_CachedRE2/16M 50 53438280 ns/op 313.96 MB/s
EmptyPartialMatchPCRE 20000000 138 ns/op
EmptyPartialMatchRE2 5000000 314 ns/op
SimplePartialMatchPCRE 10000000 193 ns/op
SimplePartialMatchRE2 5000000 344 ns/op
HTTPPartialMatchPCRE 5000000 574 ns/op
HTTPPartialMatchRE2 5000000 621 ns/op
SmallHTTPPartialMatchPCRE 5000000 576 ns/op
SmallHTTPPartialMatchRE2 5000000 625 ns/op
DotMatchPCRE 5000000 414 ns/op
DotMatchRE2 5000000 670 ns/op
ASCIIMatchPCRE 5000000 395 ns/op
ASCIIMatchRE2 5000000 668 ns/op
==BENCHMARK== c2 Fri Feb 26 16:11:53 PST 2010
# Linux c2 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux
# g++ (Ubuntu 4.4.1-4ubuntu8) 4.4.1
# Copyright (C) 2009 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# fd9366132ce9+ tip
# obj/test/regexp_benchmark: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped
Search_Easy0_CachedPCRE/8 10000000 132 ns/op 60.22 MB/s
Search_Easy0_CachedPCRE/16 10000000 158 ns/op 100.63 MB/s
Search_Easy0_CachedPCRE/32 10000000 215 ns/op 148.22 MB/s
Search_Easy0_CachedPCRE/64 5000000 329 ns/op 194.12 MB/s
Search_Easy0_CachedPCRE/128 5000000 429 ns/op 297.74 MB/s
Search_Easy0_CachedPCRE/256 1000000 1081 ns/op 236.75 MB/s
Search_Easy0_CachedPCRE/512 1000000 1740 ns/op 294.12 MB/s
Search_Easy0_CachedPCRE/1K 500000 3390 ns/op 302.01 MB/s
Search_Easy0_CachedPCRE/2K 500000 5682 ns/op 360.42 MB/s
Search_Easy0_CachedPCRE/4K 200000 10631 ns/op 385.26 MB/s
Search_Easy0_CachedPCRE/8K 100000 21774 ns/op 376.22 MB/s
Search_Easy0_CachedPCRE/16K 50000 42171 ns/op 388.51 MB/s
Search_Easy0_CachedPCRE/32K 20000 85140 ns/op 384.87 MB/s
Search_Easy0_CachedPCRE/64K 10000 169833 ns/op 385.88 MB/s
Search_Easy0_CachedPCRE/128K 5000 341039 ns/op 384.33 MB/s
Search_Easy0_CachedPCRE/256K 5000 680619 ns/op 385.15 MB/s
Search_Easy0_CachedPCRE/512K 2000 1363481 ns/op 384.52 MB/s
Search_Easy0_CachedPCRE/1M 1000 2726584 ns/op 384.57 MB/s