Tag : performance

Title User Language Tags Description Date
Resizing Swing in Win7+Aero (trick to minimalize flickering) s1w Java

This trick improves repaint rate in Win7+Aero: setting resizable to null, and providing own resize hook. Its aint perfect, but still alot better.. check my example:

September 28, 2011
Eight performance tips for Typo3 Web-Site by Dmitry Dulepov grindking TYPO3

Increasing performance of a TYPO3 web site is a task that many large companies or freelancers face from time to time. TYPO3 is a great, flexible and powerful framework with amazing possibilities and unlimited expendability. But everything has its costs. TYPO3 may be slow if not configured properly. This article gives 8 tips to improve TYPO3 performance. It requires that you have administrator (root) access to the web server. If you use shared hosting, there is very little that you can do. Read on

Read more: http://dmitry-dulepov.com/article/eight-performance-tips-for-your-typo3-web-site.html#ixzz1WUlh18Yq

August 30, 2011
Compare algorithms for heapq.smallest Raymond Hettinger python

General purpose technique for counting comparisons in various searching and sorting applications.

February 12, 2011
jquery performance test selectors tirams jQuery

jquery performance test see also http://jsbin.com/aciji4/12

December 3, 2010
Using a getter for a one-time calculation of a JavaScript object attribute Trent Mick python

This is a technique for using a JavaScript getter to calculate the value of an attribute just the first time. Rather than caching the value in some private variable and returning it, you just delete the getter and put the calculated value in its place.

Note: I'd read about this technique ages ago, but forgot the details and had to look-up "delete" for removing the getter. :)

July 16, 2010
Apache 2.2 performance tunning jommy Apache

Tested with ipotpal.bgurl.org

October 23, 2009
Elo ratings system test kurokikaze PHP July 30, 2009
quick Python profiling with hotshot Trent Mick python

This is a quick snippet that I use occasionally to profile some pure-Python code, using hotshot. Basically it is this:

  1. Put this @hotshotit decorator on the function you want to profile.
  2. Run your code through some representative paces. The result will be a <functionname>.prof in the current directory.
  3. Process the .prof file and print the top 20 hotspots with the given "show_stats.py" script.

Props to Todd for slapping this code together.

Hotshot is a little out of favour now, so I should -- or Todd :) -- should really come up with an equivalent that uses cProfile.

February 20, 2009
Faster "for" loop in javascript stellit JavaScript December 8, 2008
Add Property to viewstate with high performance Fabrizio Antonangeli C# read the variable from viewstate ONLY if the private is not set. March 28, 2008
Using Performances Counters with Python Salvatore DI DIO Python This snippet shows how to deal with performances counters on Windowws It's up to you to create a 'top' command like in Linux ;-) To retrieve the counters'names use 'perfmon' February 15, 2008
Processor and performance matrix gathering trevellyon newell python

most people want to gather data about programs etc. most people will use perfmon. what happens if you want to gather data but have to sit on the machine and set up perfmon counters and such. This is the basis for people to write system information gathering programs/counters.

January 11, 2008
Performance Timing kyong kwak C# .NET 2.0 November 7, 2007
Scan Assemblies Using Reflection to Locate Performance Counter Installers rengber C# May 9, 2007
Fibonacci HIgh Performance ajwsurfer C++ How do you run the Fibonacci sequence on NOX? Well, use Pascal's Triangle of course. But only compute each value once. Next time grab the stored value. Take a look. April 25, 2007