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

criteo / biggraphite / 1824 / 2
82%
master: 82%

Build:
DEFAULT BRANCH: master
Ran 03 Sep 2018 08:28AM UTC
Files 63
Run time 3s
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

03 Sep 2018 08:24AM UTC coverage: 81.78% (+0.2%) from 81.613%
TOXENV=py36-coverage

push

travis-ci

adericbourg
Datetime parsing: improve performance

ElasticsearchAccessor._document_to_metric took 20% of the time for a
`graphite_web` command, due to datetime parsing.
Switching from default parser to ciso8601 reduces this time to 5% of the
total.

Before:

    --------------------------------------------------------------------
       Name                      Call count   Time (ms)
    --------------------------------------------------------------------
       _document_to_metric       2989         1599 (27%)
       str_to_datetime           8981         1284 (21.7%)
       parse                     6161         1276 (21.5%)

After:

    --------------------------------------------------------------------
       Name                      Call count   Time (ms)
    --------------------------------------------------------------------
      _document_to_metric        2989         233 (5.5%)
      str_to_datetime            8981           5 (0.1%)
      <ciso8601.parse_datetime>  6161           2 (0.0%)

Signed-off-by: Alban Dericbourg <a.dericbourg@criteo.com>

4722 of 5774 relevant lines covered (81.78%)

0.82 hits per line

Source Files on job 1824.2 (TOXENV=py36-coverage)
  • Tree
  • List 0
  • Changed 9
  • Source Changed 9
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1738
  • Travis Job 1824.2
  • b203f460 on github
  • Prev Job for TOXENV=py36-coverage on master (#1816.2)
  • Next Job for TOXENV=py36-coverage on master (#1828.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