benchmark and cleanup