user3126461
user3126461

Reputation: 152

Why using /USEPROFILE is far slower than using /GENPROFILE in VS2015?

As we know, we should build project first with /GENPROFILE and run it for training, and then switch the command to /USEPROFILE to build the optimized bundle.

I have printed the time of each time-costing function and I found that it is more faster under /GENPROFILE stage than /USEPROFILE, actually the prior one is far beyond the performance than the latter one. Why this happened? If the compiler is using the trained pgd file, why the final .exe which using the trained pgd file is slower?

Upvotes: 0

Views: 239

Answers (0)

Related Questions