From b559a5a39b0c612d3c556c55d6da40f8258b346b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Breitbart?= Date: Sun, 9 Jun 2019 22:23:15 +0200 Subject: [PATCH] lower resources needed for test --- azure-pipelines.yml | 4 ++-- benchmarks/Terminal.benchmark.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index cb04f785..af4160b2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -83,7 +83,7 @@ jobs: yarn test-api --headless displayName: 'Integration tests' -- job: BenchmarkTests +- job: Benchmarks pool: vmImage: 'ubuntu-16.04' steps: @@ -100,7 +100,7 @@ jobs: displayName: 'Install dependencies and build' - script: | yarn benchmark-baseline - displayName: 'Benchmark tests' + displayName: 'Benchmarks' - job: Release dependsOn: diff --git a/benchmarks/Terminal.benchmark.ts b/benchmarks/Terminal.benchmark.ts index 996c9985..a0b8fd29 100644 --- a/benchmarks/Terminal.benchmark.ts +++ b/benchmarks/Terminal.benchmark.ts @@ -20,13 +20,13 @@ class TestTerminal extends Terminal { } } -perfContext('Terminal: ls -lR /usr', () => { +perfContext('Terminal: ls -lR /usr/lib', () => { let content = ''; let contentUtf8: Uint8Array; before(async () => { // grab output from "ls -lR /usr" - const p = spawn('ls', ['--color=auto', '-lR', '/usr'], { + const p = spawn('ls', ['--color=auto', '-lR', '/usr/lib'], { name: 'xterm-256color', cols: 80, rows: 25,