nanogui: Ways to speed up a simple application?


Previous by date: 19 Mar 2009 20:46:36 -0000 Re: Ways to speed up a simple application?, Ricardo P. Jasinski
Next by date: 19 Mar 2009 20:46:36 -0000 Re: Ways to speed up a simple application?, Greg Haerr
Previous in thread: 19 Mar 2009 20:46:36 -0000 Re: Ways to speed up a simple application?, Ricardo P. Jasinski
Next in thread: 19 Mar 2009 20:46:36 -0000 Re: Ways to speed up a simple application?, Greg Haerr

Subject: Re: [nanogui] Re: Ways to speed up a simple application?
From: "Aaron J. Grier" ####@####.####
Date: 19 Mar 2009 20:46:36 -0000
Message-Id: <20090319204526.GM3628@arwen.poofy.goof.com>

On Thu, Mar 19, 2009 at 03:46:35PM -0300, Ricardo P. Jasinski wrote:
>    1. Using the default system font, page rendering went from 8 secs
> down to less than 1 sec. Very nice to see!
>    2. I converted DejaVu Sans 18 bold to a C source file using
> convfnt, replaced the system font with it and recompiled nano-X. So,
> this became the new "System" font. Rendering delay is still under 1
> sec, which is nice. However, I lost anti-aliasing, and that makes the
> font almost unreadable... It won't be a solution, then.
> 
> I'm still not sure what conclusions we can draw from this...

let's see:

- application with freetype: 8 seconds.
- application replacing freetype with compiled-in bitmap font: < 1 second.

it seems pretty clear to me that you need to look at what you can do to
speed up freetype, and that nano-X isn't the issue here.

if you don't have a profiler, you can write rough benchmarks by
instrumenting code with whatever timers or timestamping facilities you
have available.  (ticks, time-of-day, etc...)

-- 
  Aaron J. Grier | "Not your ordinary poofy goof." | ####@####.####

Previous by date: 19 Mar 2009 20:46:36 -0000 Re: Ways to speed up a simple application?, Ricardo P. Jasinski
Next by date: 19 Mar 2009 20:46:36 -0000 Re: Ways to speed up a simple application?, Greg Haerr
Previous in thread: 19 Mar 2009 20:46:36 -0000 Re: Ways to speed up a simple application?, Ricardo P. Jasinski
Next in thread: 19 Mar 2009 20:46:36 -0000 Re: Ways to speed up a simple application?, Greg Haerr


Powered by ezmlm-browse 0.20.