-
Notifications
You must be signed in to change notification settings - Fork 9
Benchmarks
no-defun-allowed edited this page Apr 13, 2021
·
16 revisions
These tests were run on SBCL 2.1.1 unless stated otherwise. We used the-cost-of-nothing to benchmark.
Search for sun
in The earth is captive to the moon, some seek the rising sun, I walk the road on wings of change, the game has just begun
:
function | runtime |
---|---|
one-more-re-nightmare:first-match |
96 ns |
ditto, no BMH | 197 ns |
cl:search |
797 ns |
cl-ppcre:scan |
1150 ns |
Search for [abc]+@[abc]+
(or (a|b|c)+@(a|b|c)+
in o-m-r-n syntax) in Date: Fri, 9 April 2021 From: <aaa@bbb>
function | runtime |
---|---|
one-more-re-nightmare:first-match |
152 ns |
cl-ppcre:scan |
825 ns |