Skip to content

fix(ext/web): repair text_decoder_stream bench after BlobStoreTrait change#35044

Merged
bartlomieju merged 1 commit into
mainfrom
fix/web-bench-blobstore
Jun 8, 2026
Merged

fix(ext/web): repair text_decoder_stream bench after BlobStoreTrait change#35044
bartlomieju merged 1 commit into
mainfrom
fix/web-bench-blobstore

Conversation

@bartlomieju

Copy link
Copy Markdown
Member

#34000 changed deno_web::init to accept an Arc for
its blob store argument. The text_decoder_stream benchmark still passed
Default::default() there, which no longer satisfies the trait bound, so
the bench failed to compile and broke the lint job on every PR.

Construct the blob store explicitly with Arc::new(BlobStore::default()),
matching how the runtime sets it up elsewhere.

…hange

#34000 changed deno_web::init to take an Arc<dyn BlobStoreTrait>, but the
text_decoder_stream benchmark still passed Default::default() for that
argument, which no longer compiles. Construct the blob store explicitly
with Arc::new(BlobStore::default()).
@bartlomieju
bartlomieju enabled auto-merge (squash) June 8, 2026 19:26
@bartlomieju
bartlomieju merged commit 55a8b88 into main Jun 8, 2026
136 checks passed
@bartlomieju
bartlomieju deleted the fix/web-bench-blobstore branch June 8, 2026 19:32
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.

1 participant