Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / programming / performance

Performance

performance

Great Reads

by Suresh Dasari's
Auto Generate Code (CRUD) for 3 Layered architecture (Entity, Data Access & Business Layer) with Stored Procedures based on table design.
by Ben Hall (failingfast.io)
Micro-Benchmarking Your C# - Pitfalls and A Tool To Help You Mitigate Them
by jmix90
A fast and easy tip about shadows and performance
by MukeshKumarTech
In this post, we will learn a few points which can be implemented while developing the website in ASP.NET Core to improve performance.

Latest Articles

by Suresh Dasari's
Auto Generate Code (CRUD) for 3 Layered architecture (Entity, Data Access & Business Layer) with Stored Procedures based on table design.
by Ben Hall (failingfast.io)
Micro-Benchmarking Your C# - Pitfalls and A Tool To Help You Mitigate Them
by jmix90
A fast and easy tip about shadows and performance
by MukeshKumarTech
In this post, we will learn a few points which can be implemented while developing the website in ASP.NET Core to improve performance.

All Articles

Sort by Score

performance 

by Suresh Dasari's
Auto Generate Code (CRUD) for 3 Layered architecture (Entity, Data Access & Business Layer) with Stored Procedures based on table design.
by Ben Hall (failingfast.io)
Micro-Benchmarking Your C# - Pitfalls and A Tool To Help You Mitigate Them
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.
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.
by TweakBird
Accessing Value from System.Data.DataTable
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 =...
by A.J.Wegierski
int empId = dt.Columns[EMP_ID].Ordinal;...int empId = Convert.ToInt32(dRow[empId]);
by Karthik Coder
How to replace the ng-repeat with Custom Directive
by Tharaka MTR
How to automate PNG and JPG image optimization
by Paul Schwartzberg
This tip shows two possible methods to find the balanced index of an array in C#.
by Sergi Ortiz Gomez
Optimizing mass queries in Blazor by enhancing interoperability between JavaScript and C#, with a focus on performance improvements.
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
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.
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...
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[^].
by Sebastian Solnica
Find a performance counter instance by a process ID
by adriancs
Performance Comparison of For Loop and Foreach Loop
by Joshi, Rushikesh
Get Angular Watcher Count in any Browser, just run this script.
by Rick York
A simple, header-only class for high resolution timing
by taha bahraminezhad Jooneghani
About how to get high performance from your website and get a good score from Yslow
by Arora_Ankit
This tip will provide you with an idea about basic things that you can use to get better performance from query.
by vudangngoc
Synchronization is slow, why and how to do better?
by Bohdan Stupak
This article shows how utilizing lazy evaluation and caching can save us from wasteful computation
by Zachary Gardner
IE waits till the end of the thread to send AJAX POST requests to the server.
by Arvind Gehlot
Use of HTTP Compression on ASP.NET / MVC pages using IIS or Server side code
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
by Member 13797506
Introduction to structs (value types) in Java
by vudangngoc
A quick comparison of Java 9 Flow API and Lmax Disruptor
by Thang Believe
A solution for performance logging
by Shweta Lodha
Performance analysis for String and StringBuilder
by AmitGajjar
Case study for checking the performance of HashTable and Dictionary.
by Adamanteus
Preserving overheating processor in multitasking environment
by PawelBujak
How to avoid blocking long operations in GUI applications, that lead to hung state.
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
by Robert Hoffmann
Is using a CDN for a JS Framework really worth it ?
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.
by Mirzakhmet Syzdykov
Traveling Salesman Problem using Ant Colony Optimization
by Jack Devey
Introducing a lossless compression mechanism for data structured in a table or matrix
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.
by Omar Al Zabir
WCF does not support Compression out of the box, so fix it
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
by Matthew Dennis
While a slow system may be a symptom of viruses or other malware, it may be an indication of disk problems.