Skip to content

Deffered loading and rendering diffs.

Compare
Choose a tag to compare
@p3x-robot p3x-robot released this 23 May 00:10
· 142 commits to master since this release

PHP Memory

By now, I am loading the diffs via AJAX. I render in the browser the diffs even deffered. For a huge commit twig rendered the PHP using over 512MB, now it works with 128MB. The browser does not hang anymore.

This what it was before ...

It is possible, that some big commits are huge and for now, it loads everything. In V3, everything will be lazy, but looks like I had a huge commit and I had to set my PHP.ini had to change like:

max_execution_time = 240
max_input_time = 240
memory_limit = 1024m

I checked and the big commit was using 258 MBytes.

Though even the browser is almost hanging, take a long time to render the page.