SAP / abap-file-formats-tools

Tools for the development of ABAP file formats
MIT License
25 stars 6 forks source link

doc reader: add cache for scanned elements #169

Closed larshp closed 2 years ago

larshp commented 2 years ago

Add cache for scanned abap doc per class/interface in ZCL_AFF_ABAP_DOC_READER

On my 754 system, it took ~10 seconds to execute all unit tests, this is now down to ~3 seconds

larshp commented 2 years ago

unit test via transpiler is down to ~3 minutes, https://github.com/SAP/abap-file-formats-tools/runs/8250422169?check_suite_focus=true

from ~8 minutes, https://github.com/SAP/abap-file-formats-tools/runs/8228630901?check_suite_focus=true

note that https://github.com/SAP/abap-file-formats-tools/pull/167 will take down the downport, which I guess is most of the time spent in the 3 minutes

larshp commented 2 years ago

now full unit test on github actions = 1m 25s, https://github.com/SAP/abap-file-formats-tools/runs/8309579191