|benchmarks email@example.com (sc2002) (2002-09-03)|
|RE: benchmarks firstname.lastname@example.org (Quinn Tyler Jackson) (2002-09-08)|
|From:||"Quinn Tyler Jackson" <email@example.com>|
|Date:||8 Sep 2002 22:07:10 -0400|
|Posted-Date:||08 Sep 2002 22:07:10 EDT|
> Are there any benchmarks for the speed of compilation, or
> interpretation or parsing. What I'm looking for is to be able to
> compare the speed of my parser with something similar. Something like
> it took such and such parser x number of seconds to read through a txt
> file containing l declarations, n functions, m function calls and
> .. so forth.
One trouble with such comparisons is that two different parsing tools
will typically have two different grammar formats, such that it's
nearly impossible to take a grammar specification for language L "out
of the box" and compare it to another engine. If you are going to
compare the speed of parser A and B in accepting some language L, and
they are competing tools, it is only fair to give the parser B
implementer the opportunity to write the grammar, so the comparison is
fair. This, of course, is not a problem if the grammar specification
drops right into A and B without modification, and is supplied with
tool B as an example grammar.
If you don't allow those intimately familiar with engine B to supply
the grammar, then there is always the possibility that what one is
witnessing is not a true comparison.
Quinn Tyler Jackson
Return to the
Search the comp.compilers archives again.