Skip to main content

Home/ Coders/ Group items tagged Profile

Rss Feed Group items tagged

1More

.NET Memory Profiler - 0 views

  •  
    Find Memory Leaks and Optimize Memory Usage in any .Net applications... C#, VB.NET, whatever
6More

Fabulous Adventures In Coding : The Stack Is An Implementation Detail, Part One - 0 views

  • Almost every article I see that describes the difference between value types and reference types explains in (frequently incorrect) detail about what “the stack” is and how the major difference between value types and reference types is that value types go on the stack.
  • I find this characterization of a value type based on its implementation details rather than its observable characteristics to be both confusing and unfortunate. Surely the most relevant fact about value types is not the implementation detail of how they are allocated, but rather the by-design semantic meaning of “value type”, namely that they are always copied “by value”.
  • Of course, the simplistic statement I described is not even true. As the MSDN documentation correctly notes, value types are allocated on the stack sometimes. For example, the memory for an integer field in a class type is part of the class instance’s memory, which is allocated on the heap.
  • ...3 more annotations...
  • As long as the implementation maintains the semantics guaranteed by the specification, it can choose any strategy it likes for generating efficient code
  • That Windows typically does so, and that this one-meg array is an efficient place to store small amounts of short-lived data is great, but it’s not a requirement that an operating system provide such a structure, or that the jitter use it. The jitter could choose to put every local “on the heap” and live with the performance cost of doing so, as long as the value type semantics were maintained
  • I would only be making that choice if profiling data showed that there was a large, real-world-customer-impacting performance problem directly mitigated by using value types. Absent such data, I’d always make the choice of value type vs reference type based on whether the type is semantically representing a value or semantically a reference to something.
9More

Programming as if Performance Mattered, by James Hague [2004-04-04] - 3 views

  • I frequently see bare queries from programmers in discussion forums, especially from new programmers, who are worried about performance. These worries often stem from popular notions about what operations are "slow." Division. Square roots. Mispredicted branches. Cache unfriendly data structures.
  • Inevitably someone chimes in that making out-of-context assumptions, especially without profiling, is a bad idea. And they're right.
  • The golden rule of programming has always been that clarity and correctness matter much more than the utmost speed. Very few people will argue with that. And yet do we really believe it? If we did, then 99% of all programs would be written in something like Python. Or Erlang.
  • ...5 more annotations...
  • At the same time, such concerns and advice seem to remain constant despite rapid advances in hardware.
  • That tempting, enticing, puzzle-solving activity called "optimization," it hasn't gone away either.
  • Only now the process is on a different level. It isn't machine level twiddling and cycle counting, but it isn't simply mathematical analysis of algorithms either.
  • The big difference is that the code changes I made are substantially safer than running a program and having it silently hang the system. All array accesses are bounds-checked. There's no way to accidentally overwrite a data structure. There's no way to create a memory leak.
  • Really, this is what those cycle-counting programmers from 1985 dreamed of.
  •  
    « I frequently see bare queries from programmers in discussion forums, especially from new programmers, who are worried about performance. These worries often stem from popular notions about what operations are "slow." Division. Square roots. Mispredicted branches. Cache unfriendly data structures. »
1More

2012-03: Profile-guided optimization: how, and what? | Forum thread @ Gentoo Forums - 1 views

  •  
    Just a Gentoo user notes on how he does it, i.e. -fprofile-generate=/var/tmp/pgo & -fprofile-use=/var/tmp/pgo compiler flags for CFLAGS & CXXFLAGS.

Sac longchamp couleur blanc Sur - 0 views

started by subsequent1 subsequent1 on 09 Aug 14 no follow-up yet
1More

Floor Polisher | Home & Garden | Sweepers Australia - Zizics - 0 views

  •  
    Floor polishers to clean all your hard floors around the home. Buy a Sweepers Australia Floor Polisher online.

T shirt Ralph Lauren pas cher En effet - 0 views

started by escaping1 escaping1 on 28 Feb 15 no follow-up yet

T shirt lacoste pas cher C'est - 0 views

started by escaping1 escaping1 on 02 Mar 15 no follow-up yet

Sac à Epaule Longchamp Le pliage Classique Les personnes - 0 views

started by escaping1 escaping1 on 09 Jul 14 no follow-up yet

Sac à Epaule Longchamp Pliage Couleur pas cher Elle - 0 views

started by longchamppas on 02 Aug 14 no follow-up yet

polo lacoste blanc pas cher À - 0 views

started by subsequent1 subsequent1 on 10 Nov 14 no follow-up yet

sac longchamp en bandoulière pas cher "Les - 2 views

started by escaping1 escaping1 on 25 Oct 14 no follow-up yet

Easier Cash Support For Helpless Borrowers - 0 views

started by Ziem Merwin on 23 Feb 16 no follow-up yet

Easier Cash Support For Helpless Borrowers - 0 views

started by Ziem Merwin on 03 Mar 16 no follow-up yet

Solve Your Private Needs by Getting Speedy Money Support - 0 views

started by Brad alamder on 03 Mar 16 no follow-up yet
1More

Incredible Private Loans Online Toronto Same Day Solution - 0 views

  •  
    Help to meet cash requirement with simple and quite real application procedure during touch financial time. These loan source give you 100% cash with easy pay back option and you can readily solve your unwanted cash hurdles in same time with same day application sanction.

Polos Lacoste Pas cher - 0 views

started by longchamppas on 18 Aug 16 no follow-up yet
« First ‹ Previous 61 - 80 of 94 Next ›
Showing 20 items per page