Skip to content

Commit 6af6647

Browse files
committed
extract benchmark into own folder
1 parent cfbe8cf commit 6af6647

3 files changed

Lines changed: 18 additions & 2 deletions

File tree

benchmark.mjs renamed to benchmark/benchmark.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Bench } from 'tinybench'
2-
import { fastUri } from './index.js'
2+
import { fastUri } from '../index.js'
33
import { parse as uriJsParse, serialize as uriJsSerialize, resolve as uriJsResolve } from 'uri-js'
44

55
const base = 'uri://a/b/c/d;p?q'

benchmark/package.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"name": "benchmark",
3+
"version": "1.0.0",
4+
"description": "",
5+
"main": "index.js",
6+
"private": true,
7+
"scripts": {
8+
"bench": "node benchmark.mjs"
9+
},
10+
"keywords": [],
11+
"author": "",
12+
"license": "ISC",
13+
"dependencies": {
14+
"tinybench": "^5.0.0",
15+
"uri-js": "^4.4.1"
16+
}
17+
}

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
"eslint": "^9.17.0",
6161
"neostandard": "^0.12.0",
6262
"tape": "^5.8.1",
63-
"tinybench": "^5.0.0",
6463
"tsd": "^0.32.0"
6564
}
6665
}

0 commit comments

Comments
 (0)