-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Benchmarks and remove output buf from read::Encoder (#19)
- Loading branch information
1 parent
3ff0f60
commit e2e066a
Showing
475 changed files
with
31,385 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#### Summary | ||
|
||
Using this crate is much faster than flate2 due to the use of ISA-L under the hood. | ||
However flate2 is _much_ more widely used. I suggest giving this a shot and provide feedback. | ||
|
||
#### To run yourself: | ||
|
||
- `cd benches` | ||
- `tar -xvzf data.tar.gz` | ||
- `cargo bench` |
116 changes: 116 additions & 0 deletions
116
benches/criterion/io__Read Gzip Encoder/alice29.txt/report/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
<title>io::Read Gzip Encoder/alice29.txt Summary - Criterion.rs</title> | ||
<style type="text/css"> | ||
body { | ||
font: 14px Helvetica Neue; | ||
text-rendering: optimizelegibility; | ||
} | ||
|
||
.body { | ||
width: 960px; | ||
margin: auto; | ||
} | ||
|
||
a:link { | ||
color: #1F78B4; | ||
text-decoration: none; | ||
} | ||
|
||
h2 { | ||
font-size: 36px; | ||
font-weight: 300; | ||
} | ||
|
||
h3 { | ||
font-size: 24px; | ||
font-weight: 300; | ||
} | ||
|
||
#footer { | ||
height: 40px; | ||
background: #888; | ||
color: white; | ||
font-size: larger; | ||
font-weight: 300; | ||
} | ||
|
||
#footer a { | ||
color: white; | ||
text-decoration: underline; | ||
} | ||
|
||
#footer p { | ||
text-align: center | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<div class="body"> | ||
<h2>io::Read Gzip Encoder/alice29.txt</h2> | ||
<h3>Violin Plot</h3> | ||
<a href="violin.svg"> | ||
<img src="violin.svg" alt="Violin Plot" /> | ||
</a> | ||
<p>This chart shows the relationship between function/parameter and iteration time. The thickness of the shaded | ||
region indicates the probability that a measurement of the given function/parameter would take a particular | ||
length of time.</p> | ||
<section class="plots"> | ||
<a href="../../../io__Read Gzip Encoder/isal/alice29.txt/report/index.html"> | ||
<h4>io::Read Gzip Encoder/isal/alice29.txt</h4> | ||
</a> | ||
<table width="100%"> | ||
<tbody> | ||
<tr> | ||
<td> | ||
<a href="../../../io__Read Gzip Encoder/isal/alice29.txt/report/pdf.svg"> | ||
<img src="../../../io__Read Gzip Encoder/isal/alice29.txt/report/pdf_small.svg" alt="PDF of Slope" width="450" | ||
height="300" /> | ||
</a> | ||
</td> | ||
<td> | ||
<a href="../../../io__Read Gzip Encoder/isal/alice29.txt/report/regression.svg"> | ||
<img src="../../../io__Read Gzip Encoder/isal/alice29.txt/report/regression_small.svg" alt="Regression" width="450" | ||
height="300" /> | ||
</a> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</section> | ||
<section class="plots"> | ||
<a href="../../../io__Read Gzip Encoder/flate2/alice29.txt/report/index.html"> | ||
<h4>io::Read Gzip Encoder/flate2/alice29.txt</h4> | ||
</a> | ||
<table width="100%"> | ||
<tbody> | ||
<tr> | ||
<td> | ||
<a href="../../../io__Read Gzip Encoder/flate2/alice29.txt/report/pdf.svg"> | ||
<img src="../../../io__Read Gzip Encoder/flate2/alice29.txt/report/pdf_small.svg" alt="PDF of Slope" width="450" | ||
height="300" /> | ||
</a> | ||
</td> | ||
<td> | ||
<a href="../../../io__Read Gzip Encoder/flate2/alice29.txt/report/iteration_times.svg"> | ||
<img src="../../../io__Read Gzip Encoder/flate2/alice29.txt/report/iteration_times_small.svg" alt="Iteration Times" width="450" | ||
height="300" /> | ||
</a> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</section> | ||
</div> | ||
<div id="footer"> | ||
<p>This report was generated by | ||
<a href="https://github.com/bheisler/criterion.rs">Criterion.rs</a>, a statistics-driven benchmarking | ||
library in Rust.</p> | ||
</div> | ||
</body> | ||
|
||
</html> |
Oops, something went wrong.