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

LookingForMe / lookingfor / 71
59%
master: 63%

Build:
Build:
LAST BUILD BRANCH: mailer
DEFAULT BRANCH: master
Ran 04 Jun 2016 01:44AM UTC
Jobs 1
Files 19
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

pending completion
71

push

travis-ci

hhoopes
Add development seeds, rake task, and logging

The solution I eventually decided on for performance logging/tracking I picked
as the most maintainable and that provides some flexibility in the development
environment.

Instead of creating a staging server, a developer looking to test code can
seed the development db with `rake db:seed` (as usual), a process that will
take about 30 min to load 12000 companies and 30000 jobs. While this is lower
than the acceptance criteria, it still is an increase on what we have in
production currently and can be bumped up as our app gets bigger. Because of the
time to seed the db, I wasn't sure that any more records would be feasible for
developers shifting onto this project.

However, this allows a developer to use the new rake task `rake load_script:run`
to hit any endpoint in rapid succession, generating data to `logs/request.log`.
Additionally, we have access to New Relic data at the endpoint `localhost:3000/newrelic`.

Currently the rake task is only hitting the index and a random job listing, but
anyone can add new endpoints easily in `lib/load_script/job_endpoints` using
plain ol' Capybara.

While we may still need to decide on a better solution for viewing production
performance data, this PR gives some flexibility

165 of 244 relevant lines covered (67.62%)

17.19 hits per line

Jobs
ID Job ID Ran Files Coverage
1 71.1 (2.3.0) 04 Jun 2016 01:44AM UTC 0
67.62
Travis Job 71.1
Source Files on build 71
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #71
  • 9bcb5818 on github
  • Next Build on 9-database-load-testing (#78)
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