Skip to content

Memory limit

Compare
Choose a tag to compare
@p3x-robot p3x-robot released this 24 May 15:31
· 148 commits to master since this release

Before, with twig, it was using a huge commit about 600MB (PHP).

Now, it works with 64MB (PHP) and huge diffs (like 9000 lines), it loads a chunk of 256 lines at max, then the rest is with setTimeout with line by line, so there is no blocking in the GUI at all. Maybe slower, but never blocking.

If you toggle the diff button (show/hide), it will pause rendering and it will only continue the long diff if it shows.

https://gitlist.patrikx3.com/gitlist.git/commit/f1e4d5b938c8f1a6cd178aeea2e9e86111ea5323#p3x-gitlist-diff-93