User forums > Help

High CPU usage during build operation when verbose is enabled

<< < (2/2)

Miguel Gimenez:
Have you noted improvements in start up time?

christo:
Integrated ctre which is mentioned in the links provided by @blauzahn and tested, performance is much better.
With ctre, we can't use xml for storing the regex, it should be added to the code. I've done the changes such that if there is any regex in the xml file, it would be used by old method, and if not matched, ctre match is used. This way,   regex can be tested using the xml, once finalized, add it to the code. Please note, this change requires c++20.
Attaching patch

christo:
Attaching perf output with and without ctre

Navigation

[0] Message Index

[*] Previous page

Go to full version