PGO优化x64更慢? [英] PGO optimized x64 slower?

查看:161
本文介绍了PGO优化x64更慢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆