Re: [edk2-devel] 回复: [edk2-devel] FDF parser performance degrades rapidly on non-trivially sized inputs

2024-12-05 Thread davidr via groups.io
Here is the code I was testing with. You can probably reduce the changes down to just _SkipWhiteSpace(), but I haven't tried that yet. diff --git a/BaseTools/Source/Python/GenFds/FdfParser.py b/BaseTools/Source/Python/GenFds/FdfParser.py index feb4c72779..8c57720116 100644 --- a/BaseTools/Source

Re: [edk2-devel] FDF parser performance degrades rapidly on non-trivially sized inputs

2024-12-04 Thread davidr via groups.io
Sure, once I have time to read up on the patch process. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120873): https://edk2.groups.io/g/devel/message/120873 Mute This Topic: https://groups.io/mt/109914552/21656 Group Owner: devel+ow...@e

[edk2-devel] FDF parser performance degrades rapidly on non-trivially sized inputs

2024-12-03 Thread davidr via groups.io
Hi, I was testing out dumping a raw OVMF_VARS.fd into an FDF data section and noticed that my rebuilds of OVMF with no code changes went from 15 seconds to over 1 minute. The only change was the data in the NV_VARIABLE_STORE data section in OvmfPkg/Include/Fdf/VarStore.fdf.inc which changed the