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

giampaolo / psutil / 3513
93%

Build:
DEFAULT BRANCH: master
Ran 02 May 2020 05:43PM UTC
Jobs 1
Files 4
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
3513

push

travis-ci

web-flow
Parallelize fetch all processes tests with proc pool (#1746)

Despite I recently implemented parallel tests on UNIX (#1709), TestFetchAllProcesses class is the slowest one to run because it gets all possible info for all processes in one go. In fact it's a singe unit-test, so it's not parallelized by the test runner. In here I used multiprocessing.Pool to do the trick.

On my main linux box (8 cores):

Before:
----------------------------------------------------------------------
Ran 1 test in 2.511s

After:
----------------------------------------------------------------------
Ran 1 test in 0.931s

On Windows (virtualized, 4 cores):

Before:
----------------------------------------------------------------------
Ran 1 test in 13.752s

After:
----------------------------------------------------------------------
Ran 1 test in 3.951s

2179 of 2407 relevant lines covered (90.53%)

0.91 hits per line

Jobs
ID Job ID Ran Files Coverage
3 3513.3 02 May 2020 05:43PM UTC 0
90.53
Travis Job 3513.3
Source Files on build 3513
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3513
  • 6f2bdc42 on github
  • Prev Build on master (#3512)
  • Next Build on master (#3520)
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

© 2025 Coveralls, Inc