I've tested a single page, one created to test our own Table object generation.

It's a big page so it is normal that the generation takes time. The
issue is not the 3 seconds duration.

The problem is that the same page, running on the same hardware, shows
different generation times between Grails 6 (around 3 secs, OK) and
Grails 7 (more than 4 secs - ?).

Gianluca Sartori
--
https://dueuno.com

On Thu, 11 Sept 2025 at 18:06, James Fredley <[email protected]> wrote:
>
> Do these times represent multiple requests?
>
> Here is some recent load testing I performed on an AWS t4g.micro with 1GB RAM 
> against two actions with GSPs.
>
> ========================================================================================================================
> ---- Global Information 
> -------------------------------------------------------------|---Total---|-----OK----|----KO----
> > request count                                                               
> >        |    89,438 |    89,438 |         -
> > min response time (ms)                                                      
> >        |        26 |        26 |         -
> > max response time (ms)                                                      
> >        |       575 |       575 |         -
> > mean response time (ms)                                                     
> >        |        39 |        39 |         -
> > response time std deviation (ms)                                            
> >        |        19 |        19 |         -
> > response time 50th percentile (ms)                                          
> >        |        34 |        34 |         -
> > response time 75th percentile (ms)                                          
> >        |        41 |        41 |         -
> > response time 95th percentile (ms)                                          
> >        |        63 |        63 |         -
> > response time 99th percentile (ms)                                          
> >        |        97 |        97 |         -
> > mean throughput (rps)                                                       
> >        |    149.06 |    149.06 |         -
> ---- Response Time Distribution 
> ----------------------------------------------------------------------------------------
> > OK: t < 800 ms                                                              
> >                            89,438   (100%)
> > OK: 800 ms <= t < 1200 ms                                                   
> >                                 0     (0%)
> > OK: t >= 1200 ms                                                            
> >                                 0     (0%)
> > KO                                                                          
> >                                 0     (0%)
> ========================================================================================================================
>
> On 2025/09/11 14:11:36 Gianluca Sartori wrote:
> > Hi folks,
> >
> > I've been testing our "stress-test" with grails 7.0.0-RC1, It looks
> > like the GSP rendering is slower than earlier (we do server side
> > rendering so for us it is crucial to keep GSP generation time & final
> > weight as low as possible).
> >
> > This is not at all a priority at the moment, but I was wondering if
> > something changed under the GSP hood or the issue may be somewhere
> > else.
> >
> > Grails 6
> > 15:58:56.608 WARN  [https-jsse-nio-9443-exec-5]
> > d.elements.core.ElementsController       : Rendered TRANSITION in
> > 3230ms
> > 15:59:04.755 WARN  [https-jsse-nio-9443-exec-3]
> > d.elements.core.ElementsController       : Rendered TRANSITION in
> > 2874ms
> > 15:59:13.482 WARN  [https-jsse-nio-9443-exec-1]
> > d.elements.core.ElementsController       : Rendered TRANSITION in
> > 3136ms
> > 15:59:20.795 WARN  [https-jsse-nio-9443-exec-4]
> > d.elements.core.ElementsController       : Rendered TRANSITION in
> > 3121ms
> >
> > Grails 7
> > 16:03:30.043 WARN  [https-jsse-nio-9443-exec-1]
> > d.elements.core.ElementsController       : Rendered TRANSITION in
> > 4608ms
> > 16:03:44.926 WARN  [https-jsse-nio-9443-exec-2]
> > d.elements.core.ElementsController       : Rendered TRANSITION in
> > 4623ms
> > 16:03:59.200 WARN  [https-jsse-nio-9443-exec-4]
> > d.elements.core.ElementsController       : Rendered TRANSITION in
> > 4626ms
> > 16:04:49.791 WARN  [https-jsse-nio-9443-exec-9]
> > d.elements.core.ElementsController       : Rendered TRANSITION in
> > 4994ms
> >
> >
> > Gianluca Sartori
> > --
> > https://dueuno.com
> >

Reply via email to