chicken-hackers
[Top][All Lists]
Advanced

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

[Chicken-hackers] irregex speed notes


From: Jim Ursetto
Subject: [Chicken-hackers] irregex speed notes
Date: Thu, 9 Apr 2009 16:29:09 -0500

It's been pointed out on IRC, but I wanted to mention here (in case it
is not general knowledge) that the transition from PCRE to irregex
imposed a severe performance penalty.

This is on a 400MB Apache log file, run like this:

$ csc -O2 -o a a.scm; ./a -:h4m
$ irb a.rb

Chicken 3.4.0: 11s
Chicken 3.5.2: 2m 20s
Chicken 4.0.0: 2m 15s
Ruby 0.9: 4s

If anyone is interested in optimization, please direct your efforts here. :)

Attachment: a.scm
Description: Binary data

Attachment: a.rb
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]