Skip to content

Commit

Permalink
test: update js benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
xusd320 committed Jul 19, 2024
1 parent 698091d commit afdebaa
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion benchmark/cheerio-htmlparser2.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ export default function cheerio() {
return new Promise((res) => {
var bench = benchmark(function (html, callback) {
const $ = load(html, { xml: true });
$("body").html();
callback();
});

Expand Down
1 change: 0 additions & 1 deletion benchmark/cheerio.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ export default function cheerio() {
return new Promise((res) => {
var bench = benchmark(function (html, callback) {
const $ = load(html);
$("body").html();
callback();
});

Expand Down
1 change: 0 additions & 1 deletion benchmark/niddle.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ export default function cheerio() {
return new Promise((res) => {
var bench = benchmark(function (html, callback) {
const $ = niddle.parse(html);
$.select("body").outerHtml();
callback();
});

Expand Down

0 comments on commit afdebaa

Please sign in to comment.