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

optimizely / javascript-sdk / 2920 / 8
78%
master: 78%

Build:
DEFAULT BRANCH: master
Ran 29 Sep 2021 10:35PM UTC
Files 72
Run time 16s
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

20 Sep 2021 07:50PM UTC coverage: 96.993%. Remained the same
SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH

cron

travis-ci-com

web-flow
Removed OptimizelyConfig creation from SDK initialization to reduce intialization time (#704)

## Summary
`OptimizelyConfig` object is created during initialization of `Optimizely` Instance. This almost doubles the initialization time for the SDK. This PR moves the creation of `OptimizelyConfig` object to `getOptimizelyConfig`. The `OptimizelyConfig` object will be created and cached when the `getOptimizelyConfig` API is called for the first time after every data file update.

## Test plan
- Manually tested thoroughly
- Updated unit tests
- All FSC test pass

976 of 1099 branches covered (88.81%)

Branch coverage included in aggregate %.

8894 of 9077 relevant lines covered (97.98%)

69.64 hits per line

Source Files on job 2920.8 (SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 2092
  • Travis Job 2920.8
  • f33af134 on github
  • Prev Job for SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH on master (#2915.3)
  • Next Job for SDK=javascript SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH on master (#2932.2)
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