Published at February 24, 2019 · 2 min read
I’m wondering that in 2019 we still have a lot of tasks which are not parallelized yet. I’m pretty sure, that almost all laptops, desktops and even smartphones have more than one core on board.
In the meantime, I just realized that Django runs tests using only one process/core on my desktop. I’m disappointed but I think I know why it happens.
Many of us are not used to write concurrent code. Speaking about unit tests,
it’s even worse. If you have a old project with a big amount of tests,
I’m pretty sure that some tests could not be executed in a parallel. I’ll be
happy if I’m wrong. But I think it’s only one reason that Django doesn’t
add --parallel
by default.