diff --git a/src/Terminal.benchmark.ts b/src/Terminal.benchmark.ts index fafd85cf..650ed655 100644 --- a/src/Terminal.benchmark.ts +++ b/src/Terminal.benchmark.ts @@ -1,8 +1,13 @@ +/** + * Copyright (c) 2019 The xterm.js authors. All rights reserved. + * @license MIT + */ + import { perfContext, before, ThroughputRuntimeCase } from 'xterm-benchmark'; import { Terminal } from 'Terminal'; import { spawn } from 'node-pty'; -import { Utf8ToUtf32, stringFromCodePoint } from '../out/core/input/TextDecoder'; +import { Utf8ToUtf32, stringFromCodePoint } from 'core/input/TextDecoder'; class TestTerminal extends Terminal { @@ -23,7 +28,7 @@ perfContext('Terminal: ls -lR /usr', () => { before(async () => { // grab output from "ls -lR /usr" const p = spawn('ls', ['--color=auto', '-lR', '/usr'], { - name: 'xterm-color', + name: 'xterm-256color', cols: 80, rows: 25, cwd: process.env.HOME, diff --git a/src/core/parser/EscapeSequenceParser.benchmark.ts b/src/core/parser/EscapeSequenceParser.benchmark.ts index 3680f60c..392774dd 100644 --- a/src/core/parser/EscapeSequenceParser.benchmark.ts +++ b/src/core/parser/EscapeSequenceParser.benchmark.ts @@ -1,3 +1,7 @@ +/** + * Copyright (c) 2019 The xterm.js authors. All rights reserved. + * @license MIT + */ import { perfContext, before, beforeEach, ThroughputRuntimeCase } from 'xterm-benchmark'; import { EscapeSequenceParser } from 'core/parser/EscapeSequenceParser';