Click here to Skip to main content
15,918,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
HI,
I have developed a website individually and within few days it will be live. I have made use of sessions, view states, Ajax, Query strings, java-scripts etc. I am just confused by one thing that why my website runs sometime very slow on server ? I have done coding on 3 tier architecture and used static methods everywhere almost. Tried balancing the server and client side validations and codes. Still I am scared that have I written a good code or not or my logic(s) are neat and clean or not. How can I review my code alone for best performance on server and in real scenario ??

Please suggest something !!!
Posted

Well, the first principle of Code Review is that you don't do it yourself. After all, we all are human and prone to committing mistakes. Another thing is that we usually do not see our mistakes that easily.
I would imagine that you have some senior developer/peer who can do this for you.

Plus, a 3 tier architecture etc. does not make sure that you have written a code which is fullfilling all conditions, scalable with good performance.
 
Share this answer
 
Comments
Taresh Uppal 5-Jul-12 6:45am    
Isn't there a tool into which wen we feed our code we can get the performance rating or something of same sort ???
Manas Bhardwaj 5-Jul-12 6:50am    
Code review means much more than just getting a performance counter. You can use Visual Studio itself to perform Performance Test.
http://www.dotnetfunda.com/articles/article901-web-performance-test-using-visual-studio-part-i.aspx
Abhinav S 5-Jul-12 6:51am    
5! However, have a look at Resharper.
Manas Bhardwaj 5-Jul-12 6:53am    
thx!
For code quality analysis, I guess the most popular tool that developers use across the world is called ReSharper[^].
If setup correctly, it could help you optimize your code for performance.
 
Share this answer
 
Comments
Manas Bhardwaj 5-Jul-12 6:58am    
Nice +5!
Abhinav S 5-Jul-12 7:01am    
Thank you Manas.

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