Commit Graph
13377 Commits
Author SHA1 Message Date
Kovid Goyal e5b27d066c Output macOS crash reports on CI with nicer formatting 2024-02-25 09:57:37 +05:30
Kovid Goyal 8762a939c0 Dont specify arch/tune when building universal binary 2024-02-25 09:57:37 +05:30
Kovid Goyal 06da31019c Micro-optimize clearing of lines
Use a doubling strategy to memset arrays to a fixed value. Makes the
memset O(log(N)) from O(N) in number of calls to memcpy.
2024-02-25 09:57:37 +05:30
Kovid Goyal d0621cb82a Better ipd crash report printing 2024-02-25 09:57:37 +05:30
Kovid Goyal 9935b5ddb2 ... 2024-02-25 09:57:37 +05:30
Kovid Goyal 49d664bb0d Fix incorrect line mapping when clearing screen using optimized code 2024-02-25 09:57:37 +05:30
Kovid Goyal c6c0d0ed60 Sleep for a minute in the hope that macOS crash log will become available 2024-02-25 09:57:37 +05:30
Kovid Goyal 6f74d1b0c1 ... 2024-02-25 09:57:36 +05:30
Kovid Goyal 5eb852532f Use coredumpctl on Linux CI 2024-02-25 09:57:36 +05:30
Kovid Goyal 43e0281ab5 No ulimit on Linux CI 2024-02-25 09:57:36 +05:30
Kovid Goyal 99d1eec021 ... 2024-02-25 09:57:36 +05:30
Kovid Goyal 0a158f3577 More attempts at finding a core dump on macOS 2024-02-25 09:57:36 +05:30
Kovid Goyal 89c431a624 Optimize implementation of clear screen escape code 2024-02-25 09:57:36 +05:30
Kovid Goyal b48b70aedf Speed up CSI benchmark by another 10% 2024-02-25 09:57:36 +05:30
Kovid Goyal f105bc5f4e ... 2024-02-25 09:57:36 +05:30
Kovid Goyal d5fae07ab7 More help text for the benchmark kitten 2024-02-25 09:57:36 +05:30
Kovid Goyal 58dbcf0840 ... 2024-02-25 09:57:36 +05:30
Kovid Goyal 0340c3c8f7 Ensure CSI state reset at end of test 2024-02-25 09:57:36 +05:30
Kovid Goyal d8a53fbafd Retry on temp errors when reading from terminal 2024-02-25 09:57:36 +05:30
Kovid Goyal b237e1b99f ... 2024-02-25 09:57:36 +05:30
Kovid Goyal 43f64f71e4 DRYer 2024-02-25 09:57:36 +05:30
Kovid Goyal ceac074dad Try to print the Apple crash report on test run failure 2024-02-25 09:57:36 +05:30
Kovid Goyal 903dd26a08 Sadly -march=x86-64-v2 is not the culprit for the intermittent SIGILL in macOS CI 2024-02-25 09:57:36 +05:30
Kovid Goyal f0efb1cb19 Also clear screen at end of each loop when rendering 2024-02-25 09:57:35 +05:30
Kovid Goyal 4eb49b3320 Simplify benchmark kitten
On macOS reading from the same tty device file as we are writing too in
another thread gives continuous EAGAIN errors. We dont actually need
simultaneous read/write, so move the reads to the end.
2024-02-25 09:57:35 +05:30
Kovid Goyal 0fcb055246 tty: retry on temporary read errors 2024-02-25 09:57:35 +05:30
Kovid Goyal 61a89a14b6 Ignore temporary write failures in benchmark kitten 2024-02-25 09:57:35 +05:30
Kovid Goyal 4fbb70d89e Explain the purpose of the CSI column 2024-02-25 09:57:35 +05:30
Kovid Goyal 5c3e54dede Note that konsole and xterm dont support synchronized update 2024-02-25 09:57:35 +05:30
Kovid Goyal 5721b1315e ... 2024-02-25 09:57:35 +05:30
Kovid Goyal 85fcac2a61 Add throughput performance numbers 2024-02-25 09:57:35 +05:30
Kovid Goyal 8d01a42db1 Make the default number of repetitions for benchmark 100 2024-02-25 09:57:35 +05:30
Kovid Goyal 0e4c49a0d6 Fix building on macOS ARM 2024-02-25 09:57:35 +05:30
Kovid Goyal a9111f9a40 Try disabling x86-64-v2 on macOS 2024-02-25 09:57:35 +05:30
Kovid Goyal 616fcfd201 More tests 2024-02-25 09:57:35 +05:30
Kovid Goyal b3ca5d51fb Use the new SIMD utf-8 decoder 2024-02-25 09:57:35 +05:30
Kovid Goyal e783eccc97 fix handling of bits from high byte of 4 byte sequences 2024-02-25 09:57:35 +05:30
Kovid Goyal c98b9403ac Dynamically allocated parser state should be 64 byte aligned as well 2024-02-25 09:57:35 +05:30
Kovid Goyal 7e6459a5e4 DRYer 2024-02-25 09:57:35 +05:30
Kovid Goyal 67d22b0ec6 Avoid multiple branches for checking for trailing sequence 2024-02-25 09:57:34 +05:30
Kovid Goyal 79f99bb3ad Make print_register useable without full debug 2024-02-25 09:57:34 +05:30
Kovid Goyal fa3579656b More invalid utf-8 tests 2024-02-25 09:57:34 +05:30
Kovid Goyal 8a10fcaf5a More tests 2024-02-25 09:57:34 +05:30
Kovid Goyal 4c8b8caead Handle trailing incomplete sequences 2024-02-25 09:57:34 +05:30
Kovid Goyal 4238fedee7 More tests 2024-02-25 09:57:34 +05:30
Kovid Goyal b0dcdf74bd More tests and micro-optimize switch to ASCII fast path 2024-02-25 09:57:34 +05:30
Kovid Goyal a63d62fb4e ... 2024-02-25 09:57:34 +05:30
Kovid Goyal 8dbb0cff6f Dont call __builtin_ctz with zero 2024-02-25 09:57:34 +05:30
Kovid Goyal 07bba337f5 fix various bugs in AVX2 utility functions 2024-02-25 09:57:34 +05:30
Kovid Goyal b28fbf6817 fix zero-ing of last n bytes 2024-02-25 09:57:34 +05:30