bfgroup / b2

B2 makes it easy to build C++ projects, everywhere.
https://www.bfgroup.xyz/b2/
Boost Software License 1.0
80 stars 229 forks source link

B2 4.9 is 33% slower to start-up than 1.68 #295

Open Kojoley opened 1 year ago

Kojoley commented 1 year ago
ver ms %
main 190 133%
4.9.6 190 133%
4.9.0 190 133%
4.8.2 174 122%
4.8.0 174 122%
4.7.2 158 110%
4.0.0 158 110%
1.68 143 100%
1.65 143 100%
1.60 143 100%

Created a folder, put empty Jamroot. Created src/tools/none.jam:

import feature ;

feature.extend toolset : none ;

rule init ( version ? : command * : options * : requirement * )
{
}

time ../b2 toolset=none

Compiled with Visual Studio 2022 Developer Command Prompt v17.6.0-pre.2.0. Same compiler flags.