On Fri, 30 Dec 2016, Henrik Grubbstr�m (Lysator) @ Pike (-) developers forum wrote:
The immediate benefits are that encode_value and describe_svalue got some significant speedup. I added some benchmarks to the pike-benchmark repository. On my machine the results look like this:
buffer/encode.pike#decode_array(int) | 73.0 M 1.7 % | 71.1 M 0.8 % | buffer/encode.pike#decode_string(8bit) | 10.0 G 2.1 % | 9.9 G 3.9 % |
Looks great except for the above two, which I suspect fall within the measurement margin of error.
Yes, I think those are noise. Only those tests with encode_* use the new buffers, the decoding steps do not use it and should not be different. I will run the benchmarks on a machine with more stable performance (non-mobile) and post some new results.
Arne