PGO优化x64更慢? [英] PGO optimized x64 slower?
问题描述
在Visual Studio 2017中使用/ Ox优化的x64 leptonica C ++库(github)比默认值慢得多。 同样,当应用Profile Guided Optimization
时,针对特定用例优化的相同库对于该用例来说较慢。 这些选项不建议使用x64吗?
您好tdhintz,
是否存在此问题以前的VS版本?
与以下官方文档类似:
配置文件引导的优化仅适用于x86或x64本机目标,因此它可能具有X64的一些限制或多或少。
https:// msdn.microsoft.com/en-us/library/e7k32f4k.aspx
谢谢,
杰克
x64 leptonica C++ library (github) optimized using /Ox in Visual Studio 2017 is measurably slower than the default. Likewise, the same library optimized for a specific use-case is slower for that use-case when Profile Guided Optimization is applied. Are these options not advised for x64?
Hi tdhintz,
Does it have this issue in previous VS version?
Like the following official document:
Profile-guided optimizations are only available for x86 or x64 native targets, so it would have several limitations for the X64 more or less.
https://msdn.microsoft.com/en-us/library/e7k32f4k.aspx
Thanks,
Jack
这篇关于PGO优化x64更慢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!