SwiftTerm
SwiftTerm copied to clipboard
Performance
trafficstars
Currently about 12% of our performance when outputting characters is being consumed by swift_beginAccess when the insertCharacter accesses the buffer properties, and then when the buffer itself accesses
Purely for the insertCharacter call, this accounts for 43.2% and retain/release for another 12%
Started at throughput 94,983, the way I measure this is by using the "Profile" option on the PerformanceTest class, like this:
Branch is 'performance-experiment'
All my measurements are on a 2021 MacBook Pro with an M1 Max.
- [x] Validate that the syncValues in terminal for some variables were only needed when going from alt to normal, and not on the other way around (what the code in this branch does).