def METHOD_NAME(self):
    """Measure performance with batch_size=512."""
    batch_size = 512
    metrics, wall_time, extras = benchmark_util.measure_performance(
        self._build_model,
        x=self.x_train,
        y=self.y_train,
        batch_size=batch_size,
        epochs=self.epochs,
        optimizer="adam",
        loss="categorical_crossentropy",
        metrics=["accuracy"],
    )
    metadata = benchmark_util.get_keras_examples_metadata("mlp", batch_size)
    extras.update(metadata)
    self.report_benchmark(
        wall_time=wall_time, metrics=metrics, extras=extras
    )