[chore] remove benchmark (#1489)
This PR removes unused scripts related to benchmarking, and some other unused dependencies. ### Change Type - [x] `internal` — Any other changes that don't affect the published package (will not publish a new version)
This commit is contained in:
parent
3753acf5ce
commit
2992ad85d9
8 changed files with 4 additions and 46 deletions
|
@ -79,7 +79,6 @@
|
|||
"@types/wicg-file-system-access": "^2020.9.5",
|
||||
"benchmark": "^2.1.4",
|
||||
"fake-indexeddb": "^4.0.0",
|
||||
"gzip-size": "^7.0.0",
|
||||
"jest-canvas-mock": "^2.4.0",
|
||||
"jest-environment-jsdom": "^29.4.3",
|
||||
"lazyrepo": "0.0.0-alpha.26",
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
// TODO: enable these two options
|
||||
"noImplicitOverride": false,
|
||||
"noImplicitReturns": false,
|
||||
"types": ["node", "@types/jest", "@types/benchmark"]
|
||||
"types": ["node", "@types/jest"]
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../primitives" },
|
||||
|
|
|
@ -52,7 +52,6 @@
|
|||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"benchmark": "^2.1.4",
|
||||
"lazyrepo": "0.0.0-alpha.26"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -53,7 +53,6 @@
|
|||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"benchmark": "^2.1.4",
|
||||
"lazyrepo": "0.0.0-alpha.26"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
import Benchmark from 'benchmark'
|
||||
import { Box2d } from './Box2d'
|
||||
|
||||
const suites = [
|
||||
new Benchmark('Box2d#corners()', () => {
|
||||
const box = new Box2d(0, 0, 100, 100)
|
||||
box.corners
|
||||
}),
|
||||
new Benchmark('Box2d.ExpandBy()', () => {
|
||||
const box = new Box2d(0, 0, 100, 100)
|
||||
Box2d.ExpandBy(box, 10)
|
||||
}),
|
||||
]
|
||||
export default suites
|
|
@ -58,9 +58,7 @@
|
|||
"@peculiar/webcrypto": "^1.4.0",
|
||||
"@testing-library/jest-dom": "^5.14.1",
|
||||
"@testing-library/react": "^14.0.0",
|
||||
"@types/lz-string": "^1.3.34",
|
||||
"chokidar-cli": "^3.0.0",
|
||||
"gzip-size": "^7.0.0",
|
||||
"jest-canvas-mock": "^2.4.0",
|
||||
"jest-environment-jsdom": "^28.1.2",
|
||||
"lazyrepo": "0.0.0-alpha.26",
|
||||
|
|
|
@ -74,7 +74,6 @@
|
|||
"@testing-library/jest-dom": "^5.14.1",
|
||||
"@testing-library/react": "^12.0.0",
|
||||
"@types/lz-string": "^1.3.34",
|
||||
"gzip-size": "^7.0.0",
|
||||
"jest-canvas-mock": "^2.4.0",
|
||||
"jest-environment-jsdom": "^28.1.2",
|
||||
"lazyrepo": "0.0.0-alpha.26",
|
||||
|
|
|
@ -4351,7 +4351,6 @@ __metadata:
|
|||
escape-string-regexp: ^5.0.0
|
||||
eventemitter3: ^4.0.7
|
||||
fake-indexeddb: ^4.0.0
|
||||
gzip-size: ^7.0.0
|
||||
is-plain-object: ^5.0.0
|
||||
jest-canvas-mock: ^2.4.0
|
||||
jest-environment-jsdom: ^29.4.3
|
||||
|
@ -4386,7 +4385,6 @@ __metadata:
|
|||
version: 0.0.0-use.local
|
||||
resolution: "@tldraw/indices@workspace:packages/indices"
|
||||
dependencies:
|
||||
benchmark: ^2.1.4
|
||||
lazyrepo: 0.0.0-alpha.26
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
@ -4442,7 +4440,6 @@ __metadata:
|
|||
resolution: "@tldraw/primitives@workspace:packages/primitives"
|
||||
dependencies:
|
||||
"@tldraw/tlschema": "workspace:*"
|
||||
benchmark: ^2.1.4
|
||||
lazyrepo: 0.0.0-alpha.26
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
@ -4482,9 +4479,7 @@ __metadata:
|
|||
"@tldraw/polyfills": "workspace:*"
|
||||
"@tldraw/tlsync-client": "workspace:*"
|
||||
"@tldraw/ui": "workspace:*"
|
||||
"@types/lz-string": ^1.3.34
|
||||
chokidar-cli: ^3.0.0
|
||||
gzip-size: ^7.0.0
|
||||
jest-canvas-mock: ^2.4.0
|
||||
jest-environment-jsdom: ^28.1.2
|
||||
lazyrepo: 0.0.0-alpha.26
|
||||
|
@ -4580,7 +4575,6 @@ __metadata:
|
|||
"@types/lz-string": ^1.3.34
|
||||
browser-fs-access: ^0.31.0
|
||||
classnames: ^2.3.2
|
||||
gzip-size: ^7.0.0
|
||||
hotkeys-js: ^3.9.4
|
||||
idb: ^7.1.1
|
||||
jest-canvas-mock: ^2.4.0
|
||||
|
@ -7857,13 +7851,6 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"duplexer@npm:^0.1.2":
|
||||
version: 0.1.2
|
||||
resolution: "duplexer@npm:0.1.2"
|
||||
checksum: 62ba61a830c56801db28ff6305c7d289b6dc9f859054e8c982abd8ee0b0a14d2e9a8e7d086ffee12e868d43e2bbe8a964be55ddbd8c8957714c87373c7a4f9b0
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"duplexify@npm:^3.5.0, duplexify@npm:^3.6.0":
|
||||
version: 3.7.1
|
||||
resolution: "duplexify@npm:3.7.1"
|
||||
|
@ -10274,15 +10261,6 @@ __metadata:
|
|||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"gzip-size@npm:^7.0.0":
|
||||
version: 7.0.0
|
||||
resolution: "gzip-size@npm:7.0.0"
|
||||
dependencies:
|
||||
duplexer: ^0.1.2
|
||||
checksum: 52d0bf586307082428b99f7b04d56d756d640e1f84d4a56debf9fb8c972d9db679143b067dd4024ebef42e9f6787e9dc8b9dcad344372b9dc87e55d942276f49
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"has-bigints@npm:^1.0.1, has-bigints@npm:^1.0.2":
|
||||
version: 1.0.2
|
||||
resolution: "has-bigints@npm:1.0.2"
|
||||
|
@ -18379,9 +18357,9 @@ __metadata:
|
|||
linkType: hard
|
||||
|
||||
"which-module@npm:^2.0.0":
|
||||
version: 2.0.0
|
||||
resolution: "which-module@npm:2.0.0"
|
||||
checksum: 809f7fd3dfcb2cdbe0180b60d68100c88785084f8f9492b0998c051d7a8efe56784492609d3f09ac161635b78ea29219eb1418a98c15ce87d085bce905705c9c
|
||||
version: 2.0.1
|
||||
resolution: "which-module@npm:2.0.1"
|
||||
checksum: 1967b7ce17a2485544a4fdd9063599f0f773959cca24176dbe8f405e55472d748b7c549cd7920ff6abb8f1ab7db0b0f1b36de1a21c57a8ff741f4f1e792c52be
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
|
Loading…
Reference in a new issue