aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/benchmark.ts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/benchmark.ts')
-rw-r--r--scripts/benchmark.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/benchmark.ts b/scripts/benchmark.ts
index 788318313..3c3c666a1 100644
--- a/scripts/benchmark.ts
+++ b/scripts/benchmark.ts
@@ -1,10 +1,7 @@
1import { registerTSPaths } from '../server/helpers/register-ts-paths'
2registerTSPaths()
3
4import autocannon, { printResult } from 'autocannon' 1import autocannon, { printResult } from 'autocannon'
5import { writeJson } from 'fs-extra' 2import { writeJson } from 'fs-extra'
6import { createSingleServer, killallServers, PeerTubeServer, setAccessTokensToServers } from '@shared/extra-utils'
7import { Video, VideoPrivacy } from '@shared/models' 3import { Video, VideoPrivacy } from '@shared/models'
4import { createSingleServer, killallServers, PeerTubeServer, setAccessTokensToServers } from '@shared/server-commands'
8 5
9let server: PeerTubeServer 6let server: PeerTubeServer
10let video: Video 7let video: Video