Click here to Skip to main content
15,885,214 members
Everything / General Programming / Performance

Performance

performance

Great Reads

by Michael Sydney Balloni
Different languages and approaches are evaluated for a file and string processing benchmark
by Sergey Volk
Open source framework for monitoring Asp.Net Web Api 2 and MVC5 applications performance without using windows performance counters, automates performance counters data collection, store and visualization.
by Arthur V. Ratz
This article is a practical guide on using Intel® Threading Building Blocks (TBB) and OpenMP libraries for C++ based on the example of delivering parallel scalable code that implements Burrows-Wheeler Transformation (BWT) algorithm.

Latest Articles

by Dev Leader
Learn how to use BenchmarkDotNet to effectively create and run benchmarks on your C# code. Dig into where you have opportunities to optimize your C# code!
by Higty
Fastest mapper in the world, easy to Use, ZERO configuration, FULL customization
by Gerardo Recinto
In-memory B-Tree sorted dictionary
by Marco-Hans Van Der Willik
This article explores the performance, scalability and limitations of the various .NET Threading Implementations.

All Articles

Sort by Score

Performance 

21 Jul 2018 by Ben Hall (failingfast.io)
Micro-Benchmarking Your C# - Pitfalls and A Tool To Help You Mitigate Them
16 Oct 2011 by Shivprasad koirala
If you want to quickly get index suggestions and improve performance in SQL Server, then Profiler and tuning wizard is the first place to start.
21 Nov 2014 by Farzad E. (dNetGuru)
.Net framework provides two classes that implement AES, a native implementation that calls CAPI and AesManaged which is a purely managed implementation. Which one should you use ?
9 Aug 2016 by Joshi, Rushikesh
Get Angular Watcher Count in any Browser, just run this script.
30 Apr 2018 by vudangngoc
A quick comparison of Java 9 Flow API and Lmax Disruptor
19 Dec 2019 by Rick York
A simple, header-only class for high resolution timing
27 Oct 2010 by Andrew Rissing
Technically, the best approach here for speed and flexibility is to do the following:public class TestClass{ private const string EMP_ID = "EmpId"; public void MyTestMethod() { //GetData fetches data from the database using a SQL query DataTable dt =...
7 Aug 2014 by Zachary Gardner
IE waits till the end of the thread to send AJAX POST requests to the server.
9 Jun 2023 by Jack Devey
Introducing a lossless compression mechanism for data structured in a table or matrix
22 May 2011 by Jeremy Hutchinson
Or you can use T4 to generate a static class wrapper around the service. Then your call can look like this:SvcWrapper.Login(username, password);The full explanation and sample code is located here[^].
27 Apr 2018 by Member 13797506
Introduction to structs (value types) in Java
27 Oct 2010 by A.J.Wegierski
int empId = dt.Columns[EMP_ID].Ordinal;...int empId = Convert.ToInt32(dRow[empId]);
17 May 2011 by Omar Al Zabir
Files with different date time get different ETag generated by IIS. As a result, on a web server farm, each webserver sends different ETag for the same file as the files are copied to those servers at different date time. Here's a script that can set date time of same file across multiple servers to
22 Jun 2013 by Sebastian Solnica
Find a performance counter instance by a process ID
4 Jun 2014 by Thang Believe
A solution for performance logging
25 Jan 2013 by adriancs
Performance Comparison of For Loop and Foreach Loop
18 May 2011 by Patrick Kalkman
Good Tip, got my 5!As an alternative to your tip, when using generated proxies you could also add the logic to a partial class with the same name as the proxy class, see below.public partial class MyGeneratedProxyClient : IDisposable{ void IDisposable Dispose() { try...
16 Jan 2016 by Mathew_wwx
This tip will introduce a library written in C++ that wraps up a 2d polygon triangulation algorithm with time complexity of O(N*logN), the algorithm works on both self-intersected and non self-intersected polygons.
24 Sep 2013 by AmitGajjar
Case study for checking the performance of HashTable and Dictionary.
8 Aug 2011 by Omar Al Zabir
WCF does not support Compression out of the box, so fix it
17 Apr 2016 by Adamanteus
Preserving overheating processor in multitasking environment
17 May 2011 by Omar Al Zabir
Traditional using() block disposes WCF clients incorrectly when there's a communication exception, eg dropping network connection. It raises exception during the dispose and thus the resources held by the WCF client aren't released properly. After some time, you end up with memory leaks.
27 Feb 2016 by Arvind Gehlot
Use of HTTP Compression on ASP.NET / MVC pages using IIS or Server side code
12 Nov 2013 by Robert Hoffmann
Is using a CDN for a JS Framework really worth it ?
17 May 2011 by Omar Al Zabir
Caching frequently used objects, that are expensive to fetch from the source, makes application perform faster under high load. It helps scale an application under concurrent requests. But some hard to notice mistakes can lead the application to suffer under high load, let alone making it perform be
27 Jan 2015 by Paul Schwartzberg
This tip shows two possible methods to find the balanced index of an array in C#.
5 Dec 2013 by Tharaka MTR
How to automate PNG and JPG image optimization
6 Jul 2010 by Matthew Dennis
While a slow system may be a symptom of viruses or other malware, it may be an indication of disk problems.
12 Dec 2016 by Suresh Dasari's
Auto Generate Code (CRUD) for 3 Layered architecture (Entity, Data Access & Business Layer) with Stored Procedures based on table design.
30 May 2022 by Bohdan Stupak
This article shows how utilizing lazy evaluation and caching can save us from wasteful computation
8 Oct 2014 by Arora_Ankit
This tip will provide you with an idea about basic things that you can use to get better performance from query.
12 Sep 2012 by taha bahraminezhad Jooneghani
About how to get high performance from your website and get a good score from Yslow
13 Aug 2016 by raddevus
My ASP.NET MVC 5 web site is simple but gets small amount of traffic so after 20 minutes, it shuts down. That means new visitors wait 20 seconds or more to see my landing page. Here's a way to test and see if that is your problem.
2 May 2016 by Leonid Osmolovski
Speed reduction that may occur when using expressions instead of string constants in INotifyChanged paradigm and a way to work around this
23 May 2012 by Shweta Lodha
Performance analysis for String and StringBuilder
29 Jul 2016 by PawelBujak
How to avoid blocking long operations in GUI applications, that lead to hung state.
1 Aug 2018 by vudangngoc
Synchronization is slow, why and how to do better?
23 Oct 2010 by TweakBird
Accessing Value from System.Data.DataTable
11 Jul 2016 by Karthik Coder
How to replace the ng-repeat with Custom Directive
7 Sep 2015 by Atul Kharecha
If you are using Lotus Notes as an email client and it is running very slowly, this tip will help you to overcome the performance issues.
6 Jul 2018 by vudangngoc
Travelling over Java collections is just a piece of cake, but when the size of the collections increases you have to choose wisely
24 May 2023 by Mirzakhmet Syzdykov
Traveling Salesman Problem using Ant Colony Optimization