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

criteo / biggraphite / 1824
82%

Build:
DEFAULT BRANCH: master
Ran 03 Sep 2018 08:26AM UTC
Jobs 4
Files 63
Run time 3min
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
1824

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>

4726 of 5774 relevant lines covered (81.85%)

2.45 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1824.1 (TOXENV=py27-coverage) 03 Sep 2018 08:28AM UTC 0
81.78
Travis Job 1824.1
2 1824.2 (TOXENV=py36-coverage) 03 Sep 2018 08:28AM UTC 0
81.78
Travis Job 1824.2
3 1824.3 (TOXENV=pypy-coverage) 03 Sep 2018 08:29AM UTC 0
81.75
Travis Job 1824.3
4 1824.4 (TOXENV=pylama) 03 Sep 2018 08:26AM UTC 0
Travis Job 1824.4
Source Files on build 1824
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1824
  • b203f460 on github
  • Prev Build on master (#1816)
  • Next Build on master (#1828)
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