Skip to content

Conversation

@gfoidl
Copy link
Owner

@gfoidl gfoidl commented Nov 3, 2021

Fixes #59

Due the common code-path for the core-iteration of deadband and swinging door, there was a bug which recored too much datapoints for the swinging door algorithm. This PR fixes this, by introducing a new property ArchiveIncoming that needs to be set on each specific algorithm.

The rest of the PR adds more tests, and shuffles some things around.

```
|   Method |     Mean |     Error |    StdDev | Ratio | RatioSD | Code Size |
|--------- |---------:|----------:|----------:|------:|--------:|----------:|
|  Current | 4.549 ns | 0.1294 ns | 0.1976 ns |  1.00 |    0.00 |     233 B |
|  Inlined | 2.993 ns | 0.0969 ns | 0.1294 ns |  0.66 |    0.04 |     178 B |
| Inlined1 | 1.915 ns | 0.0748 ns | 0.1208 ns |  0.42 |    0.04 |     129 B |
| Inlined2 | 1.219 ns | 0.0608 ns | 0.1016 ns |  0.27 |    0.03 |     102 B |
```

`Inlined2` is implemented now.
@gfoidl gfoidl marked this pull request as ready for review November 26, 2021 16:20
@gfoidl
Copy link
Owner Author

gfoidl commented Nov 26, 2021

@FloCD I hope the bug got fixed, can you please give it a try?

I pushed a preview-version v2.2.0-preview-1 to the development channel.
Or if you prefer a local build:

./build.sh build
./build.sh pack

# NuGet-package is in ./NuGet-Packed

Thanks in advance!

@gfoidl

This comment has been minimized.

@azure-pipelines

This comment has been minimized.

@gfoidl

This comment has been minimized.

@azure-pipelines

This comment has been minimized.

@gfoidl

This comment has been minimized.

@azure-pipelines

This comment has been minimized.

@gfoidl

This comment has been minimized.

@azure-pipelines

This comment has been minimized.

@gfoidl
Copy link
Owner Author

gfoidl commented Nov 28, 2021

/azp run DataCompression-Demos, DataCompression-Benchmarks

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@gfoidl gfoidl merged commit 2844394 into master Dec 6, 2021
@gfoidl gfoidl deleted the swinging-door-fix branch December 6, 2021 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Difference between the stated algorithm and other sources

2 participants