On Wed, 30 Sep 2009, Roland Mainz wrote:

The difference here is 0.0034 seconds. This sounds tiny but this sum-up
over 1000000 iterations in the benchmarks of the Sun performance people
and the C team will only look at the absolute numbers and treat these
extra costs as "regression" (which means the change cannot make it into
OS/Net with today's rules).

Whenever facing an optimization issue like this, the questions needs to be asked:

 * Can I avoid needing to do a slow thing at all?

 * Can I make a slow thing faster?

 * Can I defer using the slow thing to only when it is needed?

It seems that in this case there are a bunch of libraries supporting internationalization which do not need to be loaded in order to perform the function 'mkfifo'. Defering loading these libraries until point of use may cause them to usually not be loaded at all, and therefore there is considerable performance boost.

Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org

Reply via email to