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

amacd31 / phildb / 101 / 5
88%
master: 88%

Build:
Build:
LAST BUILD BRANCH: v0.6.13
DEFAULT BRANCH: master
Ran 17 Dec 2015 11:40AM UTC
Files 10
Run time 1s
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

17 Dec 2015 11:27AM UTC coverage: 89.529% (-0.02%) from 89.547%
101.5

push

travis-ci

amacd31
Simplify date conversion code in irregular write

Attempt to improve performance of irregular series writes by simplifying
the date conversion and comparison code.

Timings of tests:

In []: date = pd.to_datetime(datetime(2015,1,1, 10, 15, 12, 10))

In []: %timeit -n 100000 -r 3 int(date.value / 1000000000)
100000 loops, best of 3: 432 ns per loop    # Selected for this commit

In []: %timeit -n 100000 -r 3 calendar.timegm(date.utctimetuple())
100000 loops, best of 3: 3.13 µs per loop   # Previous method

In []: %timeit -n 100000 -r 3 np.datetime64(date, 's').astype('int')
100000 loops, best of 3: 31.6 µs per loop   # Alternate method investigated

Signed-off-by: Andrew MacDonald <andrew@maccas.net>

513 of 573 relevant lines covered (89.53%)

0.9 hits per line

Source Files on job 101.5
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 101
  • Travis Job 101.5
  • 8de0c175 on github
  • Prev Job for on dev (#100.5)
  • Next Job for on dev (#102.5)
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