Fórum
How to chcek time of rendering whole page?
Toshiro Mifune, modificado 8 Anos atrás.
How to chcek time of rendering whole page?
Regular Member Postagens: 238 Data de Entrada: 11/12/14 Postagens Recentes
Hello,
is there a way of how to chcek time of rendering web-page? Thank you.
is there a way of how to chcek time of rendering web-page? Thank you.
Jan Geißler, modificado 8 Anos atrás.
RE: How to chcek time of rendering whole page?
Liferay Master Postagens: 735 Data de Entrada: 05/07/11 Postagens Recentes
Off course. Place this in your jsp:
<%= new Date().toString(); %>
<%= new Date().toString(); %>
Toshiro Mifune, modificado 8 Anos atrás.
RE: How to chcek time of rendering whole page?
Regular Member Postagens: 238 Data de Entrada: 11/12/14 Postagens Recentes
At first I have only *.vm files. And this <%= new Date().toString(); %> just show a current date/time ... but I want to know how long it takes to render my page.
Jan Geißler, modificado 8 Anos atrás.
RE: How to chcek time of rendering whole page?
Liferay Master Postagens: 735 Data de Entrada: 05/07/11 Postagens Recentes
Are you talking about the render time (which basically would be the time the browsers takes to render the page after all HTML and CSS & stuff is sent to the browser) or are you talking about request processing time, the time it takes between sending your request and getting the full response?
Toshiro Mifune, modificado 8 Anos atrás.
RE: How to chcek time of rendering whole page?
Regular Member Postagens: 238 Data de Entrada: 11/12/14 Postagens Recentes
I am talking about first part. (... time the browsers takes to render the page ...)
Jan Geißler, modificado 8 Anos atrás.
RE: How to chcek time of rendering whole page?
Liferay Master Postagens: 735 Data de Entrada: 05/07/11 Postagens Recentes
Try this:
https://developer.mozilla.org/en-US/docs/Navigation_timing
https://developer.mozilla.org/en-US/docs/Navigation_timing
David Proba, modificado 8 Anos atrás.
RE: How to chcek time of rendering whole page?
Junior Member Postagens: 26 Data de Entrada: 30/10/14 Postagens Recentes
I think you want to check your performance, right?
I recommend two ways:
First of all, use your browser developer tools (network tab) to check the amount of time elements of your complete web page need to load.
Second, look at https://docs.liferay.com/portal/6.2/propertiesdoc/portal.properties.html#Monitoring
With the help of these settings, you can monitor the response times of you Liferay.
So... at the end of the day, you can investigate, if bad performance is caused by the portal, some custom plugins, some js stuff or maybe even some web services.
I recommend two ways:
First of all, use your browser developer tools (network tab) to check the amount of time elements of your complete web page need to load.
Second, look at https://docs.liferay.com/portal/6.2/propertiesdoc/portal.properties.html#Monitoring
With the help of these settings, you can monitor the response times of you Liferay.
So... at the end of the day, you can investigate, if bad performance is caused by the portal, some custom plugins, some js stuff or maybe even some web services.
Olaf Kock, modificado 8 Anos atrás.
RE: How to chcek time of rendering whole page?
Liferay Legend Postagens: 6403 Data de Entrada: 23/09/08 Postagens Recentes
Incidently, someone has written a blog article about this in the ancient past. I believe the information is still accurate.
But the "connected services" link above is even better and easier to use.
But the "connected services" link above is even better and easier to use.
Juan Gonzalez, modificado 8 Anos atrás.
RE: How to chcek time of rendering whole page?
Liferay Legend Postagens: 3089 Data de Entrada: 28/10/08 Postagens Recentes
Hi Toshiro,
you can use Liferay Connected Services to obtain good metrics, you can see them here:
https://dev.liferay.com/discover/deployment/-/knowledge_base/6-2/using-lcs
you can use Liferay Connected Services to obtain good metrics, you can see them here:
https://dev.liferay.com/discover/deployment/-/knowledge_base/6-2/using-lcs