Notcurses: Difference between revisions

Line 58: Line 58:


==Terminal emulators==
==Terminal emulators==
The two primary environmental factors affecting notcurses are the terminal emulator and the configured fonts.
The two primary environmental factors affecting notcurses performance are the terminal emulator and the configured fonts.


For performance evaluation, I run `notcurses-demo` in each terminal three times. Each terminal is configured to use Inconsolata Medium 12 as its primary font, to 70% opacity (if supported), and run at a 70x80 geometry. I report the average of the three wall clock times, and the three FPS (i.e. frames rendered divided by time spent within <tt>notcurses_render()</tt>) measurements. If DirectColor output could not be rendered, the terminal is reported as a <b>failure</b> (this is perhaps/probably due to my ignorance). Some demos are a fixed number of frames, with a fixed target time. Some are a fixed number of frames, to be rendered as quickly as possible. Some are fixed time, with an intention of rendering as many frames as possible.
For performance evaluation, I run `notcurses-demo` in each terminal three times. Each terminal is configured to use Inconsolata Medium 12 as its primary font, to 70% opacity (if supported), and run at a 70x80 geometry. I report the average of the three wall clock times, and the three FPS (i.e. frames rendered divided by time spent within <tt>notcurses_render()</tt>) measurements. If DirectColor output could not be rendered, the terminal is reported as a <b>failure</b> (this is perhaps/probably due to my ignorance). Some demos are a fixed number of frames, with a fixed target time. Some are a fixed number of frames, to be rendered as quickly as possible. Some are fixed time, with an intention of rendering as many frames as possible.