<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/the-importance-of-benchmarks-swmvelr6k" -->

---
title: The importance of benchmarks | daily.dev
description: A frontend performance investigation at Aha! uncovered a sprint report taking 15 minutes to load due to a 1,000-day-long sprint. Profiling revealed two...
canonical: https://daily.dev/posts/the-importance-of-benchmarks-swmvelr6k
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: The importance of benchmarks | daily.dev
og:description: A frontend performance investigation at Aha! uncovered a sprint report taking 15 minutes to load due to a 1,000-day-long sprint. Profiling revealed two...
og:url: https://daily.dev/posts/the-importance-of-benchmarks-swmvelr6k
og:image: https://api.daily.dev/og/posts/swmvelr6k.png
og:image:alt: The importance of benchmarks
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# The importance of benchmarks

**[RUBYLAND](https://daily.dev/sources/rubyla)** · 10 min read · 2 upvotes · 0 comments

## Summary

A frontend performance investigation at Aha! uncovered a sprint report taking 15 minutes to load due to a 1,000-day-long sprint. Profiling revealed two unexpected culprits: lodash's cloneDeep and moment.format, both called repeatedly in hot paths. The team built a benchmarking suite to validate hypotheses, refactored the data structure to skip empty days and reduce memory usage, and replaced the expensive utility calls with explicit, lightweight alternatives. The combined fix achieved a 100x+ performance improvement, reducing parse time from 15 minutes to a fraction of a second.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.aha.io/engineering/articles/the-importance-of-benchmarks>

---

Tags: [#javascript](https://daily.dev/tags/javascript), [#performance](https://daily.dev/tags/performance), [#nodejs](https://daily.dev/tags/nodejs), [#typescript](https://daily.dev/tags/typescript)

[View this post on daily.dev](https://daily.dev/posts/the-importance-of-benchmarks-swmvelr6k)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"The importance of benchmarks","url":"https://daily.dev/posts/the-importance-of-benchmarks-swmvelr6k","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/the-importance-of-benchmarks-swmvelr6k"},"datePublished":"2026-04-13T23:32:06.043Z","dateModified":"2026-04-13T23:33:14.256Z","description":"A frontend performance investigation at Aha! uncovered a sprint report taking 15 minutes to load due to a 1,000-day-long sprint. Profiling revealed two...","image":"https://media.daily.dev/image/upload/s--1KxV4ohY--/f_auto/v1722860400/public/Placeholder%2007","thumbnailUrl":"https://media.daily.dev/image/upload/s--1KxV4ohY--/f_auto/v1722860400/public/Placeholder%2007","isAccessibleForFree":true,"articleSection":"RUBYLAND","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"RUBYLAND","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/rubyla","url":"https://daily.dev/sources/rubyla"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/the-importance-of-benchmarks-swmvelr6k","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"javascript,performance,nodejs,typescript","timeRequired":"PT10M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"RUBYLAND","item":"https://daily.dev/sources/rubyla"},{"@type":"ListItem","position":3,"name":"The importance of benchmarks"}]}
```

