2
\$\begingroup\$

It usually takes 10-15 seconds to compile for small changes in any of the scripts in my project. The project contains over hundred scripts, which are in C#.

\$\endgroup\$
1
  • \$\begingroup\$ By multiple CPU I meant server motherboard with multiple CPU. Thanks for the correction. :) (y) \$\endgroup\$ Commented Jun 2, 2016 at 18:12

1 Answer 1

1
\$\begingroup\$

Faster CPU speeds will result in faster compile times, yes.

Looking at Windows Task Manager when compiling, mono.exe maxes out only one of my CPU cores, so multiple cores probably won't help.

\$\endgroup\$
2
  • \$\begingroup\$ I see spikes on 5 out of 6 cores during compilation. But none of them goes max. And overall using 50-60% during compilation. Is it anyhow Unity's limitation? Or AMD cpu? On a dual core it took 50-60 seconds and used ~100% CPU. \$\endgroup\$ Commented Jun 1, 2016 at 21:54
  • \$\begingroup\$ There's a limit to how much work it can split up and throw unto the CPU, it's not necessarily something you can't configure, but it's most likely just Unity's compiler/jit code. \$\endgroup\$ Commented Jun 2, 2016 at 16:11

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.