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

giampaolo / psutil / 3513 / 3
93%
master: 93%

Build:
DEFAULT BRANCH: master
Ran 02 May 2020 05:43PM UTC
Files 4
Run time 0s
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

02 May 2020 05:42PM UTC coverage: 90.528% (-0.04%) from 90.569%
3513.3

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

Source Files on job 3513.3
  • Tree
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3126
  • Travis Job 3513.3
  • 6f2bdc42 on github
  • Prev Job for on master (#3512.3)
  • Next Job for on master (#3520.3)
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