Cuberite Forum

Full Version: Visual Studio Optmization options
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I looked through the MCServer property page in Visual studio and noticed a few things:
  • Configuration Properties
    • C/C++
      • Optimization
        • Optimization
          The default is "Maximize Speed (/O2)" but there is also an "Full Optimization (/Ox)". Is there a difference in speed with them?

        • Favor Size Or Speed
          The default is "Neither", but if we gain some speed from it we could possibly set it to "Favor fast code (/Ot)"

        • Enable Intrinsic Functions
          The default is "No", but Visual Studio says: "Using instrinsic functions generates fast, but possibly larget code."

        • Enable Fiber-safe Optimizations
          The default is "No". Visual studio says: "Enables memory space optimization when using fibers and thread local storage access." I have no idea if it could help us but I just wanted to point it out Smile
(05-20-2014, 01:59 AM)STR_Warrior Wrote: [ -> ]I looked through the MCServer property page in Visual studio and noticed a few things:
  • Configuration Properties
    • C/C++
      • Optimization
        • Optimization
          The default is "Maximize Speed (/O2)" but there is also an "Full Optimization (/Ox)". Is there a difference in speed with them?

        • Favor Size Or Speed
          The default is "Neither", but if we gain some speed from it we could possibly set it to "Favor fast code (/Ot)"

        • Enable Intrinsic Functions
          The default is "No", but Visual Studio says: "Using instrinsic functions generates fast, but possibly larget code."

        • Enable Fiber-safe Optimizations
          The default is "No". Visual studio says: "Enables memory space optimization when using fibers and thread local storage access." I have no idea if it could help us but I just wanted to point it out Smile
If you want, i can test it. Smile
Well you could always try Wink
Standart Optimization: 620 ch/s
Full Optimization: 608 ch/s
What about intrinsics and favour speed?