Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Internet web app vs. Intranet web app
Message
De
24/04/2011 20:49:30
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01508249
Message ID:
01508289
Vues:
42
>The 3 (or so) seconds is the time from the click of a submit (or link) to the display of the next page. I have tested most and confirmed that the stored procedures that get all the data needed for the page are all returning the data in total in less than a second. I am also noticing on some AJAX calls to the server that there is some delay as well that I would like to speed up.

To calculate the proper response time for the hit would be to take it from the page Init() event such as:
        Public nDateNow As Double = 0

        Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
            nDateNow = Date.Now.Ticks
And, do the same in the page Unload() event such as:
        Sub Page_UnLoad(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Unload
            Dim lnDateNow As Double = Date.Now.Ticks
            Dim lnElapse As Double = 0

                lnElapse = ((lnDateNow - nDateNow) / 10000000)
        End Sub
Externally to that, if there is a bottleneck somewhere that slows things down, you would have to try to find out. Because, if you say that your hit is less than a second, then there is a 2-second delay on top of it somewhere which is affecting it.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform