Skip to content
This repository was archived by the owner on Aug 15, 2019. It is now read-only.

Limit calls to browserstack. Reduce CI time by using a single bundle instead of 3. #1857

Merged
merged 3 commits into from
Jul 25, 2019

Conversation

dsmilkov
Copy link
Contributor

@dsmilkov dsmilkov commented Jul 25, 2019

Several improvements to our test infra:

  • In node, a web worker doesn't need the pre-bundled tf-core.min.js. Shaves off 1 min.
  • Speedup the browserstack tests by only producing one minified bundle instead of 3.
  • Reduce browserstack API queries by combining several browsers in a single browserstack call (reduces chances of API rate limit).

To run the node webworker test, you need node >=10.5.0 with an experimental flag:

yarn tsc && node --experimental-worker dist/test_node.js

This change is Reviewable

@dsmilkov dsmilkov requested a review from nsthorat July 25, 2019 15:12
Copy link
Contributor

@nsthorat nsthorat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 4 of 4 files at r1.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained (waiting on @nsthorat)

@dsmilkov dsmilkov merged commit 8361f6a into master Jul 25, 2019
@dsmilkov dsmilkov deleted the node-worker-fix branch July 25, 2019 20:45
@dsmilkov dsmilkov changed the title Make node web worker test not need a bundle. Limit calls to browserstack. Reduce CI time by using a single bundle instead of 3. Jul 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants