Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
How to compress my .cs code in C# asp.net to make page performance is good please tell me.

What I have tried:

When I Was searching there is one solution GZIP compression.
Posted
Updated 17-May-18 19:11pm
v2

1 solution

Quote:
When I Was searching there is one solution GZIP compression.

ZIP is use to reduce the file size on storage and will never improve runtime. Worse, it take some time to decompress the file before being able to run it.
Quote:
How to compress my .cs code in C# asp.net to make page performance is good please tell me.

Compress is the wrong word, the correct word is optimize
Optimizing your code is more about algorithm used in your code. Each optimizing is specific to 1 program file, the only general rule is to choose clever algorithms.
Profiling (computer programming) - Wikipedia[^]
List of performance analysis tools - Wikipedia[^]
How do code profilers work? - Stack Overflow[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900