Hi Vincent, Thanks for the suggestion it seems very helpful, I will try it and let you know in case of any query.
Thanks, Priyesh On Thu, Jul 16, 2020 at 4:14 PM Vincent Torri <[email protected]> wrote: > On Thu, Jul 16, 2020 at 9:51 AM Werner LEMBERG <[email protected]> wrote: > > > > > > >> *Have you set `FT2_DEBUG=any:7` in the environment?* > > > > > > Sorry, I forgot to mention this, I have used FT2_DEBUG=any:7 with > > > OpenSans-Bold.ttf font. > > > > OK. > > > > > Also, I wanted to ask is this the right approach for profiling? > > > > I'm not an expert, sorry. However, you might also try `valgrind > > --tool=cachegrind` (on GNU/Linux), which gives you detailed > > information on used CPU cycles including instruction and data caches. > > also > valgrind --tool=callgrind + kcachegrind > and > oprofile could be useful > > Vincen Torri >
