Giter VIP home page Giter VIP logo

Comments (4)

sjakobi avatar sjakobi commented on May 30, 2024

I'll give https://github.com/Bodigrim/tasty-bench#comparison-against-baseline a try…

from tasty-bench.

Bodigrim avatar Bodigrim commented on May 30, 2024

criterion-compare expects CSV contain exactly 7 columns (https://github.com/AndreasPK/criterion-compare/blob/13ec87146ab48f706a75476b8e952ae979afd0b8/src/CsvParse.hs#L19-L30), while tasty-bench generates only three, corresponding to the first (getBenchName), second (statsMean) and fifth (doubled statsStd) columns in criterion output.

I cannot fix this on tasty-bench side simply because I do not have missing data (which is confidence intervals for mean and stdev). It could be probably worked around on criterion-compare side, but after all it is for criterion.

The simplest workaround is awk 'BEGIN {FS=","; OFS=","} ; {print $1,$2,$2,$2,$3/2,$3/2,$3/2}'.

from tasty-bench.

Bodigrim avatar Bodigrim commented on May 30, 2024

Actually, I can add a command-line switch to fake criterion compatible output.

from tasty-bench.

Bodigrim avatar Bodigrim commented on May 30, 2024

After more consideration, I'm reluctant to fix this. In general it's wrong to compare reports produced by different benchmark frameworks, especially by faking non-existing data.

To be honest, I do not feel much need in a dedicated package of this sort, because any tool from Excel to gnuplot is sufficient to plot data from two CSVs. I cannot even build criterion-compare with GHC 8.10: several of its dependencies restrict base < 4.14 or worse. And when I throw allow-newer, build fails with can't load framework: Cocoa (not found).

from tasty-bench.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.