mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
multiple changes:
- reorder exception throwing to be sync to band position - document WriteBuffer._innerWrite - remove any declarations - remove conditional assigments - use faster return value branching in all parsers - remove dead code in benchmark
This commit is contained in:
@@ -44,28 +44,6 @@ perfContext('Terminal: ls -lR /usr/lib', () => {
|
||||
}
|
||||
});
|
||||
|
||||
// perfContext('write/string/sync', () => {
|
||||
// let terminal: Terminal;
|
||||
// before(() => {
|
||||
// terminal = new Terminal({cols: 80, rows: 25, scrollback: 1000});
|
||||
// });
|
||||
// new ThroughputRuntimeCase('', () => {
|
||||
// terminal.writeSync(content);
|
||||
// return {payloadSize: contentUtf8.length};
|
||||
// }, {fork: false}).showAverageThroughput();
|
||||
// });
|
||||
//
|
||||
// perfContext('write/Utf8/sync', () => {
|
||||
// let terminal: Terminal;
|
||||
// before(() => {
|
||||
// terminal = new Terminal({cols: 80, rows: 25, scrollback: 1000});
|
||||
// });
|
||||
// new ThroughputRuntimeCase('', () => {
|
||||
// terminal.writeSync(content);
|
||||
// return {payloadSize: contentUtf8.length};
|
||||
// }, {fork: false}).showAverageThroughput();
|
||||
// });
|
||||
|
||||
perfContext('write/string/async', () => {
|
||||
let terminal: Terminal;
|
||||
before(() => {
|
||||
|
||||
Reference in New Issue
Block a user