test buffer efficiency