Request for comments: std.d.lexer

Mehrdad wfunction at hotmail.com
Mon Jan 28 01:09:24 PST 2013


On Monday, 28 January 2013 at 09:07:15 UTC, Jacob Carlborg wrote:
> On 2013-01-28 10:03, Mehrdad wrote:
>
>> Semi-unrelated question -- how would you benchmark a _parser_?
>>
>> Is there any way to get a _number_ as an answer, or is 
>> comparing against
>> a rival parser the only way of benchmarking a parser?
>
> It should always be possible to get a number, but it would be 
> hard to determine if that's a good number or not without 
> comparing with anything else.


Sorry I think my question was vague -- what I meant was, how do 
you measure it, i.e. in what units?

Lines per second? Tokens per second? Syntax nodes per second? etc.


More information about the Digitalmars-d mailing list