<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sfcX/benchmark, branch sfc-scala3</title>
<subtitle>Scala FIRRTL Compiler for chiselX</subtitle>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/sfcX/'/>
<entry>
<title>Enhance find heap bound (#2579)</title>
<updated>2022-12-06T17:44:42+00:00</updated>
<author>
<name>Jack Koenig</name>
</author>
<published>2022-12-06T17:44:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/sfcX/commit/?id=64ac2d2cb866f5c3e30544bb1087dd374b57fdcb'/>
<id>64ac2d2cb866f5c3e30544bb1087dd374b57fdcb</id>
<content type='text'>
* Enhance find_heap_bound to not go smaller than min_step

Previously, it could accidentally get a step size smaller than the
min_step and just continue looping forever. Now the while loop has a new
termination condition to catch this case.

* Add context to find_heap_bound

This new option allows for checking additional heap sizes in increments
of the min_step above the found minimum heap size.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Enhance find_heap_bound to not go smaller than min_step

Previously, it could accidentally get a step size smaller than the
min_step and just continue looping forever. Now the while loop has a new
termination condition to catch this case.

* Add context to find_heap_bound

This new option allows for checking additional heap sizes in increments
of the min_step above the found minimum heap size.</pre>
</div>
</content>
</entry>
<entry>
<title>Make benchmark_cold_compile accept a command CLI argument (#2346)</title>
<updated>2021-09-03T19:25:31+00:00</updated>
<author>
<name>Jack Koenig</name>
</author>
<published>2021-09-03T19:25:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/sfcX/commit/?id=ed391031dc2008f562e0f5ac53828941c677afc7'/>
<id>ed391031dc2008f562e0f5ac53828941c677afc7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for fat jars to benchmark_cold_compile.py (#2232)</title>
<updated>2021-05-18T19:24:43+00:00</updated>
<author>
<name>Jack Koenig</name>
</author>
<published>2021-05-18T19:24:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/sfcX/commit/?id=97273bff5718cbcbce2673d57bce1a76ec909977'/>
<id>97273bff5718cbcbce2673d57bce1a76ec909977</id>
<content type='text'>
Co-authored-by: mergify[bot] &lt;37929162+mergify[bot]@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: mergify[bot] &lt;37929162+mergify[bot]@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Change to Apache 2.0 License (#1901)</title>
<updated>2020-09-17T01:52:16+00:00</updated>
<author>
<name>Chick Markley</name>
</author>
<published>2020-09-17T01:52:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/sfcX/commit/?id=ecb96e83324ea17cf38b7b90753d745d3c7f51bd'/>
<id>ecb96e83324ea17cf38b7b90753d745d3c7f51bd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>dedup: use structural sha256 hash instead of agnostify and serialize (#1731)</title>
<updated>2020-07-08T23:18:06+00:00</updated>
<author>
<name>Kevin Laeufer</name>
</author>
<published>2020-07-08T23:18:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/sfcX/commit/?id=3fee5f87ec598e5ac870c9d2cd606047106421bb'/>
<id>3fee5f87ec598e5ac870c9d2cd606047106421bb</id>
<content type='text'>
* benchmark: add hot.DedupBenchmark

* dedup: use structural md5 hash instead of agnostify and serialize

* StructuralHash: generate PrimOp LUT

* StructuralHash: change MessageDigestHasher to not be a case class

* StructuralHash: we want Blocks and EmptyStmt to be ignored

* StructuralHash: use SHA-256 instead of MD5

* StructuralHash: clarify extmodule port name agnistification

* StructuralHash: hash the name of width vars instead of trying to agnostify

This should be in line with the old Dedup behavior.
The prior use of n(..) was incorrect since the namespace
of these vars is different from the normal module scope namespace.

* StructuralHash: address Schuyler's review comments

Co-authored-by: mergify[bot] &lt;37929162+mergify[bot]@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* benchmark: add hot.DedupBenchmark

* dedup: use structural md5 hash instead of agnostify and serialize

* StructuralHash: generate PrimOp LUT

* StructuralHash: change MessageDigestHasher to not be a case class

* StructuralHash: we want Blocks and EmptyStmt to be ignored

* StructuralHash: use SHA-256 instead of MD5

* StructuralHash: clarify extmodule port name agnistification

* StructuralHash: hash the name of width vars instead of trying to agnostify

This should be in line with the old Dedup behavior.
The prior use of n(..) was incorrect since the namespace
of these vars is different from the normal module scope namespace.

* StructuralHash: address Schuyler's review comments

Co-authored-by: mergify[bot] &lt;37929162+mergify[bot]@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>ir: add faster serializer (#1694)</title>
<updated>2020-07-08T18:46:51+00:00</updated>
<author>
<name>Kevin Laeufer</name>
</author>
<published>2020-07-08T18:46:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/sfcX/commit/?id=05ba1c9d52c056e33b4121ea55812ae596016ea3'/>
<id>05ba1c9d52c056e33b4121ea55812ae596016ea3</id>
<content type='text'>
This Serializer which is implemented
external to the IR node definition
uses a StringBuilder to achieve about a
1.7x performance improvement when serializing.

Eventually, all implementations of the
`serialize` methd should be replaced with
a call to `Serializer.serialize`.

However, for this PR we keep the old
code in place in order to allow for easy
regression testing with the benchmark JAR
like this:
&gt; java -cp utils/bin/firrtl-benchmark.jar \
  firrtl.benchmark.hot.SerializationBenchmark \
  ~/benchmarks/medium.pb 2 5 test

Co-authored-by: mergify[bot] &lt;37929162+mergify[bot]@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This Serializer which is implemented
external to the IR node definition
uses a StringBuilder to achieve about a
1.7x performance improvement when serializing.

Eventually, all implementations of the
`serialize` methd should be replaced with
a call to `Serializer.serialize`.

However, for this PR we keep the old
code in place in order to allow for easy
regression testing with the benchmark JAR
like this:
&gt; java -cp utils/bin/firrtl-benchmark.jar \
  firrtl.benchmark.hot.SerializationBenchmark \
  ~/benchmarks/medium.pb 2 5 test

Co-authored-by: mergify[bot] &lt;37929162+mergify[bot]@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Batch renames in LowerTypes (#1718)</title>
<updated>2020-06-25T20:10:25+00:00</updated>
<author>
<name>Schuyler Eldridge</name>
</author>
<published>2020-06-25T20:10:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/sfcX/commit/?id=87c5d034f2d32132eed01a6f43b567af9b34cbcd'/>
<id>87c5d034f2d32132eed01a6f43b567af9b34cbcd</id>
<content type='text'>
* Batch renames in LowerTypes

Signed-off-by: Schuyler Eldridge &lt;schuyler.eldridge@ibm.com&gt;

* Add benchmarking for LowerTypes

Add infrastructure of benchmarking Transforms (in addition to
existing infra for Passes). Also run System.gc between each timed
benchmark to improve stability.

Co-authored-by: Jack Koenig &lt;koenig@sifive.com&gt;
Co-authored-by: mergify[bot] &lt;37929162+mergify[bot]@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Batch renames in LowerTypes

Signed-off-by: Schuyler Eldridge &lt;schuyler.eldridge@ibm.com&gt;

* Add benchmarking for LowerTypes

Add infrastructure of benchmarking Transforms (in addition to
existing infra for Passes). Also run System.gc between each timed
benchmark to improve stability.

Co-authored-by: Jack Koenig &lt;koenig@sifive.com&gt;
Co-authored-by: mergify[bot] &lt;37929162+mergify[bot]@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Add find_heap_bound.py script for finding minimum heap size</title>
<updated>2020-06-10T02:18:44+00:00</updated>
<author>
<name>Jack Koenig</name>
</author>
<published>2020-05-23T04:27:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/sfcX/commit/?id=f7ae514f901771e1c02b107456e28fe0fd24f322'/>
<id>f7ae514f901771e1c02b107456e28fe0fd24f322</id>
<content type='text'>
Co-authored-by: Schuyler Eldridge &lt;schuyler.eldridge@ibm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Schuyler Eldridge &lt;schuyler.eldridge@ibm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor benchmark_code_compile.py to have job running utility</title>
<updated>2020-06-10T02:18:40+00:00</updated>
<author>
<name>Jack Koenig</name>
</author>
<published>2020-05-23T00:32:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/sfcX/commit/?id=038faf9f1f9df3d5d795ed0a7b72e0b93c5f6de6'/>
<id>038faf9f1f9df3d5d795ed0a7b72e0b93c5f6de6</id>
<content type='text'>
This provides a common Python interfaces for monitoring resource usage
of subprocesses

Co-authored-by: Schuyler Eldridge &lt;schuyler.eldridge@ibm.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This provides a common Python interfaces for monitoring resource usage
of subprocesses

Co-authored-by: Schuyler Eldridge &lt;schuyler.eldridge@ibm.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Generalize pattern of ResolveKindsBenchmark</title>
<updated>2020-06-03T20:49:20+00:00</updated>
<author>
<name>Albert Magyar</name>
</author>
<published>2020-05-26T20:59:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/sfcX/commit/?id=881124333e78e91581f91488e5f43fa08911d3b1'/>
<id>881124333e78e91581f91488e5f43fa08911d3b1</id>
<content type='text'>
* Extend PassBenchmark to benchmark a particular Pass
* Add license note to file
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Extend PassBenchmark to benchmark a particular Pass
* Add license note to file
</pre>
</div>
</content>
</entry>
</feed>
