• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

az0 / bleachbit / 277
66%

Build:
DEFAULT BRANCH: master
Ran 06 Nov 2015 10:13PM UTC
Jobs 2
Files 18
Run time 35s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
277

push

travis-ci

az0
Speed up regular expression matching

Even though Python caches regular expressions, this is still faster based on
these two benchmarks.

LP#1265963,1461282

Ubuntu 15.04, Python 2.7.10, n_files=100000
rate is about 50% faster

for a in {1..10}; do python tests/TestAction.py  benchmark; done

rate_notcompiled = c(130693.36, 120530.86, 79490.69, 113399.66, 131119.49, 133069.16, 121116.38, 125128.89, 129477.68, 135112.15)
mean(rate_notcompiled)
rate_compiled = c(180902.50, 187746.18, 179429.78, 169607.72, 177385.76, 183168.02, 187285.60, 178286.80, 184991.30, 178620.50)
mean(rate_compiled)
(mean(rate_compiled)-mean(rate_notcompiled))/mean(rate_notcompiled)

Microsoft Windows XP, Python 2.5.4, n_files=10000
rate is about 5% faster

for %N in (1 2 3 4 5 6 7 8 9 10) do tests\TestAction.py benchmark

rate_notcompiled = c(58823.59, 58823.59, 49999.99, 58823.50, 58823.59, 58479.53, 58479.53, 58823.59, 58823.50)
mean(rate_notcompiled)
rate_compiled = c(58823.59, 55555.53, 62111.80, 62111.80, 66666.62, 62111.80, 62111.80, 58823.59, 62499.97, 58823.50)
mean(rate_compiled)
(mean(rate_compiled)-mean(rate_notcompiled))/mean(rate_notcompiled)

1949 of 3069 relevant lines covered (63.51%)

1.27 hits per line

Jobs
ID Job ID Ran Files Coverage
1 277.1 06 Nov 2015 10:14PM UTC 0
63.51
Travis Job 277.1
2 277.2 06 Nov 2015 10:13PM UTC 0
63.51
Travis Job 277.2
Source Files on build 277
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #277
  • 7ec73740 on github
  • Prev Build on master (#276)
  • Next Build on master (#278)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc