-
-
Notifications
You must be signed in to change notification settings - Fork 17
Performance problems #56
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestquestionFurther information is requestedFurther information is requested
Description
Activity
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestquestionFurther information is requestedFurther information is requested
On the two-line sample file, org-parser takes
lein runwhich is probably mainly compilation and runtime initialization.
On a 31,000 line real-world org file, it takes a maximum of CPU, 2GB of memory and at least 15 minutes (not yet finished).
(
lein runcrashed after 15 minutes withOutOfMemoryError.)I haven't tried the JS version yet but I guess on a Smartphone it will only work well for files with a few hundred lines.
I'm a bit surprised because our parse trees should all be pretty flat.
@branch14 how was this language-independent state-machine parser generator called again? I guess a compiled binary compiler would be significantly faster.