Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve testsuite performance (speed, parallelization) [33] #84

Open
1 of 6 tasks
brejoc opened this issue Mar 11, 2020 · 1 comment
Open
1 of 6 tasks

Improve testsuite performance (speed, parallelization) [33] #84

brejoc opened this issue Mar 11, 2020 · 1 comment

Comments

@brejoc
Copy link

brejoc commented Mar 11, 2020

Salt TestSuite Documentation: https://docs.saltstack.com/en/latest/topics/development/tests/index.html#salt-s-test-suite

Checkout: saltstack/salt#53566

Speed improvements

Parallelization

  • research how to group the tests in relevant units
  • create PoC of running the groups in parallel
  • present results
@waynew
Copy link

waynew commented Apr 8, 2020

Here's the slowest tests - about 1,000 - from Salt (pulled from Jenkins).

SaltStack tests that never ran _1s - Tests to skip (_1s).csv.txt

For each of the platforms that we test (see Jenkins), these are the tests that never ran <1s. Every single test took >=1s to run. I included the max and min test times, since some of the tests ran faster on one platform than the other. The times are in seconds.

This represents about 10% of the tests that are executed on any platform.

For some extra flavor, here's another breakdown by test times:

Screen Shot 2020-04-08 at 10 31 40 AM

The legend on the right is the threshold in seconds. About 75% of tests take <0.01s, and then about another ~7% of tests <0.1s, <1s respectively, to get ~90% of tests <1s.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants