Skip to content

Commit

Permalink
Add streaming and flushing information to codec details
Browse files Browse the repository at this point in the history
  • Loading branch information
nemequ committed Sep 14, 2015
1 parent 21dc23d commit d36369a
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 18 deletions.
8 changes: 8 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,8 @@ <h1>Codec Details</h1>
<th>License</th>
<th>Plugin</th>
<th>Codec</th>
<th>Streaming</th>
<th>Flushing</th>
<th>Levels</th>
</tr>
</thead>
Expand Down Expand Up @@ -657,6 +659,12 @@ <h1>Codec Details</h1>
</td>

<td ng-bind="codec.name"></td>
<td style="text-align: center">
<span ng-if="codec.streaming"></span>
</td>
<td style="text-align: center">
<span ng-if="codec.flushing"></span>
</td>

<td ng-bind="codec.levels.join(', ')"></td>
</tr>
Expand Down
65 changes: 47 additions & 18 deletions squash-benchmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,8 @@ var plugins = [
license: "Apache 2.0",
revision: "d811b186c5037b434d56ddb831ceccdf5a954687",
codecs: [ { name: "brotli",
levels: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] } ] },
levels: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11],
streaming: true } ], },
{ id: "bsc",
name: "bsc",
libraryUrl: "http://libbsc.com/",
Expand All @@ -374,33 +375,40 @@ var plugins = [
version: "1.0.6",
codecs: [
{ name: "bzip2",
levels: [1, 2, 3, 4, 5, 6, 7, 8, 9] } ] },
levels: [1, 2, 3, 4, 5, 6, 7, 8, 9],
streaming: true } ] },
{ id: "copy",
name: "Copy",
codecs: [ { name: "copy" } ] },
codecs: [
{ name: "copy",
streaming: true,
flushing: true } ]},
{ id: "crush",
name: "CRUSH",
libraryUrl: "http://compressme.net/",
license: "Public Domain",
version: "1.0",
codecs: [
{ name: "crush",
levels: [0, 1, 2] } ] },
levels: [0, 1, 2] } ],
streaming: true },
{ id: "csc",
name: "CSC",
libraryUrl: "https://github.com/fusiyuan2010/CSC",
license: "MIT",
revision: "c8f1580bd765c8e77d6cffb6bf900bf70e31aa0c",
codecs: [ { name: "csc",
levels: [1, 2, 3, 4, 5] } ] },
levels: [1, 2, 3, 4, 5],
streaming: true } ] },
{ id: "density",
name: "DENSITY",
libraryUrl: "https://github.com/centaurean/density",
license: "3-clause BSD",
revesion: "dbc43e83295df18f650ed54fc423778ecacad4bd",
codecs: [
{ name: "density",
levels: [1, 7, 9] } ] },
levels: [1, 7, 9] } ],
streaming: true },
// { id: "doboz",
// name: "Doboz",
// libraryUrl: "https://bitbucket.org/attila_afra/doboz",
Expand Down Expand Up @@ -434,7 +442,9 @@ var plugins = [
{ name: "lz4",
levels: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14] },
{ name: "lz4f",
levels: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16] } ] },
levels: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16] } ],
streaming: true,
flushing: true },
{ id: "lzf",
name: "liblzf",
libraryUrl: "http://oldhome.schmorp.de/marc/liblzf.html",
Expand All @@ -455,7 +465,9 @@ var plugins = [
revision: "fb1a9b0a28d5194ad6a643ed89d704a6ffe1d91a",
codecs: [
{ name: "lzham",
levels: [0, 1, 2, 3, 4] } ] },
levels: [0, 1, 2, 3, 4],
streaming: true,
flushing: true } ] },
{ id: "lzjb",
name: "LZJB",
libraryUrl: "https://en.wikipedia.org/wiki/LZJB",
Expand All @@ -468,13 +480,19 @@ var plugins = [
version: "5.2.1",
codecs: [
{ name: "lzma",
levels: [1, 2, 3, 4, 5, 6, 7, 8, 9] },
levels: [1, 2, 3, 4, 5, 6, 7, 8, 9],
streaming: true },
{ name: "lzma1",
levels: [1, 2, 3, 4, 5, 6, 7, 8, 9] },
levels: [1, 2, 3, 4, 5, 6, 7, 8, 9],
streaming: true },
{ name: "lzma2",
levels: [1, 2, 3, 4, 5, 6, 7, 8, 9] },
levels: [1, 2, 3, 4, 5, 6, 7, 8, 9],
streaming: true,
flushing: true },
{ name: "xz",
levels: [1, 2, 3, 4, 5, 6, 7, 8, 9] } ] },
levels: [1, 2, 3, 4, 5, 6, 7, 8, 9] } ],
streaming: true,
flushing: true },
{ id: "lzo",
name: "LZO",
libraryUrl: "http://www.oberhumer.com/opensource/lzo/",
Expand Down Expand Up @@ -503,7 +521,9 @@ var plugins = [
license: "GPLv3+",
revision: "a179b8d46c76048872470ba449f672aa064131e6",
codecs: [
{ name: "lznt1" },
{ name: "lznt1",
streaming: true,
flushing: true },
{ name: "xpress" },
{ name: "xpress-huffman" },
] },
Expand Down Expand Up @@ -537,7 +557,9 @@ var plugins = [
version: "1.1.2",
codecs: [
{ name: "snappy" },
{ name: "snappy-framed" }
{ name: "snappy-framed",
streaming: true,
flushing: true }
] },
// { id: "wflz",
// name: "wfLZ",
Expand All @@ -563,11 +585,17 @@ var plugins = [
version: "1.2.8",
codecs: [
{ name: "deflate",
levels: [1, 2, 3, 4, 5, 6, 7, 8, 9] },
levels: [1, 2, 3, 4, 5, 6, 7, 8, 9],
streaming: true,
flushing: true },
{ name: "gzip",
levels: [1, 2, 3, 4, 5, 6, 7, 8, 9] },
levels: [1, 2, 3, 4, 5, 6, 7, 8, 9],
streaming: true,
flushing: true },
{ name: "zlib",
levels: [1, 2, 3, 4, 5, 6, 7, 8, 9] },
levels: [1, 2, 3, 4, 5, 6, 7, 8, 9],
streaming: true,
flushing: true },
] },
// { id: "zling",
// name: "libzling",
Expand All @@ -583,7 +611,8 @@ var plugins = [
version: "7.05",
codecs: [
{ name: "zpaq",
levels: [1, 2, 3, 4, 5] },
levels: [1, 2, 3, 4, 5],
streaming: true },
] },
{ id: "zstd",
name: "Zstandard",
Expand Down

0 comments on commit d36369a

Please sign in to comment.