squid-3 profiling

From: Adrian Chadd <adrian@dont-contact.us>
Date: Thu, 24 May 2007 22:11:49 +0800

Doing my usual run of squid checking:

  471 0.9703 squid xxfree
  486 1.0012 squid HttpHeader::clean()
  795 1.6377 squid ACLChecklist::fastCheck()
  1250 2.5750 squid xmalloc
  1392 2.8676 squid xstrncpy
  3495 7.1998 squid MemBuf::append(char const*, int)
  4697 9.6760 squid SqString::init(char const*)
  7706 15.8746 squid SqString::limitInit(char const*, unsigned int)
  7889 16.2516 squid SqString::initBuf(unsigned int)
  16160 33.2901 squid SqString::clear()
48543 10.8989 squid xprof_start
  48543 100.000 squid xprof_start [self]

.. lots of CPU time being spent in SqSquid.

to reproduce, looping this:

ab -c 1024 -n 100000 http://192.168.1.8:3128/squid-internal-static/icons/anthony-box.gif

Adrian
Received on Thu May 24 2007 - 08:10:56 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Jun 01 2007 - 12:00:09 MDT