How many cores and threads can be used in free appveyor build?

rualark's Avatar


20 Oct, 2017 11:31 AM

I like appveyor very much.
Can I use parallel tests, like running multiple tests concurrently? Are there any limitations?

How many cores can be used in paid version?

  1. Support Staff 1 Posted by Ilya Finkelshte... on 20 Oct, 2017 07:18 PM

    Ilya Finkelshteyn's Avatar

    Thank you :)

    There are 2 cores on VMs. I don't thing that running more than 2 test threads in parallel can make things faster because of context switching overhead (but try and see :)). Also be aware of possible race conditions if your tests use some common resources like files, database etc.

    Paid accounts use the same VM, but if you buy more concurrent jobs, you can use parallel testing option which happens on much higher (separate VM, not CPU thread) level. Technically you can use it with single job, it will just happen sequentially which does not make a lot of sense (other than estimate how fast it will be with 2 jobs).

    Also with Premium account you can use Private Build Cloud and have more powerful VMs.

    What is main issue? You need faster iterations or you are hitting build timeout too fast?

  2. 2 Posted by rualark on 20 Oct, 2017 08:04 PM

    rualark's Avatar

    Thank you for your reply.
    In my opensource project MGen I run 62 tests for each build, each test containing 10-100 microtests. These 62 tests with build take about 10 minutes.
    Some problems arise only in release or in debug builds, so I run both (20 minutes total).
    Also, sometimes bugs are unstable and happen not on each run, so I repeat this two times for two platforms (x64 and x86). This totals 40 minutes.

    I am thinking about running multiple tests at the same time to make build test faster than 40 minutes. I see that this is not the case with free account.

  3. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:20 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac