While working on PetitDelphi, we noticed significant performance problems. As PetitDelphi copied the design of PetitJava, we found the same root cause.
When creating a new java parser, a significant amount of time is spend on initialization, especially the creation of parsers for keywords, separators and operators. The introduction of a lexicon cache allows the tests to run significantly faster. 2230 ms to 224ms the second time.
PetitJava-DiegoLont.115
Yuriy, can you merge?
Stephan
wow :)
On Jun 19, 2013, at 4:09 PM, Stephan Eggermont stephan@stack.nl wrote:
While working on PetitDelphi, we noticed significant performance problems. As PetitDelphi copied the design of PetitJava, we found the same root cause.
When creating a new java parser, a significant amount of time is spend on initialization, especially the creation of parsers for keywords, separators and operators. The introduction of a lexicon cache allows the tests to run significantly faster. 2230 ms to 224ms the second time.
PetitJava-DiegoLont.115
Yuriy, can you merge?
Stephan
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Hi,
I'd like to merge, but right now I'm on vacation and do not have laptop with me. I'll be back on next weekend. Maybe Benjamin Arezki can take a look as he will be working on FAST for Java which also means working with PetitJava.
Uko
Надіслано з iPhone
19 черв. 2013 о 16:17 Esteban Lorenzano estebanlm@gmail.com написав(ла):
wow :)
On Jun 19, 2013, at 4:09 PM, Stephan Eggermont stephan@stack.nl wrote:
While working on PetitDelphi, we noticed significant performance problems. As PetitDelphi copied the design of PetitJava, we found the same root cause.
When creating a new java parser, a significant amount of time is spend on initialization, especially the creation of parsers for keywords, separators and operators. The introduction of a lexicon cache allows the tests to run significantly faster. 2230 ms to 224ms the second time.
PetitJava-DiegoLont.115
Yuriy, can you merge?
Stephan
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev