Cuberite Forum
Visual Studio Optmization options - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Development (https://forum.cuberite.org/forum-13.html)
+--- Thread: Visual Studio Optmization options (/thread-1471.html)



Visual Studio Optmization options - NiLSPACE - 05-20-2014

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



RE: Visual Studio Optmization options - LO1ZB - 05-20-2014

(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


RE: Visual Studio Optmization options - NiLSPACE - 05-20-2014

Well you could always try Wink


RE: Visual Studio Optmization options - LO1ZB - 05-20-2014

Standart Optimization: 620 ch/s
Full Optimization: 608 ch/s


RE: Visual Studio Optmization options - bearbin - 05-20-2014

What about intrinsics and favour speed?