test/ring: add custom element size performance tests