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

az0 / bleachbit / 277 / 2
66%
master: 66%

Build:
DEFAULT BRANCH: master
Ran 06 Nov 2015 10:13PM UTC
Files 18
Run time 2s
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

06 Nov 2015 10:08PM UTC coverage: 63.506% (+0.01%) from 63.494%
277.2

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%)

0.64 hits per line

Source Files on job 277.2
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 277
  • Travis Job 277.2
  • 7ec73740 on github
  • Prev Job for on master (#276.1)
  • Next Job for on master (#278.2)
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