Daniel Imms
eccbc60aa0
Migrate to tsgo
...
Fixes #5689
2026-02-13 06:59:24 -08:00
Daniel Imms
431d511c95
Fix benchmark usage, add instructions
2026-01-31 15:28:11 -08:00
Daniel Imms
042bb4bed9
Optimize Emitter.fire for 0 and 1 listeners
...
Before:
Context "Emitter.fire()"
Context "0 listeners"
Case "#1 " : 1 runs - average throughput: 97.77 MB/s
Context "1 listener"
Case "#1 " : 1 runs - average throughput: 49.30 MB/s
Context "2 listeners"
Case "#1 " : 1 runs - average throughput: 35.37 MB/s
Context "5 listeners"
Case "#1 " : 1 runs - average throughput: 15.32 MB/s
After:
Context "Emitter.fire()"
Context "0 listeners"
Case "#1 " : 1 runs - average throughput: 376.94 MB/s
Context "1 listener"
Case "#1 " : 1 runs - average throughput: 84.29 MB/s
Context "2 listeners"
Case "#1 " : 1 runs - average throughput: 32.36 MB/s
Context "5 listeners"
Case "#1 " : 1 runs - average throughput: 15.93 MB/s
2026-01-31 14:42:23 -08:00
Daniel Imms
1f11c7e46c
Get sources building with esbuild
2024-07-05 08:46:15 -07:00
Daniel Imms
f6c4aee928
Move benchmarks off removed node-pty apis
2023-10-02 11:05:33 -07:00
Daniel Imms
ceef536b79
Upgrade es6 -> es2021
...
This uses the recommended target for node 16 in tsconfig/bases.
Fixes #4706
2023-09-01 07:36:48 -07:00
Simon Lamon
d7d85870d2
remove headless include in benchmark projects
2021-11-20 17:33:38 +00:00
Daniel Imms
d8899b0b5d
Fix eslint errors in test/benchmark
2021-08-12 12:59:22 -07:00
Jörg Breitbart
cc005a274d
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
2021-02-27 20:18:41 +01:00
Jörg Breitbart
0ad9f70645
Merge branch 'master' into async_handlers
2021-01-22 17:49:31 +01:00
Jörg Breitbart
3f659a15da
minor fixes:
...
- better perf for short DCS without params (8 times faster)
- test perf for class and string based interfaces of OSC and DCS
separately
- undo wrong commit on parser
2021-01-21 15:58:03 +01:00
Jörg Breitbart
c50c134e25
simplify parser handler interface:
...
- remove setHandler
- apply boolean return to ESC|CSI|OSC|DCS handlers
(rewrite empty return defaulting to true)
- rename addHandler to registerHandler
2021-01-20 23:03:55 +01:00
Jörg Breitbart
bc1048062d
early version of async support for CSI and ESC handlers
2021-01-20 20:05:14 +01:00
Daniel Imms
bdb438972f
Fix errors in Terminal and elsewhere
...
This was mostly ! to compel TS, we should actually fix this down the road
but that can come later.
2020-04-26 10:44:44 -07:00
Daniel Imms
d085768e8b
Fix some lint issues
2020-04-26 08:23:38 -07:00
Daniel Imms
88a50d3779
Fix most rules
2020-03-28 06:51:36 -07:00
Daniel Imms
51a564eb9c
Remove links to serialize from test/benchmark
2020-02-04 07:45:12 -08:00
javacs3
a4efefbf5e
refactor: serialize-addon, move SerializeAddon.benchmark.ts into addons/xterm-addon-serialize and add README.md
2019-12-31 22:06:19 +08:00
javacs3
903d75e6d3
Refactor
...
1. add 8 secs timeout for SerializeAddon API test
2. move demo page's addons control panel into a single div
3. remove unnecessary config in demo page
4. remove v8-profiler-node8 dependency
5. remove duplicate css option
2019-11-28 22:22:04 +08:00
Daniel Imms
6dda0c2b97
Merge branch 'feat/serialize-addon' into pr/JavaCS3/2369
2019-11-24 10:05:14 -08:00
javacs3
e2df7dc96c
add benchmark for serialize addon
2019-11-21 20:41:48 +08:00
Jörg Breitbart
c2ec16a16c
encapsulate deferred writing in WriteBuffer class
2019-09-13 16:31:28 +02:00
Jörg Breitbart
fe74b5588d
use write callback in benchmark test
2019-09-13 13:11:23 +02:00
Jörg Breitbart
75ba717bd7
merge write methods, optional callback
2019-09-12 13:36:58 +02:00
Jörg Breitbart
1286eb618a
rename to OscHandler and DcsHandler
2019-08-08 19:41:12 +02:00