mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 09:31:22 -05:00
chore: fix failing bench (#14644)
This commit is contained in:
parent
e58f77e431
commit
b2ba0c54af
1 changed files with 2 additions and 7 deletions
|
@ -28,15 +28,10 @@ fn setup() -> Vec<Extension> {
|
|||
Extension::builder()
|
||||
.js(vec![(
|
||||
"setup",
|
||||
Box::new(|| {
|
||||
Ok(
|
||||
r#"
|
||||
r#"
|
||||
const { TextDecoder } = globalThis.__bootstrap.encoding;
|
||||
const hello12k = Deno.core.encode("hello world\n".repeat(1e3));
|
||||
"#
|
||||
.to_owned(),
|
||||
)
|
||||
}),
|
||||
"#,
|
||||
)])
|
||||
.state(|state| {
|
||||
state.put(Permissions {});
|
||||
|
|
Loading…
Add table
Reference in a new issue