diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-22 08:46:55 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-22 08:55:14 +0200 |
commit | 13e13377918b65c30b9334920fef4b43e70b964e (patch) | |
tree | a2e01e845d32663cbf4dbe1fd4be7f3fcf4244db /scripts/benchmark.ts | |
parent | 7c94e1e7b61e9d3cff4a98a90bbad8d85bfc145d (diff) | |
download | PeerTube-13e13377918b65c30b9334920fef4b43e70b964e.tar.gz PeerTube-13e13377918b65c30b9334920fef4b43e70b964e.tar.zst PeerTube-13e13377918b65c30b9334920fef4b43e70b964e.zip |
Speed up plugin transcoding tests
Diffstat (limited to 'scripts/benchmark.ts')
-rw-r--r-- | scripts/benchmark.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/benchmark.ts b/scripts/benchmark.ts index 83b932909..5dcf9b01b 100644 --- a/scripts/benchmark.ts +++ b/scripts/benchmark.ts | |||
@@ -1,10 +1,10 @@ | |||
1 | import { registerTSPaths } from '../server/helpers/register-ts-paths' | ||
2 | registerTSPaths() | ||
3 | |||
1 | import * as autocannon from 'autocannon' | 4 | import * as autocannon from 'autocannon' |
2 | import { writeJson } from 'fs-extra' | 5 | import { writeJson } from 'fs-extra' |
3 | import { createSingleServer, killallServers, PeerTubeServer, setAccessTokensToServers } from '@shared/extra-utils' | 6 | import { createSingleServer, killallServers, PeerTubeServer, setAccessTokensToServers } from '@shared/extra-utils' |
4 | import { Video, VideoPrivacy } from '@shared/models' | 7 | import { Video, VideoPrivacy } from '@shared/models' |
5 | import { registerTSPaths } from '../server/helpers/register-ts-paths' | ||
6 | |||
7 | registerTSPaths() | ||
8 | 8 | ||
9 | let server: PeerTubeServer | 9 | let server: PeerTubeServer |
10 | let video: Video | 10 | let video: Video |