Web Forms :: Measure Website / Webpage Speed?
Mar 21, 2011i published an web application now, i want to measure that speed, response time etc., what is the best to find these?
View 4 Repliesi published an web application now, i want to measure that speed, response time etc., what is the best to find these?
View 4 RepliesIs there a way to measure the time elapsed for a web page to execute?
And if so, is it safe to use that figure to estimate the speed of the web page as the number of users grow and the database grows. Ie: if the page currently takes 1 second to process through x amount of rows in the database, to estimate it would take 2 seconds with 2x rows?
I would like to check how long an ASP.NET page takes to execute (server stuff obviously, not interested in how long it takes to throw the results down the line and for the browser to render them at this stage).
Having done some searching, I came across http:[URL] which shows how to do just this. Trouble is, it doesn't work for me. I copied the code exactly, but the execution time is always zero.
I tried enabling tracing, and that showed an elapsed time between Page_Init and Page_PreRender, but the values returned by Environment.TickCount were exactly the same in both events, so the elapsed time was 9obviously) zero.
I know its a common question. But I want to share something. Actually I am working on e-commerce portal. It consists of 32000 products with around 2500 categories. I used 3-tier architechture for this project.Everyting is coming using stored procedures. I used master pages as well.But still I am fighting with the performance issue. Can anyone pls tell me some usefull steps to increase the speed of the website.Its taking ages to load the pages. please look at the site
View 2 RepliesRecently, I added a massive amount of new languages (as RESX files) to an ASP.NET Web Site project in VS.NET 2010.
The project has approximately 50 ASPX pages and did build rather fast, before I added the languages.
Since the languages were added the compiler takes several minutes (well, at least 1-2) until the browser sees a page.
Now I'm currently investigating, whether I could speed up compilation time inside my development environment. I can think of:
Leaving out the RESX files in VS.NET and copy them from another, external folder, when deploying to the web server, only.
Change the project type from Web Site to Web Application.
My question:
how you would improve development speed of a large multi-language website in ASP.NET 4.0?
There are various website speed test online tools available. Few of them are listed on: [URL] I tested my website using iweb and selfseo. My website is showing 0.03KB Average speed per KB everywhere. Even google also is giving same kind of results.I tested the site using Page Speed and YSlow. I have already followed most of the recommendations suggested by these tools like efficient use CSS, contents across the domains, caching, compression and all. But still I am getting the same average speed per kb. Page speed is showing around 85/100 as my page speed score, so I guess I have optimized my site a lot. My questions here are:
1. What are the other factors affecting the avg speed per kb of a website?
2. How to improve the Avg speed per kb?
3. Is there anything related with the Server Software and Hardware that I have to check?
Note: I tested by uploading a plain html page with simple text "Hello World", but the avg speed per kb is the same for this page as well. Same is the case with the rest of the pages.
Application Platform : ASP.Net 3.5, C#3.0, LINQ as Data Access, SQL Server 2008
Server Platform : Windows Server 2003.
I would like to allow users to call my ruby on rails app as a service which returns a 'div' with html content in it, and embed that div into their app (which will not be a rails application).
For example, assume someone has their own php website that has a header/footer template that gets rendered, and a content area of the page that they need to fill based on some html I generate in my rails app. I would like to allow them, from php, to call to my website, get the 'div' I generate, and embed that as html in their php page.
What I'm trying to do is host a service on my site that returns some html content, but actually show that content as part of another site, so that the end user only sees the other site and never really knows about mine.
Also, I can use javascript on the client to do this if that is the only way, but I would prefer the php app to handle this at the server if possible so the client gets the html embedded from the original server and it looks like it all was generated by the php script that generated the entire page. I also want to avoid using an iframe.
I have a very simple page with which a user uploads a file. Using only server-side C# (e.g. the code-behind), how can I measure the amount of time the user had to wait for the file to upload?
View 3 RepliesDoes anyone know if it is possible to measure when a file has been downloaded?
I place files for clients to download but there are two things I need to know. One is if the file has been downloaded at all at any point. Second is how many times the file has been downloaded. Can each file (usually but not always image files - sometimes pdfs) be tagged in some way to record what happens to it?
How to measure the max available online user amount per second for a web app using asp.net?
Is there any tool to measure that?
I am looking for load testing, to find out how many users my app can handle.
Is there any recommended load testing tool?
how would i go about measuring the number of users connecting a server...
i need to make a code for it..
I am trying to determine if I have a database connection leak. So I need to see the number of open connections. I have some simple test code that creates a leak:
protected void Page_Load(object sender, EventArgs e)
{
for(int i = 0; i < 100; i++)
{
SqlConnection sql = new SqlConnection(@"Data Source=.SQLExpress;UID=sa;PWD=fjg^%kls;Initial Catalog=ABC");
sql.Open();
}
}
Note there is no .Close and this does infact crash after being run 3 times in quick succession.
In order to measure the leak I am running the Performance monitor and measuring SQLServer: General Statistics/User Connections:
However, these seem to be zero when I run my code:
What should I change to actually see the connections?
ANSWER
I have approved an answer below. Even though it doesn't use the performance tools, its good enough for my use. Bottom line is I wanted to see how many connections remain open after opening a web page and this did the trick.
I'm making a app for a bank, but it doesnt manage very important data. I have two problems, it will run over a VERY large LAN network protected by all kinds of security(antivirus and firewalls) and the bandwidth in certain regions is as low as 56kbps.(Its a desktop app with a web server backend connected by web services)
From the security point of view all I want is to prevent someone from executing the web services from some other source or app results in change in the database . I'm thinking of each desktop app installed with a install code, this will be hashed and required as a parameter for every function call and will act as an authentication ticket? Is this good enough? Are they better SIMPLER means?
For performance, how do I measure or know if the web service will send and receive data at a decent rate?
We have a web site that sits on a DotNetNuke platform and all of our coded modules are written in VB.Net for consistency. However, we have been sent a web page that works as a link and it is written in C# and references a cs file in its App_Code folder. If we try and load this into our website we get an error saying that it is not written in VB we then tried converting the homepage to VB but the reference folder is very complex and written in C#. Can we load the reference file even though it is C# and reference it using VB code. The current all is OurRemService RemService = New OurRemService(); where OurRemService is a file in the App_Code folder in the web page folder. The only other way around this is for us to set it up in IIS as a virtual directory and reference it directly but we would prefer to integrate it into our website.
View 1 RepliesIs it possible to measure the elapsed time from when a user clicks an 'ajaxified' button until the ajax controls are updated?
I'm using ASP.Net v4, Visual Studio 2010, C#, and the MS AjaxToolkit.
I have designed a gridview one of the fields of which I want to send the user to an URL onclick. After browsing the net for a while, I opted for converting the BoundField to a TemplateField. The same OLAP metric ([Measures].[GP]) works fine in the bound field yet produces an error in the Template:
<asp:TemplateField
HeaderText="GP Var">
<HeaderStyle
Font-Names="Verdana"
Font-Size="Smaller"
HorizontalAlign="Center"
[code]...
My requirement is that I have a few hyperlinks on a webpage and when the user clicks on these hyperlinks I should redirect the user to an asp.net web page(Default.aspx) in a different website.
For the 1st time when the user clicks on one of the hyperlinks it will launch a new browser window with the Default.aspx loaded and then if the user clicks on some other hyperlink I want to redirect the user to the existing browser window(in which deafult.aspx is already loaded)with the content related to this particular hyperlink loaded,instead of launching a new browser window/tab.
But I am not sure of how to achieve this.I wonder if I can add some js to the asp.net Default.aspx page to achieve this.
I am a begineer in ASP.Net programming. After learning the basics, I tried to host a simple website in a virtual directory. But the explorer returns error mentioned in the subject. Background tools used:
Operating system - Windows XP SP 3
IIS Server - 5.1
Internet explorer - 8
Visual Studio 2010
.Net Frame Work - 4
I have tried numerous ways described in various articles including those posted in this site to get the error solved, but in vain.
I'm a web developer and I have a website (actually a mega project) which i need to complete in a very less time.
How do i actually boost my productivity and double or even triple my productivity by developing my application fast.??
and in short how do i speed up ASP.NEt development time?
I started using url routing for my web application. It's a dynamic website and it has more than 50k pages. It looks like now it works slower. how to optimize it, to improve it and make it more efficient?
View 1 Repliesi have 100 buttons and 101 textboxs, button run scripts and some of them run by code like this:
[code]....
i meaen i want it run on client side only , before i submit by another button, but the problem is it spent more than 2 second to get value
from textbox1 to textbox2 in this case( because i have 101 button run like these), i know that it need time postback to server. i could not use return()false because if i do like that the value from texbox1 will not add into textbox2, 2 seconds is not reach my golf.
I am working on finance domain, we are using many sessions and viewstates for store values and data. Our clients want fast speed of our website. We are using grid/repeater/datalist and chart controls for show data.
View 3 RepliesI am working on a financial portal and I am having a problem..I don;t know what to call it so i mentioned it as an 'unknown to me' problem..I have a webpage..whenever I click on any button on my webpage, the request goes through..but nothing show up on the webpage..then If I click on another link and then again come back to previous link,then only I see the results of button_click..
e.g.
I have a currency conversion and investment form..so after filling up the form in following way and if I click on "INVEST" then nothing shows up..
so now if i click on any other link and go back to 'buy currency' link I see the result as 'investment successful'
how is it possible to test a web application developed in VS 2008, in different internet speed connections?
View 8 RepliesI would like to develop a DSL speed checker (upload and download time) in ASP.Net C # and Ajax for and implemented into any website. Has anyone experience with it or is there somewhere even code samples which you only have to adapt to? [URL]
View 2 Replies