[Date Prev ][Date Next ][Thread Prev ][Thread Next ][Date Index ][Thread Index ]
Re: performance bug of `wc -m` on glibc systems
From :
Bruno Haible
Subject :
Re: performance bug of `wc -m` on glibc systems
Date :
Mon, 21 May 2018 20:01:09 +0200
User-agent :
KMail/5.1.3 (Linux/4.4.0-124-generic; KDE/5.18.0; x86_64; ; )
With the proposed function-pointer-factory changes, I'm seeing
this speedup on glibc systems:
num mbc
Before 0.056 0.152
After 0.057 0.089
-------
Speedup 1.0 1.7
factor
Find attached the profiling result.
What you can see:
- The glibc-compatible rewrite of UTF-8 mbrtowc is about 4.5 times faster
than the glibc implementation.
- The glibc wcwidth and the gnulib uc_width are approximately on par,
regarding speed. uc_width is probably slightly slower, but not
dramatically.
Bruno
callgrind.out.11605.png
Description: application/kcachegrind
Re: performance bug of `wc -m` , (continued)
Re: performance bug of `wc -m` , Eric Fischer , 2018/05/16
Re: performance bug of `wc -m` , PƔdraig Brady , 2018/05/18
Re: performance bug of `wc -m` , PƔdraig Brady , 2018/05/18
Re: performance bug of `wc -m` , Bernhard Voelker , 2018/05/18
Re: performance bug of `wc -m` , PƔdraig Brady , 2018/05/18
Re: performance bug of `wc -m` , Eric Fischer , 2018/05/18
Re: performance bug of `wc -m` , Eric Fischer , 2018/05/18
Re: performance bug of `wc -m` , PƔdraig Brady , 2018/05/18
Re: performance bug of `wc -m` , L A Walsh , 2018/05/18
Re: performance bug of `wc -m` on glibc systems , Bruno Haible , 2018/05/20
Re: performance bug of `wc -m` on glibc systems ,
Bruno Haible <=
Re: performance bug of `wc -m` on simulated macOS , Bruno Haible , 2018/05/20
Re: performance bug of `wc -m` on macOS , Bruno Haible , 2018/05/20
Re: performance bug of `wc -m` on macOS , PƔdraig Brady , 2018/05/20
Re: performance bug of `wc -m` on macOS , Bruno Haible , 2018/05/21
Re: performance bug of `wc -m` on macOS , Bruno Haible , 2018/05/21
speeding up `wc -m` , Bruno Haible , 2018/05/21
Re: speeding up `wc -m` , PƔdraig Brady , 2018/05/21
Re: performance bug of `wc -m` , Kaz Kylheku (Coreutils) , 2018/05/17
Re: performance bug of `wc -m` , Eric Fischer , 2018/05/17
Re: performance bug of `wc -m` , Kaz Kylheku (Coreutils) , 2018/05/17