Skip to content
Commit 875ff58c authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Using "parallel" gem to parse files in parallel.

To make this performance-boost work, some restructuring was required:

- Parser now includes DocParser, returning the doc-blocks
  in fully parsed form.

- Aggregator no more includes Parser.  Instead of parse() method
  it now has aggregate(), which expects output of Parser as input.
  Because of this some changes to unit tests were also needed.

- App performs the parallel parsing of source code and then
  feeds the results of parsing sequencially to Aggregator.

- Timing now reports three measures: parsing, aggregating, generating.
  But because of the parallel-phase, the report of parsing isn't
  that accurate as it also includes the generation of code files.
parent 4744d76d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment