marcusolsson / tui-go

A UI library for terminal applications.
MIT License
2.1k stars 123 forks source link

FR: Benchmark common (and uncommon) configurations #88

Open cceckman opened 6 years ago

cceckman commented 6 years ago

14 notes some performance issues with re-rendering Labels (since word wrapping is a nontrivial CPU operation).

It would be useful to have some benchmarks that could call out when a chance has a significant impact on performance.

marcusolsson commented 6 years ago

Agreed. I just fired up pprof back then but it makes sense to benchmark operations like Draw and SizeHint.