Re: [xml] libxml2 performance

On Tue, May 28, 2002 at 01:38:11PM +0100, Gary Pennington wrote:
If you can't profile, you can at least validate that library changes 
result in measured improvements on your application. You can still time 
(wall clock) program executions.

  My preferred way is to profile a single run of xmllint with the
--repeat --noout (as well as possibly --valid or just the SAX parsing)
on a significant instance, this allow to focuse the sampling on the
key operations:
    - parsing (events generation)
    - tree building
    - tree freeing
  Same for xsltproc when focusing on the XSLT engine.


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]