[antlr-interest] Re: BENCHMARK. ANTLR.

micheal_jor open.zone at virgin.net
Sat Nov 13 13:24:44 PST 2004



--- In antlr-interest at yahoogroups.com, Ruslan Zasukhin <sunshine at p...>
wrote:

> >> Alex Sedow already have give you exact numbers:
> >>     3-4 times speed up thanks to special string + allocator.
> > 
> > OK, I got a 5-7x speedup just by buffering the whole input (tested
> > with C# not C++). In your tests, were you reading from a file or
> > memory buffer?
> 
> We have just SQL query. 100-20-300 bytes.
> 
> So no files invoked.

Ok and that also means the input is already buffered in memory.

Hate to ask you this but, you were reusing a single instance of the
Lexer/Parser to run all the million queries right?.

Cheers,

Micheal
ANTLR/C#






 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





More information about the antlr-interest mailing list