Skip to content

feat: use median as attempt to avoid outliers#14

Merged
RafaelGSS merged 1 commit intomainfrom
rafael/run-with-confidence
May 14, 2024
Merged

feat: use median as attempt to avoid outliers#14
RafaelGSS merged 1 commit intomainfrom
rafael/run-with-confidence

Conversation

@RafaelGSS
Copy link
Copy Markdown
Member

As an attempt to avoid high variance when running the package-benchmark without comparison, I have introduced a median approach to mitigate outliers.

@RafaelGSS RafaelGSS self-assigned this May 14, 2024
Copy link
Copy Markdown
Member

@edsadr edsadr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just the mind the question

Comment thread worker.js
aggregated.sortKey = 'requests'
}

const url = `http://localhost:${opts.http.serverPort}`
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be the host available by config?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possibly, yes. But, it should be handled in another PR. This PR only makes HTTP benchmarks compatible with median.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

then lets 🚀

@RafaelGSS RafaelGSS merged commit cddeca5 into main May 14, 2024
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.

2 participants