unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* guile prolog benchmark
@ 2010-06-21 10:22 stefan
  2010-06-21 21:58 ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: stefan @ 2010-06-21 10:22 UTC (permalink / raw)
  To: guile-devel

Hi, I've come pretty far in writing a parser for prolog. It's a PEG
parser without packrat and interestingly it is done by doing a simple 
modding of a more standard match construct. The parser is custamizable
and it is pretty easy to add new user operators for prolog as you can in 
e.g. gnuprolog.

I did a new test with the famous n-queens example and here are the current 
performance statistics

gprolog WAM		350ms
gprolog COMPILED	100ms
moddeed guile           630ms

I find this quite reasonable and when we add naitive or JIT compilation it
should be fairly easy to take advantage of this as well for the modding I
have done.

Have fun
Stefan



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-06-22 12:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-21 10:22 guile prolog benchmark stefan
2010-06-21 21:58 ` Ludovic Courtès
2010-06-22  7:40   ` stefan
2010-06-22 11:49     ` Ludovic Courtès
2010-06-22 12:48       ` stefan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).