Benchmark: Aspirational

Natarajan Santhosh
2 min readFeb 23, 2023

--

Benchmarking typically involves comparing the performance of two or more programs that do the same thing. Sometimes this might involve comparing two or more different programs, e.g. Firefox vs Safari vs Chrome.

Memory — https://samwho.dev/memory-allocation/

Sometimes it involves comparing two different versions of the same program. This latter case lets us reliably answer the question “did this change speed things up?”

Good benchmarking is hard. Having said that, do not stress too much about having a perfect benchmarking setup, particularly when you start optimizing a program. A mediocre setup is far better than no setup. Keep an open mind about what you are measuring, and over time you can make benchmarking improvements as you learn about the performance characteristics of your program.

Microbenchmarking

Live benchmark

https://depot.dev/

TechEmpower benchmarks web frameworks

some tools to create load

Monitoring

CPU, memory, network access, disk usage, performance of downstream dependencies, throughput

--

--

No responses yet