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