Open karlicoss opened 3 years ago
Not that it's slow, but making it even faster wouldn't hurt. Or at least setting up some proper benchmarks.
https://github.com/org-roam/test-org-files is a good source of test files
py-spy output from parsing a bunch of files:
py-spy
Note that iterative parsing (using generators) makes it a bit misleading
_iparse_timestamps appears as a child call of _iparse_repeated_tasks
_iparse_timestamps
_iparse_repeated_tasks
Tried replacing re with regex (https://pypi.org/project/regex), but didn't have any effect
re
regex
Not that it's slow, but making it even faster wouldn't hurt. Or at least setting up some proper benchmarks.
https://github.com/org-roam/test-org-files is a good source of test files
py-spy
output from parsing a bunch of files:Note that iterative parsing (using generators) makes it a bit misleading
_iparse_timestamps
appears as a child call of_iparse_repeated_tasks
Tried replacing
re
withregex
(https://pypi.org/project/regex), but didn't have any effect