I am trying to compile some code and it takes around 6 seconds. Even if I change one line in one module, it takes the same time. There are about 20 different d modules.[...]
yes the compiler can be used to profile itself. build it with make ENABLE_PROFILE=1If your code is overly slow you are probably using recursive variaidic templates.