Attabench is a microbenchmarking app for macOS, designed to measure and visualize the performance of Swift code.

Source: lorentey/Attabench: Microbenchmarking app for Swift with nice log-log plots