-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
refactor(bench): continuous benchmarking improvements #14821
Conversation
… "main" of github.com:denoland/deno into continuous_bench
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update the cli/bench/README.md file with examples of how to run it.
pub async fn new() -> Self { | ||
dotenv::dotenv().ok(); | ||
let gcloud_client = | ||
match std::env::var("CI").map(|_| std::env::var("GOOGLE_SVC_KEY")) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this in 1password?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yup
@@ -4977,16 +5103,27 @@ version = "0.7.1" | |||
source = "registry+https://github.com/rust-lang/crates.io-index" | |||
checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" | |||
|
|||
[[package]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It"s concerning how many changed happened in this file... Is there a way we could reuse the same version (for example by cargo update --package
that imports this version)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cargo update --package url:2.2.2
does not work. Maybe because the difference is of a major version. I"ll submit an upstream patch to upgrade url https://github.com/Byron/google-apis-rs/blob/f00ca37fa4e96657f051292fc8ac610b80373c65/etc/api/type-api.yaml?q=1.7#L30
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
This commit improves Deno"s benchmarking workflow like:
cargo bench --bench deno_bench -- bundle
deno.land/benchmarks