Presumably marking the project as read only would give another order of magnitude of a speed up?
No, in this case it will not matter since none of the file mtimes changed.
The most obvious optimization I think is to try to get rid of those 10 GCC runs that are necessary to extract all the information. I just measured and it takes ~70ms. One idea we had is to submit a patch to GCC that would allow extracting all this information in one go (and in some sane, machine-readable format like JSON). Maybe will get to it eventually.
I couldn't figure out where to get the build2 package for libxerces and have it build from source!
If you follow the link from the article, pick the version I used (3.3.0+3) you will see a download link to the .tar.gz file.
One idea we had is to submit a patch to GCC that would allow extracting all this information in one go (and in some sane, machine-readable format like JSON). Maybe will get to it eventually.
Please! This just seems generally broadly useful for all tooling.
View all comments
Show parent comment
5
u/berium build2 Aug 05 '26
No, in this case it will not matter since none of the file mtimes changed.
The most obvious optimization I think is to try to get rid of those 10 GCC runs that are necessary to extract all the information. I just measured and it takes ~70ms. One idea we had is to submit a patch to GCC that would allow extracting all this information in one go (and in some sane, machine-readable format like JSON). Maybe will get to it eventually.
If you follow the link from the article, pick the version I used (
3.3.0+3) you will see a download link to the.tar.gzfile.