Which is more efficient, "data.Length==0" or "data==string.Empty"?
in this question there was an answer which describes execution times.
For Javascript : I know there is a site called http://jsperf.com/
what about c# site ? is there any ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t know of a site, but I recently discovered that you can create a VS 2010 performance profiling session against a single unit test. Makes it very easy to quickly test isolated pieces of functionality. It’s nearly as quick as pasting your code into a website and getting results, and you can get extremely detailed results (probably far better than an online solution, due to the massive amount of analysis VS is performing against the sampled data).
FWIW, there is an online version of a c# IDE: http://www.coderun.com/ide/