DEV Community

Cover image for Introducing bunmark ⚑ the fastest way to benchmark your API.
Freilyn Bernabe
Freilyn Bernabe

Posted on

1

Introducing bunmark ⚑ the fastest way to benchmark your API.

It's minimalist, built with Bun (hello, speed! πŸš€), and has just what you need:

  • Benchmark by request count (-n) or duration (-t).
  • Concurrency control (-c).
  • Full support for methods, headers, query, and body (reads from files with @!).
  • Clean, modern output that's nice to look at. ✨
  • --json option for your cool scripts.

Get started easily:


bash
# Install globally
bun add -g bunmark

# Run your first benchmark
bunmark https://httpbin.org/get
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Billboard image

Try REST API Generation for MS SQL Server.

DreamFactory generates live REST APIs from database schemas with standardized endpoints for tables, views, and procedures in OpenAPI format. We support on-prem deployment with firewall security and include RBAC for secure, granular security controls.

See more!

πŸ‘‹ Kindness is contagious

Engage with a wealth of insights in this thoughtful article, valued within the supportive DEV Community. Coders of every background are welcome to join in and add to our collective wisdom.

A sincere "thank you" often brightens someone’s day. Share your gratitude in the comments below!

On DEV, the act of sharing knowledge eases our journey and fortifies our community ties. Found value in this? A quick thank you to the author can make a significant impact.

Okay