terminaltexteffects icon indicating copy to clipboard operation
terminaltexteffects copied to clipboard

Expected relation between text size and time to run animation?

Open adavies42 opened this issue 1 year ago • 2 comments

I've been testing the "waves" effect, and noticed it seems to slow down significantly as the text gets bigger. On a 26x67 text similar to the one you use in the showroom, time tte waves takes 12 seconds; when I copy its contents to make a 52x139 text, it takes 46.5 seconds, or about 4x longer. 26x139 and 52x67 versions both took the original 12 seconds though.

Is this expected?

adavies42 avatar May 31 '24 22:05 adavies42

Based on some preliminary profiling, there may be something going on with this particular effect that is resulting in especially poor performance as the dimensions increase. I'll dig into it when I get the opportunity as it will likely improve performance across the library. Thanks.

ChrisBuilds avatar Jun 01 '24 02:06 ChrisBuilds

This is the case for all the effects, I think?

utf128 avatar Jun 04 '24 04:06 utf128