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

Other Useful Business Software
$300 in Free Credit Towards Top Cloud Services Icon
$300 in Free Credit Towards Top Cloud Services

Build VMs, containers, AI, databases, storage—all in one place.

Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale.
Get Started
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