Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a script to transform output into CSV format #36

Merged
merged 1 commit into from
Jan 3, 2024

Commits on Jan 3, 2024

  1. 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 gunnarmorling#14
    AlexanderYastrebov committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    4831c52 View commit details
    Browse the repository at this point in the history