Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Slowdown around 5.0.5-dev-0



On 24 October 2015 at 21:39, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> OK, let's try it this way.  This retains MOST of 36834, but puts back
> scanning the entire heap if we intend to free the block to which the
> current fheap pointer refers.
>
> (This is a patch against 8e9a68ad but applies to current head.)

My results. 36943 has string_test speed of current head (so it's
slightly better than in your results). And memory usage is in check,
so that's a fix.

I calibrated for string_test, it's interesting how much slower
array_test is on OS X. My machine is 2.3 GHz, maybe that's some reason
(your is faster IIRC).

Best regards,
Sebastian Gniazdowski
Running [zsh-head-8e9a68a]:              string_test      22081,62
Running [zsh-36926]:                     string_test      48766,75
Running [zsh-36943]:                     string_test      21897,12

Running [zsh-head-8e9a68a]:              array_test       48814,49
Running [zsh-36926]:                     array_test       48213,22
Running [zsh-36943]:                     array_test       49198,79

Running [zsh-head-8e9a68a]:              function_test    43091,00
Running [zsh-36926]:                     function_test    44121,87
Running [zsh-36943]:                     function_test    42354,93

Running [zsh-head-8e9a68a]:              search_test       8396,50
Running [zsh-36926]:                     search_test       8122,48
Running [zsh-36943]:                     search_test       7816,17

# Tests for zsh-head-8e9a68a
# string_test 43, 179, 318, 451, 583, 713, last: 9.6
string_test 314.8
# array_test 1.3, 2.5, 3.3, 3.7, 4.3, 5.3, 6.3, 7, 7.8, 8, 8.4, 8.6, last: 8.8
array_test 5.3
# function_test 2.7, 2.9, 2.6, 2.9, 2.9, 2.8, 2.7, 2.6, last: 2.6
function_test 2.8
# search_test 111, 213, last: 266
search_test 111.0


# Tests for zsh-36926
# string_test 3.1, 7.6, 9.1, 11, 11, 12, 10, 11, 11, 12, 12, 11, last: 10
string_test 10.0
# array_test 1.5, 2.3, 3.3, 3.7, 4.3, 5, 5.8, 6.8, 7.5, 7.8, 8.1, 8.4, last: 8.6
array_test 5.1
# function_test 2.8, 2.6, 2.6, 2.7, 2.9, 2.8, 2.8, 2.9, last: 2.6
function_test 2.7
# search_test 108, 214, last: 266
search_test 108.0


# Tests for zsh-36943
# string_test 4.6, 8.6, 9.5, 10, 10, 11, last: 8.9
string_test 8.5
# array_test 1.3, 2.4, 2.9, 3.7, 4.3, 5.1, 5.9, 6.9, 7.6, 7.8, 8.2, 8.4, last: 8.7
array_test 5.1
# function_test 2.6, 2.6, 2.7, 2.8, 2.6, 2.9, 2.8, 2.8, last: 2.6
function_test 2.7
# search_test 111, 216, last: 266
search_test 111.0



Messages sorted by: Reverse Date, Date, Thread, Author