Skip to content

Comments

Benchmark: delay ping lifetime IO#3398

Merged
badboy merged 1 commit intomainfrom
push-ozzqoxpzorss
Feb 18, 2026
Merged

Benchmark: delay ping lifetime IO#3398
badboy merged 1 commit intomainfrom
push-ozzqoxpzorss

Conversation

@badboy
Copy link
Member

@badboy badboy commented Feb 12, 2026

Time to contribute back piecemeal the things I build for the new storage.

@badboy badboy requested a review from a team as a code owner February 12, 2026 11:31
@badboy badboy requested review from jeddai and removed request for a team February 12, 2026 11:31
@badboy badboy enabled auto-merge (rebase) February 12, 2026 13:33
@badboy badboy requested a review from travis79 February 18, 2026 12:24
let cfg = glean_core::InternalConfiguration {
upload_enabled: true,
data_path,
application_id: String::from("glean-bench"),
Copy link
Member

Choose a reason for hiding this comment

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

Just curious, why String::from instead of to_string or into (which is used elsewhere in the patch)?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good question! In the end these calls are (by now) all about the same.
In rather old Rust there were actually some performance differences between these calls, but that has since been fixed (afaik). So any of the ways is acceptable.
I somehow got into the habit of making it explicit with String::from a while ago. The other uses were left-overs from code I copied together I guess.
I'll send a followup to unify it though.

@badboy badboy merged commit 6c36617 into main Feb 18, 2026
28 of 29 checks passed
@badboy badboy deleted the push-ozzqoxpzorss branch February 18, 2026 12:46
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