-
Notifications
You must be signed in to change notification settings - Fork 244
/
Copy pathnextjs.benchmarks.yml
55 lines (50 loc) · 1.47 KB
/
nextjs.benchmarks.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
imports:
- https://raw.githubusercontent.com/dotnet/crank/main/src/Microsoft.Crank.Jobs.Wrk/wrk.yml
- https://github.com/aspnet/Benchmarks/blob/main/scenarios/aspnet.profiles.standard.yml?raw=true
variables:
serverPort: 5000
jobs:
nextjs:
source:
repository: https://github.com/aspnet/benchmarks.git
branchOrCommit: main
dockerFile: src/BenchmarksApps/TechEmpower/nextjs/Dockerfile
dockerImageName: nextjsfortunes_te
dockerContextDirectory: src/BenchmarksApps/TechEmpower/nextjs
readyStateText: All workers listening.
variables:
serverScheme: http
environmentVariables:
HOSTNAME: "{{serverAddress}}"
PORT: "{{serverPort}}"
DB_HOST: "{{databaseServer}}"
postgresql:
source:
repository: https://github.com/TechEmpower/FrameworkBenchmarks.git
branchOrCommit: master
dockerFile: toolset/databases/postgres/postgres.dockerfile
dockerImageName: postgres_te
dockerContextDirectory: toolset/databases/postgres
readyStateText: ready to accept connections
noClean: true
scenarios:
fortunes:
db:
job: postgresql
application:
job: nextjs
load:
job: wrk
variables:
presetHeaders: html
path: /fortunes
profiles:
# this profile uses the local folder as the source
# instead of the public repository
source:
agents:
main:
source:
localFolder: .
respository: ''
dockerFile: Dockerfile