[darcs-users] Regular Expression libraries and linker errors

Ben Franksen benjamin.franksen at bessy.de
Tue Oct 6 21:49:26 UTC 2009


Ben Franksen wrote:
> Sure, file is attached.

This is the output on my machine at home:

ben at sarun[2]: ~/tmp > uname -a
Linux sarun 2.6.24-24-generic #1 SMP Sat Aug 22 01:06:14 UTC 2009 i686
GNU/Linux

ben at sarun[2]: ~/tmp > ghc --make regexbench.hs
[1 of 1] Compiling Main             ( regexbench.hs, regexbench.o )
Linking regexbench ...

ben at sarun[2]: ~/tmp > ./regexbench
warming up
estimating clock resolution...
mean is 23.25480 us (40001 iterations)
found 2677 outliers among 39999 samples (6.7%)
  1664 (4.2%) high mild
  998 (2.5%) high severe
estimating cost of a clock call...
mean is 470.0774 ns (51 iterations)
found 1 outliers among 51 samples (2.0%)
  1 (2.0%) high severe

benchmarking "src/Darcs/Commands/ShowRepo.lhs"
/"(^|/)\\.waf-[[:digit:].]+-[[:digit:]]+($|/)"
/Pcre
collecting 100 samples, 1856 iterations each, in estimated 2.326327 s
bootstrapping with 100000 resamples
mean: 8.641011 us, lb 8.460654 us, ub 9.051038 us, ci 0.950
std dev: 1.321120 us, lb 678.7278 ns, ub 2.463836 us, ci 0.950
found 4 outliers among 100 samples (4.0%)
  4 (4.0%) high severe
variance introduced by outliers: 1.000%
variance is unaffected by outliers

benchmarking "src/Darcs/Commands/ShowRepo.lhs"
/"(^|/)\\.waf-[[:digit:].]+-[[:digit:]]+($|/)"
/Posix
collecting 100 samples, 323 iterations each, in estimated 2.326295 s
bootstrapping with 100000 resamples
mean: 64.39238 us, lb 57.26820 us, ub 73.02616 us, ci 0.950
std dev: 40.24799 us, lb 34.49050 us, ub 44.94986 us, ci 0.950
found 23 outliers among 100 samples (23.0%)
  23 (23.0%) high severe
variance introduced by outliers: 1.000%
variance is unaffected by outliers

benchmarking "src/Darcs/Commands/ShowRepo.lhs"
/"(^|/)\\.waf-[[:digit:].]+-[[:digit:]]+($|/)"
/Tdfa
collecting 100 samples, 99 iterations each, in estimated 2.329346 s
bootstrapping with 100000 resamples
mean: 243.7926 us, lb 239.1686 us, ub 254.5174 us, ci 0.950
std dev: 35.41197 us, lb 19.14820 us, ub 57.26418 us, ci 0.950
found 6 outliers among 100 samples (6.0%)
  3 (3.0%) high mild
  3 (3.0%) high severe
variance introduced by outliers: 1.000%
variance is unaffected by outliers

benchmarking "src/Darcs/Commands/ShowRepo.lhs"
/"(^|/)autom4te\\.cache($|/)"
/Pcre
collecting 100 samples, 1900 iterations each, in estimated 2.326202 s
bootstrapping with 100000 resamples
mean: 14.01089 us, lb 13.34352 us, ub 15.36805 us, ci 0.950
std dev: 4.674630 us, lb 2.842177 us, ub 8.309711 us, ci 0.950
found 9 outliers among 100 samples (9.0%)
  8 (8.0%) high severe
variance introduced by outliers: 1.000%
variance is unaffected by outliers

benchmarking "src/Darcs/Commands/ShowRepo.lhs"
/"(^|/)autom4te\\.cache($|/)"
/Posix
collecting 100 samples, 340 iterations each, in estimated 2.331064 s
bootstrapping with 100000 resamples
mean: 63.77359 us, lb 56.65956 us, ub 72.87403 us, ci 0.950
std dev: 41.14109 us, lb 34.98145 us, ub 52.77554 us, ci 0.950
found 21 outliers among 100 samples (21.0%)
  3 (3.0%) high mild
  18 (18.0%) high severe
variance introduced by outliers: 1.000%
variance is unaffected by outliers

benchmarking "src/Darcs/Commands/ShowRepo.lhs"
/"(^|/)autom4te\\.cache($|/)"
/Tdfa
collecting 100 samples, 91 iterations each, in estimated 2.337771 s
bootstrapping with 100000 resamples
mean: 302.9801 us, lb 286.5632 us, ub 326.5684 us, ci 0.950
std dev: 99.54163 us, lb 76.85540 us, ub 125.5760 us, ci 0.950
found 18 outliers among 100 samples (18.0%)
  2 (2.0%) high mild
  16 (16.0%) high severe
variance introduced by outliers: 1.000%
variance is unaffected by outliers

benchmarking "src/Darcs/Commands/ShowRepo.lhs"
/"\\.(obj|a|exe|so|lo|la)$"
/Pcre
collecting 100 samples, 1219 iterations each, in estimated 2.326073 s
bootstrapping with 100000 resamples
mean: 9.354330 us, lb 8.526048 us, ub 10.64696 us, ci 0.950
std dev: 5.194810 us, lb 3.873071 us, ub 7.894783 us, ci 0.950
found 21 outliers among 100 samples (21.0%)
  4 (4.0%) high mild
  17 (17.0%) high severe
variance introduced by outliers: 1.000%
variance is unaffected by outliers

benchmarking "src/Darcs/Commands/ShowRepo.lhs"
/"\\.(obj|a|exe|so|lo|la)$"
/Posix
collecting 100 samples, 356 iterations each, in estimated 2.330686 s
bootstrapping with 100000 resamples
mean: 59.35100 us, lb 53.08798 us, ub 66.90903 us, ci 0.950
std dev: 35.30613 us, lb 30.10779 us, ub 39.56656 us, ci 0.950
found 22 outliers among 100 samples (22.0%)
  22 (22.0%) high severe
variance introduced by outliers: 1.000%
variance is unaffected by outliers

benchmarking "src/Darcs/Commands/ShowRepo.lhs"
/"\\.(obj|a|exe|so|lo|la)$"
/Tdfa
collecting 100 samples, 100 iterations each, in estimated 2.342034 s
bootstrapping with 100000 resamples
mean: 238.9830 us, lb 235.2194 us, ub 248.5914 us, ci 0.950
std dev: 27.22870 us, lb 3.666930 us, ub 49.42359 us, ci 0.950
found 4 outliers among 100 samples (4.0%)
  2 (2.0%) high mild
  2 (2.0%) high severe
variance introduced by outliers: 1.000%
variance is unaffected by outliers



More information about the darcs-users mailing list