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

gonum / gonum / 1617
77%

Build:
DEFAULT BRANCH: master
Ran 05 Feb 2018 04:14PM UTC
Jobs 4
Files 337
Run time 6min
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
1617

push

travis-ci

web-flow
optimize: completely overhaul Global (#352)

* optimize: completely overhaul Global

The previous implementation of Global was a minefield for incorrectly implementing global optimization methods. It was very difficult to correctly implement methods (both of the provided methods were incorrect), and the resulting code is very ugly. This commit switches to use channels to communicate, allowing a more clear ordering of concurrent code. This also enables better shutdown of methods.

In addition to the main fix of Global, this refactors the two Global methods to use the updated interface, and makes some small improvements that were previously not possible. In addition, there are some small cleanups of Local to better match between the two calls.

If anyone has been curious about what is meant by 'Don't communicate by sharing memory, share memory by communicating' this is it, and why.

* respond to PR comments

* make constants

* simplify termination logic

* optimize: simplify stats collection

* overhaul documentation and respond to PR comments

* implement PR requests

* clean up cmaes

38290 of 51743 relevant lines covered (74.0%)

3.43 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1617.1 05 Feb 2018 04:19PM UTC 0
73.73
Travis Job 1617.1
2 1617.2 05 Feb 2018 04:18PM UTC 0
74.01
Travis Job 1617.2
3 1617.3 05 Feb 2018 04:20PM UTC 0
74.02
Travis Job 1617.3
4 1617.4 05 Feb 2018 04:14PM UTC 0
74.02
Travis Job 1617.4
Source Files on build 1617
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1617
  • 996b88e8 on github
  • Prev Build on master (#1599)
  • Next Build on master (#1683)
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