NAME

Memory Mapped versus File Handle test

DESCRIPTION

Tests the framebuffer device to see whether memory mapped string mode or direct file handle mode is faster for the specific device.

Usually memory mapped mode is faster, but SOME TFT modules with SPI interfaces are considersably faster in file handle mode.

SYNOPSIS

perl mmapvsfile.pl [device number]

OPTION

device number

The framebuffer device number to use (default 0)

Example

    perl mmapvsfile.pl 1