8000 fix: 204 ratio is NaN when previous value is 0 by ktrz · Pull Request #222 · benchmark-action/github-action-benchmark · GitHub
[go: up one dir, main page]

Skip to content
  • Pricing
  • Search code, repositories, users, issues, pull requests...

    Provide feedback

    We read every piece of feedback, and take your input very seriously.

    Saved searches

    Use saved searches to filter your results more quickly

    Appearance settings

    Conversation

    ktrz
    Copy link
    Member
    @ktrz ktrz commented Jan 30, 2024
    • extract getRatio function
    • print 1 when both values are 0
    • print +-∞ when divisor is 0

    fixes #204

    * extract getRatio function
    * print 1 when both values are 0
    * print +-∞ when divisor is 0
    ningziwen
    ningziwen previously approved these changes Jan 31, 2024
    @ktrz ktrz merged commit e108afd into master Jan 31, 2024
    @ktrz ktrz deleted the fix/204-ratio-is-nan-when-prev-value-is-zero branch January 31, 2024 14:01
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Labels

    None yet

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    NaN is given as ratio when the previous value is 0

    3 participants

    0