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

pantsbuild / pants / 7121
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: update_setup_protoc
DEFAULT BRANCH: main
Ran 28 Sep 2015 06:54PM UTC
Jobs 8
Files 0
Run time –
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
7121

push

travis-ci

Benjy
Two performance hacks in build file parsing.

1. Ignore hidden dirs when scanning for BUILD files.

It can be expensive to scan inside .git, .pants.d, .local_artifact_cache
and so on, and this is never what the user means by :: anyway.

This cut the run time of ./pants list from 50 to 25 seconds at Foursquare.

2. Memoize the addressable factory instances.

This cut the run time down further, from 25 to 20 seconds.

Testing Done:
CI passes: https://travis-ci.org/pantsbuild/pants/builds/82244881.

Reviewed at https://rbcommons.com/s/twitter/r/2895/
Jobs
ID Job ID Ran Files Coverage
1 7121.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 28 Sep 2015 06:54PM UTC 0
Travis Job 7121.1
4 7121.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 28 Sep 2015 06:59PM UTC 0
Travis Job 7121.4
5 7121.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 28 Sep 2015 07:01PM UTC 0
Travis Job 7121.5
6 7121.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 28 Sep 2015 07:03PM UTC 0
Travis Job 7121.6
7 7121.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 28 Sep 2015 07:10PM UTC 0
Travis Job 7121.7
8 7121.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 28 Sep 2015 07:05PM UTC 0
Travis Job 7121.8
9 7121.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 28 Sep 2015 07:07PM UTC 0
Travis Job 7121.9
10 7121.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 28 Sep 2015 07:09PM UTC 0
Travis Job 7121.10
Source Files on build 7121
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7121
  • 3a97918e on github
  • Prev Build on master (#7118)
  • Next Build on master (#7128)
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