> On 18 Dec 2016, at 7:30 PM, bronn styrionx <[email protected]> wrote:
> 
> heres what i with that command  
> 
> https://postimg.org/image/m1yi5fain/
> 
> using flask.  The console inspector isn't showing much for errors.  in fact I 
> fixed some of the functionality by adding a static J query file url_for link. 
>  What I probably need to add a couple flags to this command such as a path to 
> error log.
> 
> and pardon the delay Google groups is bugging out on mobile I keep getting 
> errors when trying to post which is getting really annoying so I will 
> probably have to continue this later.. Anyways my buttons work now so my only 
> qualm is its kind of slow to load.  otherwise better

More than likely it is going to be an issue in your application. What backend 
services is your application try to contact?

Alternatively do your front end web pages expect to download additional 
resources off the Internet? If you are trying to do this offline, that could be 
an issue? This could be compounded by issues with any JS front end if it 
expects to load everything up front before rendering. In other words, your 
application could be quick, but issue is JS front end.

To work out how much time is being spent in the application and for which 
requests, use options like the following:

    mod_wsgi-express start-server tests/environ.wsgi --log-to-terminal 
--access-log --access-log-format '%h %l %u %t "%r" %>s %b %{us}T’

IOW, turn on the access log and set the format to include time (in 
microseconds).

You will end up with entries like:

    127.0.0.1 - - [18/Dec/2016:19:58:01 +1100] "GET / HTTP/1.1" 200 8153 1380

The latest entry is time. Thus that example shows took 1.38 milliseconds.

Graham

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to