Skip to content

Commit 6a64de2

Browse files
committed
fixup! deps: update ada to 4.0.0
1 parent 50ee90f commit 6a64de2

7 files changed

Lines changed: 25 additions & 5 deletions

File tree

‎benchmark/url/legacy-url-get-prop.js‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ const assert = require('assert');
66
const bench = common.createBenchmark(main, {
77
type: common.urlDataTypes,
88
e: [1],
9+
}, {
10+
test: {
11+
type: 'short',
12+
},
913
});
1014

1115
function main({ type, e }) {

‎benchmark/url/legacy-url-parse.js‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ const assert = require('assert');
66
const bench = common.createBenchmark(main, {
77
type: common.urlDataTypes,
88
e: [1],
9+
}, {
10+
test: {
11+
type: 'short',
12+
},
913
});
1014

1115
function main({ e, type }) {

‎benchmark/url/legacy-vs-whatwg-url-serialize.js‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ const bench = common.createBenchmark(main, {
88
type: common.urlDataTypes,
99
method: ['legacy', 'whatwg'],
1010
e: [1],
11+
}, {
12+
test: {
13+
type: 'short',
14+
},
1115
});
1216

1317
function useLegacy(data) {

‎benchmark/url/whatwg-url-get-prop.js‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ const assert = require('assert');
77
const bench = common.createBenchmark(main, {
88
type: common.urlDataTypes,
99
e: [1],
10+
}, {
11+
test: {
12+
type: 'short',
13+
},
1014
});
1115

1216
function main({ type, e }) {

‎benchmark/url/whatwg-url-parse.js‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ const bench = common.createBenchmark(main, {
88
withBase: ['true', 'false'],
99
type: common.urlDataTypes,
1010
e: [1],
11+
}, {
12+
test: {
13+
type: 'short',
14+
},
1115
});
1216

1317
function useWHATWGWithBase(data) {

‎benchmark/url/whatwg-url-properties.js‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ const bench = common.createBenchmark(main, {
88
prop: ['href', 'origin', 'protocol',
99
'username', 'password', 'host', 'hostname', 'port',
1010
'pathname', 'search', 'searchParams', 'hash'],
11+
}, {
12+
test: {
13+
type: 'short',
14+
},
1115
});
1216

1317
function setAndGet(data, prop) {

‎test/benchmark/test-benchmark-url.js‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
'use strict';
22

3-
const { skip } = require('../common');
4-
5-
if (process.config.variables.node_shared_ada) {
6-
skip('WHATWG URL parsing is affected by different versions of Ada');
7-
}
3+
require('../common');
84

95
const runBenchmark = require('../common/benchmark');
106

0 commit comments

Comments
 (0)