CesiumGS / CesiumGS/cesium

Unit tests have gotten slow

Open
#6,570 3 comments 0 reactions 0 assignees View on GitHub
priority - high
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

Cesium's unit tests used to run in 45 seconds in Chrome, over the past year they have crept up to 3 minutes! Older slow browsers (IE) can take as long as 10 minutes.

I'm fairly certain that there are only one or two severely long running tests that are causing the problem. We should identify them and also put checks in place to ensure that they are not re-introduced.

Contributor guide

Open the contributing guide

Research direction

Start by running Cesium's unit-test suite in Chrome and an older browser, then identify the one or two tests responsible for the increase from 45 seconds to several minutes. Done means the slow tests are identified and checks are in place to prevent their runtime from regressing.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
performance, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.