Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] committed Apr 10, 2024
1 parent ea61756 commit 656968f
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions bench/snippets/url.mjs
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
import { bench, run } from "./runner.mjs";


bench(`new URL('https://example.com/')`, () => {
const url = new URL('https://example.com/')
})
const url = new URL("https://example.com/");
});

bench(`new URL('https://example.com')`, () => {
const url = new URL('https://example.com')
})
const url = new URL("https://example.com");
});

bench(`new URL('https://www.example.com')`, () => {
const url = new URL('https://www.example.com')
})
const url = new URL("https://www.example.com");
});

bench(`new URL('https://www.example.com/')`, () => {
const url = new URL('https://www.example.com/')
})
const url = new URL("https://www.example.com/");
});

await run()
await run();

0 comments on commit 656968f

Please sign in to comment.