Attabench is a microbenchmarking app for macOS, designed to measure and visualize the performance of Swift code. This app is for microbenchmarking low-level algorithms with one degree of freedom (usually size). It works by repeatedly performing the same operation on random data of various sizes, while continuously charting the results in nice plots. Attabench's default log-log plots are ideal for seeing your algorithm's performance at a glance. Attabench was originally created to supply nice log-log charts for my dotSwift 2017 talk and Optimizing Collections book. At the time, it seemed easier to build a custom chart renderer from scratch using Core Graphics than to mess with a bunch of CSV files and pivot tables in Excel. (It has to be noted though that this opinion has been somewhat weakened during the implementation process.)

Features

  • Attabench has two document formats
  • Examples available
  • Documentation available
  • Simple example benchmark with just three tasks
  • Control What Gets Measured
  • Change How Data Gets Displayed
  • Get Chart Images Out of Attabench
  • Create Your Own Benchmarks

Project Samples

Project Activity

See All Activity >

Categories

System

License

MIT License

Follow Attabench

Attabench Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Attabench!

Additional Project Details

Operating Systems

Mac

Programming Language

Swift

Related Categories

Swift System Software

Registered

2024-08-29