diff options
| author | Alexander Yastrebov <yastrebov.alex@gmail.com> | 2024-01-03 14:18:22 +0100 |
|---|---|---|
| committer | Gunnar Morling <gunnar.morling@googlemail.com> | 2024-01-03 14:56:36 +0100 |
| commit | 0fc9e8d545cea77bb1dca1c6f32955a5f58d0d26 (patch) | |
| tree | fa393d274e50ff59127628d0b87e1a655dcfc63d /calculate_average_itaske.sh | |
| parent | 5a46fb1bedc343389f2f60c5a1d0c02a91c3e477 (diff) | |
Add a script to transform output into CSV format
It is useful to debug differences between implementations, e.g.:
```sh
$ while ./create_measurements.sh 1000 && diff <(./calculate_average_royvanrijn.sh 2>/dev/null | ./tocsv.sh) <(./calculate_average.sh 2>/dev/null | ./tocsv.sh) ; do echo OK; done
Created file with 1,000 measurements in 50 ms
60c60
< Bucharest;-2.9;2.9;6.1
---
> Bucharest;-2.9;2.8;6.1
265c265
< Petropavlovsk-Kamchatsky;0.9;9.3;17.7
---
> Petropavlovsk-Kamchatsky;0.9;9.2;17.7
```
For #14
Diffstat (limited to 'calculate_average_itaske.sh')
0 files changed, 0 insertions, 0 deletions
