@Deo,
it’s not that easy because this is a big project with tens of lines to plot, external jquery scripts and so on; if possible I could try to provide more data if you request. Eg this morning I’ve made other 2 tests and they don’t give errors, but in any case were very slow, more then 22 seconds.
Doing a profiling i see that 21.5 seconds on 22.5 the script was idle; disabling the jquery calls doesn’t change this behaviour.
On of the test during profiling never completed, remained idle fot 80 seconds without disabling lines
I’ll try to create a jsfiddle, but perhaps will not be that easy.