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

cdown / srt / 1719
100%

Build:
DEFAULT BRANCH: develop
Ran 26 Jul 2021 02:12PM UTC
Jobs 1
Files 1
Run time 1min
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
1719

push

travis-ci-com

cdown
parsing: Support parsing input with no milliseconds

Very slightly slower, but seems worth supporting:

After:

    In [1]: import srt

    In [2]: with open('/dev/shm/tsw.srt') as f:
    ...:     srt_data = f.read()
    ...:

    In [3]: len(srt_data)
    Out[3]: 289924

    In [4]: %timeit -n 1000 list(srt.parse(srt_data))
    19.2 ms ± 464 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each)

Before:

    In [5]: %timeit -n 1000 list(srt.parse(srt_data))
    18.7 ms ± 436 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each)

See https://github.com/smacke/ffsubsync/issues/123 for use case.

54 of 54 branches covered (100.0%)

3 of 3 new or added lines in 1 file covered. (100.0%)

134 of 134 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
5 1719.5 (TOXENV=doctest,black,pylint,pytype,bandit,coverage) 26 Jul 2021 02:12PM UTC 0
100.0
Travis Job 1719.5
Source Files on build 1719
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #1719
  • 8eb45f98 on github
  • Prev Build on develop (#1717)
  • Next Build on develop (#1721)
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