<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/91387>91387</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Static initializers in locale.cpp .CRT$XCU
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
chrdavis
</td>
</tr>
</table>
<pre>
Ever since the below changes we have seen an increase in global static initializers contributing to windows modules .CRT$XCU. These impact performance as it increased code getting paged in and running at load time.
https://github.com/llvm/llvm-project/commit/1a5af34e6fcb56098e67d3272e1e89a05528f15e#diff-463b7637691d6f87528cb5cfd02889eff500ca37ace5cb450cbd7829aa429488
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUks2O3SgQhZ8Gb0ptYX6MvfCip3vuA8z0SLMtoGwTYbAMvlfJ00e-UX4W2WQDiJJOfVXnYClhSUQT038x_d7gWdd8TG49PN5DaWz2n6e_73RACckR1JXAUswPcCumhQo8CFa8ExSiBJggJHcQFoKQYInZYoRSsQYHIYUaMIYvdBRwOdUj2LOGtEDN8AjJ50eBLfszUoH27Z8PJtT_b_-1AB8rXYLbjq7CTsecjw0vHCwQ6o-WHlz2BAvVp-qOC_kLA5OH40zp-sQKMaOHGjZqGX9n_PXbuda6FyZfmbgxcVtCXU_burwxcYvx_v162Y_8iVxl4ubytoXr0aHGWSrqZ2d1z8eBeuOlMII6GkbkWoth7jQxIX2Y5xfVS2t6afqx8_08GC0GZ7WbPRfDMNI8a84dSoOOtLNKc2e9GcSIqMSohqHxk_SjHLGhqTOd7rpOaNOsk-fUGT0KqZGT4WJQBmWvemNmFFZSEybBheKam25URpoWx9EqGpTwanaq75jitGGI7TVrm4-lCaWcNI2dHEwT0VIsz6gIkegBzyIT4krOMT33Y8-lMMVjKLX8VKmhRpr-_U0OQoKYHUZq3b7_4npzHnH6Y0-eQIWJ2xP4awAAAP__K8js5g">