Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. The Lounge
  3. .NET 2 UI speed issue demystified

.NET 2 UI speed issue demystified

Scheduled Pinned Locked Moved The Lounge
csharpvisual-studiocomdesignperformance
15 Posts 8 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L leppie

    http://blogs.wdevs.com/leppie/archive/2005/11/25/11349.aspx[^] :->:->:-> xacc.ide-0.1 released! Download and screenshots

    T Offline
    T Offline
    Tom Ollar
    wrote on last edited by
    #2

    If this is in reference to our article. Our tests contained NO timers. Could it be that the boys and girls at our esteemed MotherShip saw two guys in a garage and decided to nip this whole C# as a UI platform concept in the bud? Don't laugh Frank, you may be next...

    M L 3 Replies Last reply
    0
    • T Tom Ollar

      If this is in reference to our article. Our tests contained NO timers. Could it be that the boys and girls at our esteemed MotherShip saw two guys in a garage and decided to nip this whole C# as a UI platform concept in the bud? Don't laugh Frank, you may be next...

      M Offline
      M Offline
      Marc Clifton
      wrote on last edited by
      #3

      Tom Ollar wrote:

      Our tests contained NO timers.

      So, um, how did you measure the performance? An hourglass? ;P Marc VS2005 Tips & Tricks -- contributions welcome!

      1 Reply Last reply
      0
      • T Tom Ollar

        If this is in reference to our article. Our tests contained NO timers. Could it be that the boys and girls at our esteemed MotherShip saw two guys in a garage and decided to nip this whole C# as a UI platform concept in the bud? Don't laugh Frank, you may be next...

        L Offline
        L Offline
        leppie
        wrote on last edited by
        #4

        Tom Ollar wrote:

        Our tests contained NO timers.

        It's NOT timers being the slow down, its starting and stopping the Timer. I'm gonna use a Threading timer to compare. xacc.ide-0.1 released! Download and screenshots

        1 Reply Last reply
        0
        • T Tom Ollar

          If this is in reference to our article. Our tests contained NO timers. Could it be that the boys and girls at our esteemed MotherShip saw two guys in a garage and decided to nip this whole C# as a UI platform concept in the bud? Don't laugh Frank, you may be next...

          L Offline
          L Offline
          leppie
          wrote on last edited by
          #5

          Ok Threading Timers is even a bigger NO-NO! .NET 1.1 - same slow down as before .NET 2 - 11400% slow down... :doh: xacc.ide-0.1 released! Download and screenshots

          W M S 3 Replies Last reply
          0
          • L leppie

            Ok Threading Timers is even a bigger NO-NO! .NET 1.1 - same slow down as before .NET 2 - 11400% slow down... :doh: xacc.ide-0.1 released! Download and screenshots

            W Offline
            W Offline
            WillemM
            wrote on last edited by
            #6

            So, this means the threading is dramatically slowed down in .NET 2.0 So much for concurrency using .NET ;P Did anyone report this to microsoft? Maybe they can explain this and fix the problem. WM.
            What about weapons of mass-construction?

            M 1 Reply Last reply
            0
            • L leppie

              http://blogs.wdevs.com/leppie/archive/2005/11/25/11349.aspx[^] :->:->:-> xacc.ide-0.1 released! Download and screenshots

              S Offline
              S Offline
              S Senthil Kumar
              wrote on last edited by
              #7

              You sure this is not a one-off issue with your PC? Did you get the same results on a different machine? Regards Senthil _____________________________ My Blog | My Articles | WinMacro

              L 2 Replies Last reply
              0
              • W WillemM

                So, this means the threading is dramatically slowed down in .NET 2.0 So much for concurrency using .NET ;P Did anyone report this to microsoft? Maybe they can explain this and fix the problem. WM.
                What about weapons of mass-construction?

                M Offline
                M Offline
                Marc Clifton
                wrote on last edited by
                #8

                WillemM wrote:

                So, this means the threading is dramatically slowed down in .NET 2.0

                No, no. Just don't use timers. :) Marc VS2005 Tips & Tricks -- contributions welcome!

                W 1 Reply Last reply
                0
                • M Marc Clifton

                  WillemM wrote:

                  So, this means the threading is dramatically slowed down in .NET 2.0

                  No, no. Just don't use timers. :) Marc VS2005 Tips & Tricks -- contributions welcome!

                  W Offline
                  W Offline
                  WillemM
                  wrote on last edited by
                  #9

                  Pfew, I thought there for a minute that the performance was really bad. I still need a lot of testing for most of my applications to be sure that it runs well on .NET 2.0 :) (Some of them do use timers) WM.
                  What about weapons of mass-construction?

                  1 Reply Last reply
                  0
                  • L leppie

                    Ok Threading Timers is even a bigger NO-NO! .NET 1.1 - same slow down as before .NET 2 - 11400% slow down... :doh: xacc.ide-0.1 released! Download and screenshots

                    M Offline
                    M Offline
                    Marc Clifton
                    wrote on last edited by
                    #10

                    leppie wrote:

                    Ok Threading Timers is even a bigger NO-NO!

                    This is really wierd. Keep me posted, because I simply cannot imagine breaking something so much that it causes an 11,000% slowdown. Marc VS2005 Tips & Tricks -- contributions welcome!

                    D 1 Reply Last reply
                    0
                    • S S Senthil Kumar

                      You sure this is not a one-off issue with your PC? Did you get the same results on a different machine? Regards Senthil _____________________________ My Blog | My Articles | WinMacro

                      L Offline
                      L Offline
                      leppie
                      wrote on last edited by
                      #11

                      Interesting point, I will test on Centrino. xacc.ide-0.1 released! Download and screenshots

                      1 Reply Last reply
                      0
                      • S S Senthil Kumar

                        You sure this is not a one-off issue with your PC? Did you get the same results on a different machine? Regards Senthil _____________________________ My Blog | My Articles | WinMacro

                        L Offline
                        L Offline
                        leppie
                        wrote on last edited by
                        #12

                        Same result... :sigh: xacc.ide-0.1 released! Download and screenshots

                        1 Reply Last reply
                        0
                        • M Marc Clifton

                          leppie wrote:

                          Ok Threading Timers is even a bigger NO-NO!

                          This is really wierd. Keep me posted, because I simply cannot imagine breaking something so much that it causes an 11,000% slowdown. Marc VS2005 Tips & Tricks -- contributions welcome!

                          D Offline
                          D Offline
                          Daniel Turini
                          wrote on last edited by
                          #13

                          Sometimes, the code is so tight, that adding an additional parameter validation, removing the "sealed" or even making a method virtual (which prevents inlining) may slowdown your code by an order of magnitude. This seems the case of .NET timers, which, AFAIK, are simply wrappers around a simple Win32 API. I don't see dead pixels anymore... Yes, even I am blogging now!

                          1 Reply Last reply
                          0
                          • L leppie

                            http://blogs.wdevs.com/leppie/archive/2005/11/25/11349.aspx[^] :->:->:-> xacc.ide-0.1 released! Download and screenshots

                            S Offline
                            S Offline
                            Super Lloyd
                            wrote on last edited by
                            #14

                            Somehow 2.0 seems to be slower to the point of worry.... :doh:

                            1 Reply Last reply
                            0
                            • L leppie

                              Ok Threading Timers is even a bigger NO-NO! .NET 1.1 - same slow down as before .NET 2 - 11400% slow down... :doh: xacc.ide-0.1 released! Download and screenshots

                              S Offline
                              S Offline
                              S Douglas
                              wrote on last edited by
                              #15

                              leppie wrote:

                              .NET 2 - 11400% slow down...

                              Leppie, I hope you’re not serious. I was looking forward to 2.0 and finally starting up upgrade my skills to .NET. :( (Not that I ever use timers but this isn’t the first post I have seen complaining about speed issues with .NET 2.0)


                              ZeePain! wrote:

                              This seems like one of those programs that started small, grew incrementally, building internal pressure, and finally barfed all over its source code sneakers. Or something.

                              thedailywtf.com[^]

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups