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

amacd31 / phildb / 101
88%
master: 88%

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

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

4.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 101.1 17 Dec 2015 11:40AM UTC 0
89.53
Travis Job 101.1
2 101.2 17 Dec 2015 11:43AM UTC 0
89.53
Travis Job 101.2
3 101.3 17 Dec 2015 11:41AM UTC 0
89.53
Travis Job 101.3
4 101.4 17 Dec 2015 11:52AM UTC 0
89.53
Travis Job 101.4
5 101.5 17 Dec 2015 11:40AM UTC 0
89.53
Travis Job 101.5
Source Files on build 101
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #101
  • 8de0c175 on github
  • Prev Build on dev (#100)
  • Next Build on dev (#102)
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