# Automated Performance Testing

**URL:** https://clojureverse.org/t/automated-performance-testing/10087
**Category:** How to?
**Tags:** performance, clojure, testing
**Created:** [May 29, 2023, 2:12pm UTC](https://clojureverse.org/t/automated-performance-testing/10087 "2023-05-29T14:12:58Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![NoahTheDuke](https://clojureverse.org/user_avatar/clojureverse.org/noahtheduke/32/4433_2.png) [@NoahTheDuke](https://clojureverse.org/u/NoahTheDuke)
#### Post date: [May 29, 2023, 2:12pm UTC](https://clojureverse.org/t/automated-performance-testing/10087/1 "2023-05-29T14:12:58Z")

</div>

I sometimes find myself wondering if I’ve regressed in performance when working on a piece of code. I can use [Tufte](https://github.com/ptaoussanis/tufte) or [Criterium](https://github.com/hugoduncan/criterium) to test from the repl or in a manually run and verified across time script, but it would be nice to have something to include in my automated tests that is indifferent to changes in architecture. For example, my MacBook runs differently than both my Dell running Linux and CI pipelines.

Does such a tool exist for Clojure?

---

<div class="post-metadata">

### Author: ![Linus\_Ericsson](https://clojureverse.org/user_avatar/clojureverse.org/linus_ericsson/32/1303_2.png) [@Linus\_Ericsson](https://clojureverse.org/u/Linus_Ericsson)
#### Post date: [June 7, 2023, 3:59pm UTC](https://clojureverse.org/t/automated-performance-testing/10087/2 "2023-06-07T15:59:28Z")

</div>

I really see the need but have not seen a general clojure-solution just yet. Maybe [clojure-web-server-benchmarks](https://github.com/ptaoussanis/clojure-web-server-benchmarks) does something similar?

I think the main problem here is to define a “gold standard” for each architecture for each source code version, and store this result for each test-run, to be able to inform/warn/cancel the build pipeline when the measured performance changes drastically.

I realize now that some similar solution for storing test results would also be helpful when it comes to comparing HTML output, or pixel-comparisions from, for instance, websites or other UI:s.

---

<div class="post-metadata">

### Author: ![system](https://clojureverse.org/uploads/default/original/2X/5/51079bf9e4b7d9466242c06cf1e43b9f8bd6da14.png) [@system](https://clojureverse.org/u/system)
#### Post date: [December 7, 2023, 4:00am UTC](https://clojureverse.org/t/automated-performance-testing/10087/3 "2023-12-07T04:00:03Z")

</div>

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
