Refactoring Nucleo benchmarks.