On Thu, Jul 16, 2020 at 9:51 AM Werner LEMBERG <w...@gnu.org> 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