Top "Performance" questions

For questions pertaining to the measurement or improvement of code and application efficiency.

How do I find out what is hammering my SQL Server?

My SQL Server CPU has been at around 90% for the most part of today. I am not in a position …

sql-server performance cpu-usage
Python: List vs Dict for look up table

I have about 10million values that I need to put in some type of look up table, so I was …

python performance
Replacing a 32-bit loop counter with 64-bit introduces crazy performance deviations with _mm_popcnt_u64 on Intel CPUs

I was looking for the fastest way to popcount large arrays of data. I encountered a very weird effect: Changing …

c++ performance assembly x86 compiler-optimization
What is a "cache-friendly" code?

What is the difference between "cache unfriendly code" and the "cache friendly" code? How can I make sure I write …

c++ performance caching memory cpu-cache
Export data from Chrome developer tool

Network analysis by Chrome when page loads I would like to export this data to Microsoft Excel so that I …

performance networking google-chrome statistics export
Android webview slow

My android webviews are slow. This is on everything from phones to 3.0+ tablets with more than adequate specs I know …

android performance webview
Which method performs better: .Any() vs .Count() > 0?

in the System.Linq namespace, we can now extend our IEnumerable's to have the Any() and Count() extension methods. I …

.net linq performance .net-3.5 extension-methods
Performing a Stress Test on Web Application?

In the past, I used Microsoft Web Application Stress Tool and Pylot to stress test web applications. I'd written a …

web-applications stress-testing performance webapplicationstresstool pylot
Python Sets vs Lists

In Python, which data structure is more efficient/speedy? Assuming that order is not important to me and I would …

python list performance data-structures set
Should I use Java's String.format() if performance is important?

We have to build Strings all the time for log output and so on. Over the JDK versions we have …

java string performance string-formatting micro-optimization