Parser Benchmark

Revision as of 09:38, 16 August 2006 by Paulb (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The parser benchmark tool is used to benchmark the on-going evolution of the Eiffel parser. The tool can be compiled for both classic and .NET dervitives of Eiffel to test the performance on both.

The tool can test individual factories used in various situations, via command-line specification. In addition the frozen implementation of the Eiffel parser can be benchmarked to see the performance gains/loses on .NET.

Built-in Factories

To-date there are four factories supplied with the Eiffel parser in the public repository (https://origo.ethz.ch/eiffelsoftware/es/trunk/Src/Eiffel/parser)

  • AST_NULL_FACTORY: A "do-nothing" factory that does not create any objects, it's more for validation.
  • AST_FACTORY: A base factory that will only create meaningful abstract syntax nodes (keywords, whitespace, comments, etc are ignored.)
  • AST_LIGHT_ROUNDTRIP_FACTORY: A factory that does the job of AST_FACTORY and more. With this factory keyword abstract syntax nodes are created.
  • AST_ROUNDTRIP_FACTORY: A factory that generates abstract syntax nodes and a match list (lists for non-abstract syntax-represented items) for every thing in an Eiffel code file.

Command-line Options

To view the help information please use the /? switch.

Change Log

Initial Entry --Paulb 19:38, 16 August 2006 (CEST)