Skip to content

Commit

Permalink
Enable /Ob1 in Debug builds (#16932)
Browse files Browse the repository at this point in the history
This makes the build a tiny bit faster (less time spent linking)
and makes everything run roughly 50% faster.
  • Loading branch information
lhecker authored Mar 25, 2024
1 parent 038cfca commit 8403b38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common.build.pre.props
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@

<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
<ClCompile>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;DBG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
Expand Down

0 comments on commit 8403b38

Please sign in to comment.