Visual Studio new versions and .Net open sourced

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5296
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1278
Contact:

Re: Visual Studio new versions and .Net open sourced

Post by dark_sylinc »

syedhs wrote:Anyone has profiled Ogre performance between say Vc2005/2008 vs vc2013? Or any articles which stated the general code optimization (mainly for speed) in vc2013?
I've witnessed a performance increase when using VS2013 regarding legacy animation code. Looks VS2013 is better at optimizing the old animation code than 2008.
Kojack wrote:So with identical settings, VC2013 gives a smaller binary, higher framerate and quicker build time.
(Note, this is tested with 2013 ultimate, not community. Should be the same though)
Quicker build time is NOT what I've noticed.
User avatar
Klaim
Old One
Posts: 2565
Joined: Sun Sep 11, 2005 1:04 am
Location: Paris, France
x 56
Contact:

Re: Visual Studio new versions and .Net open sourced

Post by Klaim »

I agree, I didn't notice a quicker build time either, on the contrary. However, once I replaced a lot of code by some new language features (which actually help the compiler, like variadic templates), it reduced a big part of my code and compilation got faster.
However, nothing comparable to, say, clang (but I don't compile all my project to clang yet).
User avatar
Kojack
OGRE Moderator
OGRE Moderator
Posts: 7157
Joined: Sun Jan 25, 2004 7:35 am
Location: Brisbane, Australia
x 534

Re: Visual Studio new versions and .Net open sourced

Post by Kojack »

Building Ogre 2.0 64 bit release with no unity build is a bit different. 2008 took 57s, 2013 took 1:24s
However Ogre 2.0 64 bit release with unity build: 2008 took 43s, 2013 took 34s.
User avatar
Klaim
Old One
Posts: 2565
Joined: Sun Sep 11, 2005 1:04 am
Location: Paris, France
x 56
Contact:

Re: Visual Studio new versions and .Net open sourced

Post by Klaim »

Kojack wrote: 2013 took 1:24s
Damn, I really need to get a new dev computer....
User avatar
Kojack
OGRE Moderator
OGRE Moderator
Posts: 7157
Joined: Sun Jan 25, 2004 7:35 am
Location: Brisbane, Australia
x 534

Re: Visual Studio new versions and .Net open sourced

Post by Kojack »

By Ogre 2.0 I meant ogremain.dll, like the previous tests. Not the entire thing. :)
User avatar
Herb
Orc
Posts: 412
Joined: Thu Jun 04, 2009 3:21 am
Location: Kalamazoo,MI
x 38

Re: Visual Studio new versions and .Net open sourced

Post by Herb »

Sometimes worse than the compile time of VS, is the link time....at least compared to how fast it is with GCC on Linux.

I haven't tried 2013 yet, is there any issues with cmake / building / etc with 2013 I'll hit? Or should it just work the same as 2012? I'm tempted to switch from 2012 to 2013 to test things out. :wink:
User avatar
Klaim
Old One
Posts: 2565
Joined: Sun Sep 11, 2005 1:04 am
Location: Paris, France
x 56
Contact:

Re: Visual Studio new versions and .Net open sourced

Post by Klaim »

Yeah it's link time which is long for me too.

No issue with VS2013 and Ogre, I have been using it for a long time. Globally it's more the dependencies that needs to be patched each time VS compiler is upgraded, rarely (or very moderately) Ogre's code itself. In my experience at least.
User avatar
syedhs
Silver Sponsor
Silver Sponsor
Posts: 2703
Joined: Mon Aug 29, 2005 3:24 pm
Location: Kuala Lumpur, Malaysia
x 51

Re: Visual Studio new versions and .Net open sourced

Post by syedhs »

dark_sylinc wrote:
syedhs wrote:Anyone has profiled Ogre performance between say Vc2005/2008 vs vc2013? Or any articles which stated the general code optimization (mainly for speed) in vc2013?
I've witnessed a performance increase when using VS2013 regarding legacy animation code. Looks VS2013 is better at optimizing the old animation code than 2008.
I cannot access the yosoygames link from here. I read that I have to use public proxy to reading it, but I wonder why? Why can't you host the blog on the blogspot dark_sylinc? :)
A willow deeply scarred, somebody's broken heart
And a washed-out dream
They follow the pattern of the wind, ya' see
Cause they got no place to be
That's why I'm starting with me
Transporter
Minaton
Posts: 933
Joined: Mon Mar 05, 2012 11:37 am
Location: Germany
x 110

Re: Visual Studio new versions and .Net open sourced

Post by Transporter »

I don't care about the compilation time. I take care about the FPS! It's good to know that VS2013 code is faster than the previous versions.
frostbyte
Orc Shaman
Posts: 737
Joined: Fri May 31, 2013 2:28 am
x 65

Re: Visual Studio new versions and .Net open sourced

Post by frostbyte »

intellisense is so slow with weird moods( buggy? )...
i don't understand how come a 300 billion dolar company can't fix it...
any body knows if this is still is a problem with VS2015 or any way to fix it on older versions?
the woods are lovely dark and deep
but i have promises to keep
and miles to code before i sleep
and miles to code before i sleep..

coolest videos link( two minutes paper )...
https://www.youtube.com/user/keeroyz/videos
User avatar
Klaim
Old One
Posts: 2565
Joined: Sun Sep 11, 2005 1:04 am
Location: Paris, France
x 56
Contact:

Re: Visual Studio new versions and .Net open sourced

Post by Klaim »

Intellisense is fast in VS20213 and 2015, but in 2013 there was a bug (partially fixed in a recent update) trigerring some king of analysis every n minutes even if you were typing and thats mostly the source of all slowdown for these versions.
However, adding plugins made it worse for me, so it might be plugins too.
frostbyte
Orc Shaman
Posts: 737
Joined: Fri May 31, 2013 2:28 am
x 65

Re: Visual Studio new versions and .Net open sourced

Post by frostbyte »

thanks, good to know...( guess i'll need to upgrade at some point... ) :)
the woods are lovely dark and deep
but i have promises to keep
and miles to code before i sleep
and miles to code before i sleep..

coolest videos link( two minutes paper )...
https://www.youtube.com/user/keeroyz/videos
User avatar
Herb
Orc
Posts: 412
Joined: Thu Jun 04, 2009 3:21 am
Location: Kalamazoo,MI
x 38

Re: Visual Studio new versions and .Net open sourced

Post by Herb »

Finally got 2013 and ported all my stuff. Seems marginally better in compile time than 2012, but not much. Link time for static libs still terrible. I see 2015 is going to have built-in support for Clang, has anyone tried that yet with the 2015 beta? Clang from what I've heard is just silly fast at compiling time.
frostbyte
Orc Shaman
Posts: 737
Joined: Fri May 31, 2013 2:28 am
x 65

Re: Visual Studio new versions and .Net open sourced

Post by frostbyte »

does ogre cmake scripts support clang on windows?
i alway figured ogres cmake scripts are tied to ios arch...

clang is not only 3x faster than gcc, but it also have human-readable warning/error messages, ready made hooks for parsers, abi compatibility with gcc, cross-compile support, and lots of cool stuff around it...
just waiting for the day i can compile an ogre app from VS to a zillion arch types with one click.... :P
problem was it was slower than gcc...not anymore....
there is a llvm-gcc backend but i didn't try it with ogre...and any way its not realy clang...
the woods are lovely dark and deep
but i have promises to keep
and miles to code before i sleep
and miles to code before i sleep..

coolest videos link( two minutes paper )...
https://www.youtube.com/user/keeroyz/videos
User avatar
Klaim
Old One
Posts: 2565
Joined: Sun Sep 11, 2005 1:04 am
Location: Paris, France
x 56
Contact:

Re: Visual Studio new versions and .Net open sourced

Post by Klaim »

Herb wrote:Finally got 2013 and ported all my stuff. Seems marginally better in compile time than 2012, but not much. Link time for static libs still terrible. I see 2015 is going to have built-in support for Clang, has anyone tried that yet with the 2015 beta? Clang from what I've heard is just silly fast at compiling time.
I wanted to try it recently but was stopped by something I don't remember. Basically it's available only if you target mobile, apparently not desktop except if it's a library.
I'll tell later if I can manage to play with it.
User avatar
Klaim
Old One
Posts: 2565
Joined: Sun Sep 11, 2005 1:04 am
Location: Paris, France
x 56
Contact:

Re: Visual Studio new versions and .Net open sourced

Post by Klaim »

frostbyte wrote:does ogre cmake scripts support clang on windows?
Nope.
Post Reply