added memory benchmark