Re: Question about substring match (*_sub)

2021-01-23 Thread Aleksandar Lazic
On 23.01.21 07:36, Илья Шипицин wrote: the following usually works for performance profiling. 1) setup work stand (similar to what you use in production) 2) use valgrind + callgrind for collecting traces 3) put workload 4) aggregate using kcachegrind most probably you were going to do very

Re: Question about substring match (*_sub)

2021-01-22 Thread Илья Шипицин
the following usually works for performance profiling. 1) setup work stand (similar to what you use in production) 2) use valgrind + callgrind for collecting traces 3) put workload 4) aggregate using kcachegrind most probably you were going to do very similar things already :) сб, 23 янв.

Question about substring match (*_sub)

2021-01-22 Thread Aleksandar Lazic
Hi. I would like to take a look into the substring match implementation because of the comment there. http://git.haproxy.org/?p=haproxy.git;a=blob;f=src/pattern.c;h=8729769e5e549bcd4043ae9220ceea440445332a;hb=HEAD#l767 "NB: Suboptimal, should be rewritten using a Boyer-Moore method." Now