-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #136 from instaclustr/v0.7
Release ATSC v0.7
- Loading branch information
Showing
15 changed files
with
411 additions
and
41 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "atsc" | ||
version = "0.5.0" | ||
version = "0.7.0" | ||
authors = ["Carlos Rolo <[email protected]>"] | ||
edition = "2021" | ||
license = "Apache-2.0" | ||
|
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,53 @@ | ||
# Demos | ||
|
||
## What are demos? | ||
|
||
ATSC is a lossy compressor tool, as such, the output time series will not match the input one. | ||
|
||
With this in mind it could be important to visualize the difference between output and input and verify if the error introduced is within the expectations. | ||
|
||
So demos were created with the intent of having a quick way to display input vs output for a provided metric. The demo scripts will run the ATSC compressor with 2 different error levels and with all the available compression options. | ||
|
||
The output HTML files (for error levels 1% and 3%) can then be used to visualize and compare the different results with the input file and evaluate the result of ATSC compression. | ||
|
||
Three demo output files are provided so that comparison can be made without needing to run the compressor even once if a quick evaluation is needed. Or if you are curious what is this all about! | ||
|
||
## What is in each file? | ||
|
||
Each HTML file renders the output of all compressor options (`FFT`, `IDW` and `Polynomial`) with an error indicated in the file name (1% or 3%). Also, the input data is rendered. | ||
|
||
On top, it is possible to click in each option to hide display each option and have a visual comparison between options. | ||
|
||
## Contents | ||
|
||
This folder contains scripts to generate the demo `html` files. | ||
|
||
The demo scripts generate 2 comparison files. One for all compressors (`FFT`, `IDW` and `Polynomial`) with an error of 1% and another with a 3% error. | ||
|
||
In this folder there are 3 comparisons from some of the available uncompressed files in [tests folder](https://github.com/instaclustr/atsc/tree/v0.7/atsc/tests). | ||
|
||
The files are the following: | ||
|
||
* IOWait metrics with 1% and 3% error from a CSV file | ||
* comparison-error-1-csv-iowait.html | ||
* comparison-error-3-csv-iowait.html | ||
* Java Heap Usage metrics with 1% and 3% error from a wbro file | ||
* comparison-error-1-heap.html | ||
* comparison-error-3-heap.html | ||
* OS Memory Usage metrics with 1% and 3% error from a wbro file | ||
* comparison-error-1-memory.html | ||
* comparison-error-3-memory.html | ||
|
||
## Create your own demo files | ||
|
||
1. Change into the current directory: | ||
|
||
```bash | ||
cd atsc/demo | ||
``` | ||
|
||
2. Execute the Demo. **Note**: If using a `wbro` file, run `run_demo.sh`, if using a `csv` file run `run_demo_csv.sh` | ||
|
||
```bash | ||
./run_demo_csv.sh INPUT_FILE | ||
``` |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,7 @@ | ||
# Integration and End-to-End tests | ||
|
||
## Contents | ||
|
||
Test files (End-to-end and integration) and input for those tests. | ||
|
||
The `csv` folder contain `csv` formatted input and the `wbros` contains the [WBRO](https://github.com/instaclustr/atsc/tree/main/wavbrro) formatted input. |
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