This repository was archived by the owner on Aug 23, 2018. It is now read-only.
Performance reduced when running on multi-core ( which is by default )Β #159
Closed
Description
Hi.
Noticed this issue when I was working in parallel on the same project, on my PC and my MacBook Pro.
For some weird reason, a 3 year-old MBP, was compiling faster than a brand new 16-core PC.
For example:
After the tip from @eeue56
on the elm slack channel, to use "sysconfcpus", I saw a huge boost.
On the Ryzen PC with linux, with one core ( so with "sysconfcpus -n 1" ) I can run "make build" on ~10.4 seconds!
( on the mac "sysconfcpus -n 1" makes no difference )
So, how come the same process is ~50% slower when running on 16 cores, than running on one?
Is there anything I can do to make the compiler take advantage on the multiple cores?
Thanks.
Metadata
Metadata
Assignees
Labels
No labels