Releases: patrikx3/gitlist
Minor typo on the next/older commit page
2.8.56-862 p3x-robot sunday release 7/1/2018, 8:04:57 PM
Synched to klaussilveira/gitlist today
2.8.52-855 p3x-robot sunday release 7/1/2018, 12:51:49 PM
Added twemoji to the commits list
2.8.48-849 p3x-robot sunday release 7/1/2018, 12:51:49 PM
Memory limit
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.
Chore
Deffered loading and rendering diffs.
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.
100% deffered rendering for huge commits and diffs
I made it to work with less than 128MB PHP for very huge commits and diffs.
Besides, if a line is over 256 lines, it is deffered every timeout, so check this commit, how big diffs are there and it is super fast (using AngularJs):
https://gitlist.patrikx3.com/gitlist.git/commit/f1e4d5b938c8f1a6cd178aeea2e9e86111ea5323#p3x-gitlist-diff-94
Diff lines: 7626
The Gitter is merged into Gitlist to code easier.
2.7.78-794 p3x-robot sunday release 2018-5-21 23:34:22
The pager was not working with the browser back function.
2.7.19-757 p3x-robot sunday release 2018-5-21 23:34:22
The commit message is using markdown
2.7.17-754 p3x-robot sunday release 2018-5-21 23:34:22