From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 10:18:26 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4A9C1065686 for ; Thu, 9 Oct 2008 10:18:26 +0000 (UTC) (envelope-from fulvio_esposito1981@libero.it) Received: from cp-out4.libero.it (cp-out4.libero.it [212.52.84.104]) by mx1.freebsd.org (Postfix) with ESMTP id 787348FC14 for ; Thu, 9 Oct 2008 10:18:26 +0000 (UTC) (envelope-from fulvio_esposito1981@libero.it) Received: from wmail5.libero.it (172.31.0.148) by cp-out4.libero.it (8.5.014) id 486AF9C207A0BDD2 for freebsd-questions@freebsd.org; Thu, 9 Oct 2008 12:06:47 +0200 Message-ID: <11642644.240911223546807054.JavaMail.defaultUser@defaultHost> Date: Thu, 9 Oct 2008 12:06:47 +0200 (CEST) From: "fulvio_esposito1981@libero.it" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain;charset="UTF-8" Content-Transfer-Encoding: 7bit X-SenderIP: 143.225.229.129 Subject: performance problem in regex X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "fulvio_esposito1981@libero.it" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 10:18:27 -0000 Hi all, I've got some performance hit using regex in libc on freebsd 6.3. I've done some test whit the patterns that l7-filter [http://l7-filter.sf.net] use to recognize level 7 internet protocol. For example, with the skypeout pattern, regexec() takes more tha 0.1 sec to do its work. Is this a know problem? Thanks in advance, Fulvio Esposito