<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_data_structures/src/sync, branch 1.74.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.74.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.74.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-09-25T20:54:07+00:00</updated>
<entry>
<title>Rename `cold_path` to `outline`</title>
<updated>2023-09-25T20:54:07+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2023-09-25T01:27:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2c507cae363a71f16069bbf602aa50e00f3ceec4'/>
<id>urn:sha1:2c507cae363a71f16069bbf602aa50e00f3ceec4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #115548 - Zoxc:parallel-extract, r=wesleywiser</title>
<updated>2023-09-11T19:16:20+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2023-09-11T19:16:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f3cc59b741b576d4e791e6ae4c5b4811f9935801'/>
<id>urn:sha1:f3cc59b741b576d4e791e6ae4c5b4811f9935801</id>
<content type='text'>
Extract parallel operations in `rustc_data_structures::sync` into a new `parallel` submodule

This extracts parallel operations in `rustc_data_structures::sync` into a new `parallel` submodule. This cuts down on the size of the large `cfg_if!` in `sync` and makes it easier to compare between serial and parallel variants.
</content>
</entry>
<entry>
<title>Auto merge of #115388 - Zoxc:sharded-lock, r=SparrowLii</title>
<updated>2023-09-11T01:43:29+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-09-11T01:43:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9b72cc9abf35f82e90cdc5fc54287e87aa2d3aeb'/>
<id>urn:sha1:9b72cc9abf35f82e90cdc5fc54287e87aa2d3aeb</id>
<content type='text'>
Add optimized lock methods for `Sharded` and refactor `Lock`

This adds methods to `Sharded` which pick a shard and also locks it. These branch on parallelism just once instead of twice, improving performance.

Benchmark for `cfg(parallel_compiler)` and 1 thread:
&lt;table&gt;&lt;tr&gt;&lt;td rowspan="2"&gt;Benchmark&lt;/td&gt;&lt;td colspan="1"&gt;&lt;b&gt;Before&lt;/b&gt;&lt;/th&gt;&lt;td colspan="2"&gt;&lt;b&gt;After&lt;/b&gt;&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="right"&gt;Time&lt;/td&gt;&lt;td align="right"&gt;Time&lt;/td&gt;&lt;td align="right"&gt;%&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;🟣 &lt;b&gt;clap&lt;/b&gt;:check&lt;/td&gt;&lt;td align="right"&gt;1.6461s&lt;/td&gt;&lt;td align="right"&gt;1.6345s&lt;/td&gt;&lt;td align="right"&gt; -0.70%&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;🟣 &lt;b&gt;hyper&lt;/b&gt;:check&lt;/td&gt;&lt;td align="right"&gt;0.2414s&lt;/td&gt;&lt;td align="right"&gt;0.2394s&lt;/td&gt;&lt;td align="right"&gt; -0.83%&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;🟣 &lt;b&gt;regex&lt;/b&gt;:check&lt;/td&gt;&lt;td align="right"&gt;0.9205s&lt;/td&gt;&lt;td align="right"&gt;0.9143s&lt;/td&gt;&lt;td align="right"&gt; -0.67%&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;🟣 &lt;b&gt;syn&lt;/b&gt;:check&lt;/td&gt;&lt;td align="right"&gt;1.4981s&lt;/td&gt;&lt;td align="right"&gt;1.4869s&lt;/td&gt;&lt;td align="right"&gt; -0.75%&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;🟣 &lt;b&gt;syntex_syntax&lt;/b&gt;:check&lt;/td&gt;&lt;td align="right"&gt;5.7629s&lt;/td&gt;&lt;td align="right"&gt;5.7256s&lt;/td&gt;&lt;td align="right"&gt; -0.65%&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Total&lt;/td&gt;&lt;td align="right"&gt;10.0690s&lt;/td&gt;&lt;td align="right"&gt;10.0008s&lt;/td&gt;&lt;td align="right"&gt; -0.68%&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Summary&lt;/td&gt;&lt;td align="right"&gt;1.0000s&lt;/td&gt;&lt;td align="right"&gt;0.9928s&lt;/td&gt;&lt;td align="right"&gt; -0.72%&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

cc `@SparrowLii`
</content>
</entry>
<entry>
<title>Use `FreezeLock` for `CStore`</title>
<updated>2023-09-09T14:02:11+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2023-09-09T14:02:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1d8fdc03323959b69365123036637c056182b861'/>
<id>urn:sha1:1d8fdc03323959b69365123036637c056182b861</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add Freeze::clone</title>
<updated>2023-09-08T12:14:57+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2023-09-08T12:14:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c83eba92518166b9e40f43b40683d74c919af0ed'/>
<id>urn:sha1:c83eba92518166b9e40f43b40683d74c919af0ed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove the `LockMode` enum and `dispatch`</title>
<updated>2023-09-08T08:15:12+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2023-09-08T07:27:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9690142bef648b88a4f8d87000f5edeacb0cc0a5'/>
<id>urn:sha1:9690142bef648b88a4f8d87000f5edeacb0cc0a5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refactor `Lock` implementation</title>
<updated>2023-09-08T06:48:44+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2023-09-02T21:19:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=61cc00d23871b9d2e4c4f23af6917dc5ca7efb58'/>
<id>urn:sha1:61cc00d23871b9d2e4c4f23af6917dc5ca7efb58</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add optimized lock methods for `Sharded`</title>
<updated>2023-09-08T06:48:44+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2023-08-16T11:50:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8fc160b742e53eeb77a14b3e247b06b778f3243d'/>
<id>urn:sha1:8fc160b742e53eeb77a14b3e247b06b778f3243d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use `Freeze` for `SourceFile.lines`</title>
<updated>2023-09-07T11:05:05+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2023-08-31T20:12:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f49382c0508db608aa9c33d6a8c77d2955d8f62c'/>
<id>urn:sha1:f49382c0508db608aa9c33d6a8c77d2955d8f62c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use `Freeze` for `SourceFile.external_src`</title>
<updated>2023-09-07T11:04:23+00:00</updated>
<author>
<name>John Kåre Alsaker</name>
<email>john.kare.alsaker@gmail.com</email>
</author>
<published>2023-08-31T10:50:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c5996b80beaba54502fa86583b48cd6980b17b18'/>
<id>urn:sha1:c5996b80beaba54502fa86583b48cd6980b17b18</id>
<content type='text'>
</content>
</entry>
</feed>
