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

f-klubben / stregsystemet / 266
85%
next: 82%

Build:
Build:
LAST BUILD BRANCH: develop-newbackend
DEFAULT BRANCH: next
Ran 01 Oct 2017 07:20PM UTC
Jobs 3
Files 30
Run time 21s
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
266

push

travis-ci

DelusionalLogic
Faster limit query

The other one was just terrible. I had successfully limited myself to
once query, the price was that it had to go over every single sale in
the database, instead of just the ones newer than the start_date. It was
dog slow, and only going to get slow.

The new one here does between 1-3 queries in the db, but should be much
quicker. I've tested it on the complete dataset of the running system,
an it seem performant enough on my laptop.

133 of 208 branches covered (63.94%)

Branch coverage included in aggregate %.

1420 of 1617 relevant lines covered (87.82%)

2.62 hits per line

Jobs
ID Job ID Ran Files Coverage
1 266.1 01 Oct 2017 07:20PM UTC 0
85.2
Travis Job 266.1
2 266.2 01 Oct 2017 07:20PM UTC 0
84.7
Travis Job 266.2
3 266.3 01 Oct 2017 07:20PM UTC 0
84.7
Travis Job 266.3
Source Files on build 266
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #266
  • 667401b0 on github
  • Prev Build on feature-better-limits (#264)
  • Next Build on feature-better-limits (#289)
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